Linux - NewbieThis Linux forum is for members that are new to Linux.
Just starting out and have a question?
If it is not in the man pages or the how-to's this is the place!
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.
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.
I created several user accounts on a remote LAMP server running fedora core 10. Users logon using ssh. Their accounts have been preset with a password and they need to change that password when they first log into the server. passwd is in the /usr/bin directory with rwxr-xr-x privileges. Users try to use passwd to change their passwod and get the following message:
passwd: Only root can specify a user name.
Shouldn't users be able to change their own password?
How can I get around this?
When I eliminate the user name in the command line, passwd asks for the current password and then the new password. After I type the new password the second time it displays the following information:
passwd: Authentication service cannot retrieve authentication info
Thanks,
Ron
Last edited by rcmonroig; 11-09-2009 at 10:17 PM.
Reason: additional information and clarification
Yes, they are. What is the exact command that the user runs?
Code:
teboho@btd-techweb01:~$ passwd
Changing password for teboho
Old password:
Enter the new password (minimum of 5, maximum of 127 characters)
Please use a combination of upper and lower case letters and numbers.
New password: somepwd here
Re-enter new password: somepwd here
Password changed.
teboho@btd-techweb01:~$ exit
Shouldn't users be able to change their own password?
Yes, usually users should be able to change their own password. Are they calling passwd with some arguments perhaps? Are you able to change your password on this machine?
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.