Usenet comp.sys.dec (1990-2013)
 help / color / mirror / Atom feed
* root account still locked
@ 2000-03-08  5:00 Yanmei Li
  2000-03-09  5:00 ` Jesper Frank Nemholt
  0 siblings, 1 reply; 5+ messages in thread
From: Yanmei Li @ 2000-03-08  5:00 UTC (permalink / raw)


I have accidentally locked my root account by hitting the lock button
when log as root. After that I can never login as root again. Now, I can

login as single-user and  have removed the password field  for the root
account in the passwd file. But I still can't access my root account.
Either login as root nor su root.
I am using Digital Unix v4.0B. The editor vipw is not available in
single-user mode. I used echo to change the passwd file. The passwd file
is not corrupted in other fields, other normal users can still login.

Any suggestions?

Thanks a lot

Yanmei Li






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

* Re: root account still locked
  2000-03-08  5:00 root account still locked Yanmei Li
@ 2000-03-09  5:00 ` Jesper Frank Nemholt
  2000-03-10  5:00   ` Yanmei Li
  2000-03-13  5:00   ` Richard Tomkins
  0 siblings, 2 replies; 5+ messages in thread
From: Jesper Frank Nemholt @ 2000-03-09  5:00 UTC (permalink / raw)


Yanmei Li wrote:
> 
> I have accidentally locked my root account by hitting the lock button
> when log as root. After that I can never login as root again. Now, I can
> 
> login as single-user and  have removed the password field  for the root
> account in the passwd file. But I still can't access my root account.
> Either login as root nor su root.
> I am using Digital Unix v4.0B. The editor vipw is not available in
> single-user mode. I used echo to change the passwd file. The passwd file
> is not corrupted in other fields, other normal users can still login.
> 
> Any suggestions?

Do a bcheckrc to get /usr and other stuff mounted. Then you'll have
access to vipw.


l8r/Jspr



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

* Re: root account still locked
  2000-03-09  5:00 ` Jesper Frank Nemholt
@ 2000-03-10  5:00   ` Yanmei Li
  2000-03-13  5:00   ` Richard Tomkins
  1 sibling, 0 replies; 5+ messages in thread
From: Yanmei Li @ 2000-03-10  5:00 UTC (permalink / raw)


Thank you so much, I'll try.

Jesper Frank Nemholt wrote:

> Yanmei Li wrote:
> >
> > I have accidentally locked my root account by hitting the lock button
> > when log as root. After that I can never login as root again. Now, I can
> >
> > login as single-user and  have removed the password field  for the root
> > account in the passwd file. But I still can't access my root account.
> > Either login as root nor su root.
> > I am using Digital Unix v4.0B. The editor vipw is not available in
> > single-user mode. I used echo to change the passwd file. The passwd file
> > is not corrupted in other fields, other normal users can still login.
> >
> > Any suggestions?
>
> Do a bcheckrc to get /usr and other stuff mounted. Then you'll have
> access to vipw.
>
> l8r/Jspr




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

* Re: root account still locked
  2000-03-09  5:00 ` Jesper Frank Nemholt
  2000-03-10  5:00   ` Yanmei Li
@ 2000-03-13  5:00   ` Richard Tomkins
  2000-03-20  5:00     ` Yanmei Li
  1 sibling, 1 reply; 5+ messages in thread
From: Richard Tomkins @ 2000-03-13  5:00 UTC (permalink / raw)


I just did this.

>>> boot -flags s

at the # prompt

bcheckrc or mount -a

passwd

and set the root password,

then shutdown -r now

can't go wrong, it always works.


rtt





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

* Re: root account still locked
  2000-03-13  5:00   ` Richard Tomkins
@ 2000-03-20  5:00     ` Yanmei Li
  0 siblings, 0 replies; 5+ messages in thread
From: Yanmei Li @ 2000-03-20  5:00 UTC (permalink / raw)


Thank you so much. It works!

Richard Tomkins wrote:

> I just did this.
>
> >>> boot -flags s
>
> at the # prompt
>
> bcheckrc or mount -a
>
> passwd
>
> and set the root password,
>
> then shutdown -r now
>
> can't go wrong, it always works.
>
> rtt




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

end of thread, other threads:[~2000-03-20  5:00 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2000-03-08  5:00 root account still locked Yanmei Li
2000-03-09  5:00 ` Jesper Frank Nemholt
2000-03-10  5:00   ` Yanmei Li
2000-03-13  5:00   ` Richard Tomkins
2000-03-20  5:00     ` Yanmei Li

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