|
From: | Daniel Rossi |
Subject: | [Jailkit-users] Some problems with home directories and users with same user id |
Date: | Sat, 7 Jun 2008 13:11:11 +1000 |
The issue I am having is logback sees the logged in user as the parent user web1 so is trying to login to it's home directory not the logged in users directory. The other issue I had is i also have to chroot the home of web1 so both users have to be chrooted ie /path/to/site/./home/ web1 and /path/to/site/./home/testuser. Ive also had to add flags into the ini config to disable user and group checks or else it wont login the user because its trying to impersonate web1 not the logged in user.
The other issue i found is if i add another user to the chroot say testuser2 , at the bash prompt it thinks testuser2 is testuser1.
Any ideas how to correct this ?I would also like to look into customising bash prompts and welcome login messages assuming the home directory thing is fixed. Is there some helper script to do that for you.
[Prev in Thread] | Current Thread | [Next in Thread] |