LinuxQuestions.org
Go Job Hunting at the LQ Job Marketplace
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Security
User Name
Password
Linux - Security This forum is for all security related questions.
Questions, tips, system compromises, firewalls, etc. are all included here.

Notices

Reply
 
Search this Thread
Old 03-03-2004, 04:37 AM   #1
urzumph
Member
 
Registered: Jan 2004
Location: Australia
Distribution: Debian
Posts: 168

Rep: Reputation: 30
Lol I forgot a user's password


I forgot a user's password (not root's, a normal user)
How can I reset it? I feel like such an idiot, lol
 
Old 03-03-2004, 04:38 AM   #2
cjcuk
Member
 
Registered: Dec 2003
Distribution: Openwall, ~LFS
Posts: 128

Rep: Reputation: 15
`root' can passwd on behalf of another user.
 
Old 03-03-2004, 04:39 AM   #3
snacky
Member
 
Registered: Feb 2004
Distribution: Debian
Posts: 286

Rep: Reputation: 30
As root, just run "passwd username" where "username" is the user whose password you want to reset.

Also, you can remove the user's password entirely by editing the field to blank in /etc/shadow but this method has some SLIGHT security issues
 
Old 03-03-2004, 04:56 AM   #4
cjcuk
Member
 
Registered: Dec 2003
Distribution: Openwall, ~LFS
Posts: 128

Rep: Reputation: 15
Quote:
Originally posted by snacky
Also, you can remove the user's password entirely by editing the field to blank in /etc/shadow but this method has some SLIGHT security issues
You are probably better off doing `passwd -l $(USERNAME)'.
 
Old 03-04-2004, 05:00 AM   #5
naren
Member
 
Registered: Feb 2004
Posts: 66

Rep: Reputation: 15
passwd -d <username>
removes password for the user
 
  


Reply


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
forgot my password navaladi Linux - Newbie 2 12-22-2004 08:47 AM
forgot password =( ?!?! j_miguel_y Linux - General 1 08-31-2004 11:58 AM
Music Database Program, Web Based - I forgot the name lol Boffy Linux - Software 5 08-26-2004 06:59 AM
what to do when forgot your password? isamitch Linux - General 11 07-23-2004 01:57 PM
forgot my password ? i can change the password JrLz Linux - Security 9 04-06-2004 07:36 PM


All times are GMT -5. The time now is 11:28 PM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration