Red Hat axp-list: Linux on Alpha (1995-2022)
 help / color / mirror / Atom feed
* Locked /etc/passwd
@ 1997-05-21 17:01 Shawn Morris
  0 siblings, 0 replies; 5+ messages in thread
From: Shawn Morris @ 1997-05-21 17:01 UTC (permalink / raw)


Help!

I've gotten RH installed and X working and everything, now I'm having this
problem.  I was able to adduser an account for myself and set the password
with passwd smorris(my account name).  Now however when I try to add a new
user I get this:

[root@localhost sbin]# adduser access69
/etc/passwd is locked.  Try again later.

My question is what do I do to unlock the file(I've tried rebooting) and
what did I do to lock the passwd file, so that I can avoid doing this in
the future.
						Thanks,
						Shawn Morris
						Midwest Internet
						 Network Operations
********************************************
*Shawn Morris            Midwest Internet  *
*smorris@midwest.net     Network Operations*
*1-800-651-1599x217      Carbondale, IL    *
********************************************

--
To unsubscribe: send e-mail to axp-list-request@redhat.com with
'unsubscribe' as the subject.  Do not send it to axp-list@redhat.com

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: Locked /etc/passwd
       [not found] <3.0.1.32.19970521120148.006d1ba0@midwest.net>
@ 1997-05-21 17:21 ` Michael Tibor
  1997-05-23 16:18 ` Jun Valdez
  1 sibling, 0 replies; 5+ messages in thread
From: Michael Tibor @ 1997-05-21 17:21 UTC (permalink / raw)


I've been getting this message myself, and I'd love to hear how to take care
of it.  It gets really old having to add user accounts doing everything
manually...

Mike Tibor        University of Alaska Anchorage    (907) 786-1001 voice
LAN Technician    Consortium Library                (907) 786-6050 fax
http://www.lib.uaa.alaska.edu/~tibor/    mailto:tibor@lib.uaa.alaska.edu
Finger tibor@asimov.lib.uaa.alaska.edu for pgp public key

On Wed, 21 May 1997, Shawn Morris wrote:

> Help!
> 
> I've gotten RH installed and X working and everything, now I'm having this
> problem.  I was able to adduser an account for myself and set the password
> with passwd smorris(my account name).  Now however when I try to add a new
> user I get this:
> 
> [root@localhost sbin]# adduser access69
> /etc/passwd is locked.  Try again later.
> 
> My question is what do I do to unlock the file(I've tried rebooting) and
> what did I do to lock the passwd file, so that I can avoid doing this in
> the future.
> 						Thanks,
> 						Shawn Morris
> 						Midwest Internet
> 						 Network Operations
> ********************************************
> *Shawn Morris            Midwest Internet  *
> *smorris@midwest.net     Network Operations*
> *1-800-651-1599x217      Carbondale, IL    *
> ********************************************
> 
> --
> To unsubscribe: send e-mail to axp-list-request@redhat.com with
> 'unsubscribe' as the subject.  Do not send it to axp-list@redhat.com
> 

--
To unsubscribe: send e-mail to axp-list-request@redhat.com with
'unsubscribe' as the subject.  Do not send it to axp-list@redhat.com

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: Locked /etc/passwd
       [not found] <Pine.LNX.3.96.970521092005.9857B-100000@asimov.lib.uaa.alaska.edu>
@ 1997-05-21 17:28 ` Terry L. Ridder
  1997-05-21 18:23 ` Al Sparks
  1 sibling, 0 replies; 5+ messages in thread
From: Terry L. Ridder @ 1997-05-21 17:28 UTC (permalink / raw)


hello;

look in /etc for the file .pwd.lock

you can also look at the actaul adduser schell script to find
the filename if i have it wrong.

adduser is in /usr/sbin.

you can use the command line:

less /usr/sbin/adduser

then search for PLOCK.

On Wed, 21 May 1997, Michael Tibor wrote:

> I've been getting this message myself, and I'd love to hear how to take care
> of it.  It gets really old having to add user accounts doing everything
> manually...
> 
> 
> Mike Tibor        University of Alaska Anchorage    (907) 786-1001 voice
> LAN Technician    Consortium Library                (907) 786-6050 fax
> http://www.lib.uaa.alaska.edu/~tibor/    mailto:tibor@lib.uaa.alaska.edu
> Finger tibor@asimov.lib.uaa.alaska.edu for pgp public key
> 
> 
> On Wed, 21 May 1997, Shawn Morris wrote:
> 
> > Help!
> > 
> > I've gotten RH installed and X working and everything, now I'm having this
> > problem.  I was able to adduser an account for myself and set the password
> > with passwd smorris(my account name).  Now however when I try to add a new
> > user I get this:
> > 
> > [root@localhost sbin]# adduser access69
> > /etc/passwd is locked.  Try again later.
> > 
> > My question is what do I do to unlock the file(I've tried rebooting) and
> > what did I do to lock the passwd file, so that I can avoid doing this in
> > the future.
> > 						Thanks,
> > 						Shawn Morris
> > 						Midwest Internet
> > 						 Network Operations
> > ********************************************
> > *Shawn Morris            Midwest Internet  *
> > *smorris@midwest.net     Network Operations*
> > *1-800-651-1599x217      Carbondale, IL    *
> > ********************************************
> > 
> > --
> > To unsubscribe: send e-mail to axp-list-request@redhat.com with
> > 'unsubscribe' as the subject.  Do not send it to axp-list@redhat.com
> > 
> 
> --
> To unsubscribe: send e-mail to axp-list-request@redhat.com with
> 'unsubscribe' as the subject.  Do not send it to axp-list@redhat.com
> 

Terry L. Ridder
Blue Danube Software (Blaue Donau Software)
"We do not write software, we compose it."

 When the toast is burnt
 and all the milk has turned
 and Captain Crunch is waving goodbye
 when the Big One finds you
 may this song remind you the they 
 don't serve breakfast in hell
 ==Breakfast==Newsboys

--
To unsubscribe: send e-mail to axp-list-request@redhat.com with
'unsubscribe' as the subject.  Do not send it to axp-list@redhat.com

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: Locked /etc/passwd
       [not found] <Pine.LNX.3.96.970521092005.9857B-100000@asimov.lib.uaa.alaska.edu>
  1997-05-21 17:28 ` Terry L. Ridder
@ 1997-05-21 18:23 ` Al Sparks
  1 sibling, 0 replies; 5+ messages in thread
From: Al Sparks @ 1997-05-21 18:23 UTC (permalink / raw)


I don't know about RedHat, but most unix systems "lock" the passwd
file by creating a file called /etc/ptmp.  If you use the 
    vipw 
command, that program does create that file, until you exit the passwd
file normally.

So check for
   /etc/ptmp
  === Al

On Wed, 21 May 1997, Michael Tibor wrote:

> Date: Wed, 21 May 1997 09:21:20 -0800 (AKDT)
> From: Michael Tibor <tibor@lib.uaa.alaska.edu>
> To: axp-list@redhat.com
> Subject: Re: Locked /etc/passwd
> In-Reply-To: <3.0.1.32.19970521120148.006d1ba0@midwest.net>
> Message-Id: <Pine.LNX.3.96.970521092005.9857B-100000@asimov.lib.uaa.alaska.edu>
> 
> I've been getting this message myself, and I'd love to hear how to take care
> of it.  It gets really old having to add user accounts doing everything
> manually...
> 
> 
> Mike Tibor        University of Alaska Anchorage    (907) 786-1001 voice
> LAN Technician    Consortium Library                (907) 786-6050 fax
> http://www.lib.uaa.alaska.edu/~tibor/    mailto:tibor@lib.uaa.alaska.edu
> Finger tibor@asimov.lib.uaa.alaska.edu for pgp public key
> 
> 
> On Wed, 21 May 1997, Shawn Morris wrote:
> 
> > Help!
> > 
> > I've gotten RH installed and X working and everything, now I'm having this
> > problem.  I was able to adduser an account for myself and set the password
> > with passwd smorris(my account name).  Now however when I try to add a new
> > user I get this:
> > 
> > [root@localhost sbin]# adduser access69
> > /etc/passwd is locked.  Try again later.
> > 
> > My question is what do I do to unlock the file(I've tried rebooting) and
> > what did I do to lock the passwd file, so that I can avoid doing this in
> > the future.
> > 						Thanks,
> > 						Shawn Morris
> > 						Midwest Internet
> > 						 Network Operations
> > ********************************************
> > *Shawn Morris            Midwest Internet  *
> > *smorris@midwest.net     Network Operations*
> > *1-800-651-1599x217      Carbondale, IL    *
> > ********************************************
> > 
> > --
> > To unsubscribe: send e-mail to axp-list-request@redhat.com with
> > 'unsubscribe' as the subject.  Do not send it to axp-list@redhat.com
> > 
> 
> --
> To unsubscribe: send e-mail to axp-list-request@redhat.com with
> 'unsubscribe' as the subject.  Do not send it to axp-list@redhat.com
> 
> 

--
To unsubscribe: send e-mail to axp-list-request@redhat.com with
'unsubscribe' as the subject.  Do not send it to axp-list@redhat.com

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: Locked /etc/passwd
       [not found] <3.0.1.32.19970521120148.006d1ba0@midwest.net>
  1997-05-21 17:21 ` Michael Tibor
@ 1997-05-23 16:18 ` Jun Valdez
  1 sibling, 0 replies; 5+ messages in thread
From: Jun Valdez @ 1997-05-23 16:18 UTC (permalink / raw)


I think this is the same problem on my RedHat/Intel.

There's this file that you need to delete:

/etc/.pwd.lock

-jun

On Wed, 21 May 1997, Shawn Morris wrote:

> Help!
> 
> I've gotten RH installed and X working and everything, now I'm having this
> problem.  I was able to adduser an account for myself and set the password
> with passwd smorris(my account name).  Now however when I try to add a new
> user I get this:
> 
> [root@localhost sbin]# adduser access69
> /etc/passwd is locked.  Try again later.
> 
> My question is what do I do to unlock the file(I've tried rebooting) and
> what did I do to lock the passwd file, so that I can avoid doing this in
> the future.
> 						Thanks,
> 						Shawn Morris
> 						Midwest Internet
> 						 Network Operations
> ********************************************
> *Shawn Morris            Midwest Internet  *
> *smorris@midwest.net     Network Operations*
> *1-800-651-1599x217      Carbondale, IL    *
> ********************************************
> 
> --
> To unsubscribe: send e-mail to axp-list-request@redhat.com with
> 'unsubscribe' as the subject.  Do not send it to axp-list@redhat.com
> 
> 

--
To unsubscribe: send e-mail to axp-list-request@redhat.com with
'unsubscribe' as the subject.  Do not send it to axp-list@redhat.com

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~1997-05-23 16:18 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
1997-05-21 17:01 Locked /etc/passwd Shawn Morris
     [not found] <Pine.LNX.3.96.970521092005.9857B-100000@asimov.lib.uaa.alaska.edu>
1997-05-21 17:28 ` Terry L. Ridder
1997-05-21 18:23 ` Al Sparks
     [not found] <3.0.1.32.19970521120148.006d1ba0@midwest.net>
1997-05-21 17:21 ` Michael Tibor
1997-05-23 16:18 ` Jun Valdez

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox