LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
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


Reply
  Search this Thread
Old 05-14-2004, 08:40 PM   #1
naweenio
LQ Newbie
 
Registered: May 2004
Location: Plover, WI
Distribution: mandrake 9.2
Posts: 8

Rep: Reputation: 0
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
 
Old 05-14-2004, 09:17 PM   #2
ToniT
Senior Member
 
Registered: Oct 2003
Location: Zurich, Switzerland
Distribution: Debian/unstable
Posts: 1,357

Rep: Reputation: 47
See 'man chage' to archieve the goal you probably want.
 
Old 05-14-2004, 10:17 PM   #3
naweenio
LQ Newbie
 
Registered: May 2004
Location: Plover, WI
Distribution: mandrake 9.2
Posts: 8

Original Poster
Rep: Reputation: 0
Thank You!
 
Old 05-15-2004, 05:26 AM   #4
verstapp
Member
 
Registered: Feb 2004
Location: canberra australia
Distribution: Suse 9.0
Posts: 44

Rep: Reputation: 15
If you're logged in as root - passwd <username>.
If you're logged in as the user - passwd.
 
Old 05-15-2004, 08:16 AM   #5
naweenio
LQ Newbie
 
Registered: May 2004
Location: Plover, WI
Distribution: mandrake 9.2
Posts: 8

Original Poster
Rep: Reputation: 0
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.
 
Old 05-15-2004, 10:54 AM   #6
ToniT
Senior Member
 
Registered: Oct 2003
Location: Zurich, Switzerland
Distribution: Debian/unstable
Posts: 1,357

Rep: Reputation: 47
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')
 
Old 05-16-2004, 04:26 PM   #7
naweenio
LQ Newbie
 
Registered: May 2004
Location: Plover, WI
Distribution: mandrake 9.2
Posts: 8

Original Poster
Rep: Reputation: 0
Everything looks the same. I had to put in 7 charactures then the passwords worked.
 
Old 01-05-2005, 07:07 AM   #8
gsr_kashyap
Member
 
Registered: Jul 2004
Location: india
Distribution: Ubuntu 14.04
Posts: 155

Rep: Reputation: 15
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
 
  


Reply



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
Help! Cannot Add a User to User Manager or Change Root Password lennysokol Linux - General 2 06-25-2005 09:59 AM
Change user password ust Linux - Software 2 12-31-2003 05:25 AM
Viewing my root password / creating an all permissions user ssobeht Linux - Security 16 11-01-2003 01:25 PM
Creating a User with No Password? OldNewUser Linux - Networking 1 08-26-2002 09:56 AM
Change User Password RedHatMN Linux - Newbie 2 08-27-2001 08:24 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 10:38 AM.

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