Linux - Newbie This 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.
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.
|
 |
05-14-2004, 08:40 PM
|
#1
|
LQ Newbie
Registered: May 2004
Location: Plover, WI
Distribution: mandrake 9.2
Posts: 8
Rep:
|
what is the command to make a user change their password after creating a new user?
What is the command and switches to make a new user change their password at first logon? Thanks, Renee
|
|
|
05-14-2004, 09:17 PM
|
#2
|
Senior Member
Registered: Oct 2003
Location: Zurich, Switzerland
Distribution: Debian/unstable
Posts: 1,357
Rep:
|
See 'man chage' to archieve the goal you probably want.
|
|
|
05-14-2004, 10:17 PM
|
#3
|
LQ Newbie
Registered: May 2004
Location: Plover, WI
Distribution: mandrake 9.2
Posts: 8
Original Poster
Rep:
|
Thank You!
|
|
|
05-15-2004, 05:26 AM
|
#4
|
Member
Registered: Feb 2004
Location: canberra australia
Distribution: Suse 9.0
Posts: 44
Rep:
|
If you're logged in as root - passwd <username>.
If you're logged in as the user - passwd.
|
|
|
05-15-2004, 08:16 AM
|
#5
|
LQ Newbie
Registered: May 2004
Location: Plover, WI
Distribution: mandrake 9.2
Posts: 8
Original Poster
Rep:
|
Thank You. I keep getting the error "Authentication token manipulation error" or it is simular to the old one. What are the rules? I use numbers, caps and lowercase, six chars long.
|
|
|
05-15-2004, 10:54 AM
|
#6
|
Senior Member
Registered: Oct 2003
Location: Zurich, Switzerland
Distribution: Debian/unstable
Posts: 1,357
Rep:
|
Most common reason to get this error message is that the /etc/passwd, /etc/shadow or /etc/group file is corrupted or their information are inconsistent with eachother. Have you manipulated them by hand? Do they look ok? (all the lines in same format, all users in 'passwd' have an entry in 'shadow', all 'groups' referred in 'passwd' exists in 'group')
|
|
|
05-16-2004, 04:26 PM
|
#7
|
LQ Newbie
Registered: May 2004
Location: Plover, WI
Distribution: mandrake 9.2
Posts: 8
Original Poster
Rep:
|
Everything looks the same. I had to put in 7 charactures then the passwords worked.
|
|
|
01-05-2005, 07:07 AM
|
#8
|
Member
Registered: Jul 2004
Location: india
Distribution: Ubuntu 14.04
Posts: 155
Rep:
|
it will take only 7char since ur using md5 token and it wont take any dictonary based also like if u use the word "testing" as passwd only root can assign dictonary based or any length of passwd
|
|
|
All times are GMT -5. The time now is 02:20 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
|
|