LinuxQuestions.org
Have you listened to LQ Radio?
Go Back   LinuxQuestions.org > Forums > Linux > Linux - Newbie
User Name
Password
Linux - Newbie This 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

Tags used in this thread
Popular LQ Tags ,

Reply
 
Thread Tools
Old 11-11-2008, 05:48 AM   #1
drpeck
LQ Newbie
 
Registered: Nov 2008
Posts: 3
Thanked: 0
usermod but pwd not encrypted


[Log in to get rid of this advertisement]
Hi,

I'm an idiot and didn't read the usermod documentation correctly. I changed the password but entered it in clear text, but I'm guessing I should have used passwd to enter it in an encrypted state right? WAA WAA!

I know what password I entered, but is this of any use or do I have to reset the password as per other threads on this site (Can't submit URL as it is my first post).

I might just reinstall linux if so, as it is almost a fresh install anyway.

Thanks,

Dave
drpeck is offline  
Tag This Post ,
Reply With Quote
Old 11-11-2008, 07:37 PM   #2
chrism01
Guru
 
Registered: Aug 2004
Location: Brisbane
Distribution: Centos 5.4
Posts: 7,411
Thanked: 324
If you can login as root, you can change it with

passwd <username>

ie if you supply a username to the passwd cmd, it'll change the passwd for that user
chrism01 is offline     Reply With Quote
Old 11-12-2008, 04:57 AM   #3
drpeck
LQ Newbie
 
Registered: Nov 2008
Posts: 3
Thanked: 0

Original Poster
Not sure I can

What I actually ran was:
usermod -p clearTextPwd root

or something like that. Now I can't log in as root, so I guess I'm bummed?!
drpeck is offline     Reply With Quote
Old 11-12-2008, 05:33 AM   #4
billymayday
Guru
 
Registered: Mar 2006
Location: Sydney, Australia
Distribution: Fedora, CentOS, OpenSuse, Slack, Gentoo, Debian, Arch, PCBSD
Posts: 6,678
Thanked: 126
Try http://www.linuxquestions.org/questi...ssword-635672/
billymayday is offline     Reply With Quote
Old 11-13-2008, 04:39 AM   #5
drpeck
LQ Newbie
 
Registered: Nov 2008
Posts: 3
Thanked: 0

Original Poster
Sorted - by insecure linux

Thanks guys.

I've been able to resolve this as it seems Linpus (Fedora based) is not very secure. I wrote:
Code:
sudo su
which got me logged in as root, without any password!!!!

and then
Code:
passwd root
Huzzah!
drpeck is offline     Reply With Quote
Old 11-13-2008, 08:10 PM   #6
chrism01
Guru
 
Registered: Aug 2004
Location: Brisbane
Distribution: Centos 5.4
Posts: 7,411
Thanked: 324
That's a setting in sudo. You can set it to not ask for a passwd (not recommended).
As far as root goes, I ALWAYS change the passwd manually using the passwd cmd. Its only one acct and it has to work.(!)
chrism01 is offline     Reply With Quote

Reply

Bookmarks


Thread Tools

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
Usermod Carlwill Linux - General 8 09-19-2006 09:26 PM
usermod and groupadd meDream Linux - Newbie 0 10-05-2005 06:01 AM
reset pwd to root's current pwd? ataraktos2 Linux - General 10 04-26-2005 05:13 AM
usermod shanenin Linux - Software 4 12-08-2003 09:49 AM
usermod thelight1 Linux - Newbie 1 07-24-2003 01:00 PM


All times are GMT -5. The time now is 12:17 AM.

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
RSS2  LQ Podcast
RSS2  LQ Radio
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: @linuxquestions
Open Source Consulting | Domain Registration