Review your favorite Linux distribution.
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
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!


  Search this Thread
Old 08-06-2009, 11:00 AM   #1
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
Senior Member
Registered: May 2006
Distribution: Caldera, CTOS, Debian, FreeBSD, Mac OS X, Mandrake, Minix, OpenBSD, Slackware, SuSE
Posts: 1,757

Rep: Reputation: 80
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.

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


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
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 > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 02:37 PM.

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