🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: ahn.tech.linux
Article #2066

Changing a account password

#2066
From: MoJo
Date: Sat, 11 Mar 2000 00:00
33 lines
2003 bytes
Hi all,
      I have just recently started using linux ( Red hat 6.2) . I tried to
create a new account for a friend of mine. I got this to work without much
of a problem. My problem is I cannot set the password on this account. To
create this account I added the line

jeff:x:502:502:Jeff :/home/jeff

To the passwd file and

 jeff::11000:0:99999:7:-1:-1:134550548

to the shadow file and

jeff:x:502:

to the group file. I also created a /home/jeff directory and changed it
owner and group to jeff

This all works fine. Jeff could log in, It didn't ask for a password which
was not a issue because I thought one I logged in I could create one using
"passwd" this did not turn out to be the case.
When I type in "passwd" and typed in the new password twice, there was a
brief pause and I got the message " passwd: Permission denied". I have tried
this several different ways. Logged in as someone else and became the "su"
and used "passwd jeff", the same thing happened. I copyed an existing
password in the shadow file into jeffs password. This worked , the password
changed but it is a duplicate of my password and I still cannot change it.

Does any one know what I am doing wrong

Thanks
Mogue
Technical Details
Message-ID: <OmEy4.1747$QF6.78372@news5.giganews.com>
Path: arc1-ca.pugleaf.net!unknown!not-for-mail

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: 11033e,a791c7374ee7818d,start
X-Google-Attributes: gid11033e,public
From: "MoJo" <mojo@speakeasy.org>
Subject: Changing a account password
Date: 2000/03/11
Message-ID: <OmEy4.1747$QF6.78372@news5.giganews.com>
X-Deja-AN: 596313226
X-Priority: 3
X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2615.200
X-Abuse-Info: Otherwise we will be unable to process your complaint properly
X-Complaints-To: abuse@GigaNews.Com
X-Trace: sv2-Z21sj3gAid/mjO1buJ/8HB7MmWbuVaCyofEb4xKc4Xp5cmQ3qCj+VQ4bPXtkA547+8IuRtBHf2/mQoN!Ime2hxgbIEmzLOkRO1veFXLxYmfNog==
Organization: Giganews.Com - Premium News Outsourcing
X-MSMail-Priority: Normal
NNTP-Posting-Date: Sat, 11 Mar 2000 21:42:38 CST
Newsgroups: ahn.tech.linux