Welcome to the most active Linux Forum on the web.
Go Back > Forums > Linux Forums > Linux - Software
User Name
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.


  Search this Thread
Old 04-14-2005, 05:27 AM   #1
LQ Newbie
Registered: Mar 2005
Location: mlps
Distribution: slackware, openbsd
Posts: 3

Rep: Reputation: 0
using passwd as a chroot'ed user - help!

I have a certain set of users chrooted into their own little directory, lets call it /jail Now I have basic things set up in /jail/bin like cp, mv, etc. and some other stuff in other places like mc. Logging in via ssh works great, same with sftp - all that is fine - but how do I go about letting users change their password with the passwd command? I've asked some of my friends and none of them seem to know. Do you folks have any ideas?
Old 04-14-2005, 06:22 AM   #2
Registered: Mar 2005
Posts: 126

Rep: Reputation: 15
Some features are disabled in a chroot:ed environment, even for root. I don't remember exactly what (I think this can be configured in the kernel), check the man pages and/or kernel docs. Writing to files not visible to the chrooted user is probably one such feature.
I have seen similar problems solved by the use of password servers and third party "change password"-tools.

Last edited by rpz; 04-14-2005 at 06:24 AM.


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
passwd: User not known to the underlying authentication module tinaa Linux - General 2 05-18-2008 10:54 AM
Ftp user /passwd apenguinlinux Linux - Security 3 02-04-2005 04:06 AM
RHEL3 user passwd help mufy Red Hat 1 01-28-2005 06:08 AM
Disable passwd change for user account sodhilogin Linux - General 6 09-01-2004 12:43 AM
user can change passwd kelper Linux - Software 3 08-28-2003 04:17 AM > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 03:40 AM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration