Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
chroot/jailed user passwd change capability?
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Other Things Gentoo
View previous topic :: View next topic  
Author Message
NiceGuy
Guru
Guru


Joined: 12 Jun 2006
Posts: 451
Location: Canada

PostPosted: Thu Feb 04, 2010 5:45 pm    Post subject: chroot/jailed user passwd change capability? Reply with quote

Hi community,

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:

Code:
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"
Thanks
_________________
success is the ability to go from one failure to the next without any loss of enthusiasm
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Other Things Gentoo All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum