Joined: 12 Jun 2006
|Posted: Thu Feb 04, 2010 5:45 pm Post subject: chroot/jailed user passwd change capability?
I currently run a gentoo server where user login and are chroot'ed/jailed to their own home directory/environment.
I would like give these user's the ability to change their password ... anybody know how this can be done.
I've currently copied over the passwd command to the chroot etc folder .. and a few other libraries namely:
libuser.so.1, pw_dict.pwd, pw_dict.pwi.
When I log into the server as a tester user, I am chrooted into the users environemnt .. later when I attempt to run:
|prompt$ Changing password for user testuser
Changing password for testuser
(current) UNIX password:
New UNIX password:
Retype new UNIX password:
passwd: Authentication token manipulation error
Anybody have any ideas what could be causing the "passwd: Authentication token manipulation error"
success is the ability to go from one failure to the next without any loss of enthusiasm