Usenet comp.os.linux.alpha (1997-2013)
 help / color / mirror / Atom feed
* forgot password on Red Hat 5.0  on Alpha
@ 1999-08-01  4:00 Ian Tan
  1999-08-01  4:00 ` Xiaozhou Qiu
  1999-08-02  4:00 ` Rick 'ijS' Klaassen
  0 siblings, 2 replies; 3+ messages in thread
From: Ian Tan @ 1999-08-01  4:00 UTC (permalink / raw)


G'day everybody,
    I recently acquired a multia running RH 5.0.  Unfortunately, the
previous owner forgot the root  password.  I'm trying to get around this and
I read somewhere that I can do this by  booting up in single mode.
Alternatively, I read that I can use any  linux kernel, remount the file
system and delete the password field for root in the password file.
    Can anyone confirm this or give any guidelines on how I can get back the
root password?  Cheers.

Ian





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

* Re: forgot password on Red Hat 5.0  on Alpha
  1999-08-01  4:00 forgot password on Red Hat 5.0 on Alpha Ian Tan
@ 1999-08-01  4:00 ` Xiaozhou Qiu
  1999-08-02  4:00 ` Rick 'ijS' Klaassen
  1 sibling, 0 replies; 3+ messages in thread
From: Xiaozhou Qiu @ 1999-08-01  4:00 UTC (permalink / raw)


Hi, to use single mode, just add single to your boot command. i.e.
milo>boot  hda2:vmlinux.gz  root=/dev/hda2 single    (in milo)

If you can add another hard disk in which linux has been installed, you can load
that
Linux, mount the original hard disk partitions, then erase /etc/passwd or the
shadowed one.

Wish you luck!

Xiaozhou Qiu
Linux Consorsium
Interoperability Lab
UNH




Ian Tan wrote:

> G'day everybody,
>     I recently acquired a multia running RH 5.0.  Unfortunately, the
> previous owner forgot the root  password.  I'm trying to get around this and
> I read somewhere that I can do this by  booting up in single mode.
> Alternatively, I read that I can use any  linux kernel, remount the file
> system and delete the password field for root in the password file.
>     Can anyone confirm this or give any guidelines on how I can get back the
> root password?  Cheers.
>
> Ian




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

* Re: forgot password on Red Hat 5.0  on Alpha
  1999-08-01  4:00 forgot password on Red Hat 5.0 on Alpha Ian Tan
  1999-08-01  4:00 ` Xiaozhou Qiu
@ 1999-08-02  4:00 ` Rick 'ijS' Klaassen
  1 sibling, 0 replies; 3+ messages in thread
From: Rick 'ijS' Klaassen @ 1999-08-02  4:00 UTC (permalink / raw)


"IT" == "Ian Tan" writes:

IT>     I recently acquired a multia running RH 5.0.  Unfortunately,
IT>     the
IT> previous owner forgot the root  password.  I'm trying to get
IT> around this and I read somewhere that I can do this by  booting
IT> up in single mode. Alternatively, I read that I can use any
IT> linux kernel, remount the file system and delete the password
IT> field for root in the password file.
IT>     Can anyone confirm this or give any guidelines on how I can
IT> get back the root password?  Cheers.

boot yourdrive:yourkernel root=/dev/yourdrive/ -s 

. and there ya go into single user mode.. a simple passwd should fix
your problem.. And sure, you could also solve it by booting from
another HD, mounting this one, etc.. but that's a lot more work imho
:)

Grtz,
 Rick
-- 
        __ __________________ __________ _______ ___ __   _     _   _
       /_//_/ ______________//_________//____ ____ ____ _   _
      / // /  \    ijs@amigascne.org ^ http://amigascne.org/~ijs/
    ____/ /_\  \  amiga & linux & psx & c64 & amiga madman!
    \  / /_____/ mxm organizer -> http://www.amigascne.org/mxm/
 - --\  /-------------------------------------------------------- -- -
      \/ 
%
Windows Error: 010 - Reserved for future mistakes



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

end of thread, other threads:[~1999-08-02  4:00 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
1999-08-01  4:00 forgot password on Red Hat 5.0 on Alpha Ian Tan
1999-08-01  4:00 ` Xiaozhou Qiu
1999-08-02  4:00 ` Rick 'ijS' Klaassen

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