Linux - Security This forum is for all security related questions.
Questions, tips, system compromises, firewalls, etc. are all included here. |
Notices |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
 |
07-15-2005, 11:41 PM
|
#1
|
Senior Member
Registered: May 2004
Location: In the DC 'burbs
Distribution: Arch, Scientific Linux, Debian, Ubuntu
Posts: 4,290
|
chrooted users changing their passwords
Hi All--
I have a system on which I've successfully chrooted a number of users. However, since the users are chrooted, they obviously don't have access to the /etc directory (the real one) to change their passwords if need be. I want users to be able to do this. Has anyone else set up a system that allows this? I was thinking of just writing a custom "password change daemon" that could handle password change requests for chrooted users, but was wondering if anyone has a more elegant solution.
|
|
|
07-16-2005, 01:33 AM
|
#2
|
LQ Newbie
Registered: Jan 2005
Posts: 8
Rep:
|
Let the users update a local (chroot) /etc/passwd and /etc/shadow then set up a script to move the single line for the users ID from the local /etc/shadow file to the real /etc/shadow. The only downside is the real password update will be delayed, so the user may need to use the old password until the update run.
|
|
|
07-16-2005, 01:08 PM
|
#3
|
Senior Member
Registered: May 2004
Location: In the DC 'burbs
Distribution: Arch, Scientific Linux, Debian, Ubuntu
Posts: 4,290
Original Poster
|
Yeah -- this was more or less what I was thinking, but I wanted to be sure there wasn't a better way. Thanks!
|
|
|
All times are GMT -5. The time now is 05:27 PM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|