LinuxQuestions.org
Visit Jeremy's Blog.
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
 
LinkBack Search this Thread
Old 08-06-2009, 11:00 AM   #1
pantuflo
LQ Newbie
 
Registered: Aug 2009
Distribution: ubuntu 9.04;slackware 12.2
Posts: 1

Rep: Reputation: 0
passwd command modifies /etc/password?


Hi!I was just creating manually a new user in slack 12.2.
I created a profile on /etc/passwd, putting an x on the password space.
when I tried to used the passwd command to encode my new password on /etc/shadow, nothing is written on shadow; instead the encoded string appears on /etc/password.
Could someone explain me why?Thanks
 
Old 08-06-2009, 12:18 PM   #2
bsdunix
Senior Member
 
Registered: May 2006
Distribution: Caldera, CTOS, Debian, FreeBSD, Mac OS X, Mandrake, Minix, OpenBSD, Slackware, SuSE
Posts: 1,757

Rep: Reputation: 78
Since you didn't use adduser or useradd to create an account that has the password shadow suite installed, you need to run pwconv to change the encoded password in /etc/passwd to /etc/shadow.

http://linux.die.net/man/8/pwconv

http://tldp.org/HOWTO/Shadow-Passwor...O-7.html#ss7.1

Last edited by bsdunix; 08-06-2009 at 12:41 PM. Reason: brief explaination
 
  


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
Trackbacks are Off
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
changing password of a user without using passwd command anerudhbalaji Linux - Software 2 05-22-2009 02:10 PM
Getting error when trying to change NT password using passwd Cyberitas Linux - Enterprise 0 11-01-2007 11:59 AM
passwd prompts for new password only once when a short password is entered powah Linux - Security 0 09-19-2007 04:20 PM
passwd: Bad password, too simplistic ??? qwijibow Linux - Security 2 02-05-2005 04:58 PM
how decode the passwd file's password? yikaikai Linux - Security 10 08-07-2001 04:13 AM


All times are GMT -5. The time now is 08:34 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
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration