[glug-t] Re: forgotten root passwd..
- From: benjamin <benjaminrtz@xxxxxxxxx>
- To: glug_t@xxxxxxxxxxxxx
- Date: Thu, 16 Jun 2005 17:40:37 +0530
On 6/16/05, benjamin <benjaminrtz@xxxxxxxxx> wrote:
>
>
>
> On 6/16/05, ramprasad <r.ramprasad@xxxxxxxxx> wrote:
> >
> > Hi,
> >
> > > benjamin rualthanzauva
> > >=20
> > > What do you mean single user moder aka runlevel 1 disabled ? Do you
> > mean
> > > runlevel 1 un defined.
> >
> > What I mean is that root password can also be prompted when system
> > enters into single user mode, by editing the inittab file . Thus the
> > only option available is to use the rescue option
> > >=20
> > > Or are you referring to password protecting boot loader?
> >
> > This can be another reason to use the rescue option
> > ---------------------------------------------------------------
> > To unsubscribe send a mail to glug_t-request@xxxxxxxxxxxxx with
> > 'unsubscribe' as subject.
> >
> > Website: http://glugt.linuxisle.com
> >
>
>
> How about init=/bin/bash ?
> --
> benjamin rualthanzauva
>
While , this works, what Ram sulogin called at runlevel 1. In /etc/inittab ,
look for entry like
~~:S:respawn:/sbin/sulogin
I have seen that Suse comes default with configuration. This in invoke
sulogin which would force you to provide root password. When you boot with
init=/bin/bash, the filesystem is mounted readonly. So this is what you need
to do.
1) Boot with options -b rw init=/bin/bash
LILO : linux -b rw init-/bin/bash
grub: Add the options on the kernel line
2) Change the root password
And for the sake of argument this does not mean that Single User mode is
disabled.
--
benjamin rualthanzauva
---------------------------------------------------------------
To unsubscribe send a mail to glug_t-request@xxxxxxxxxxxxx with
'unsubscribe' as subject.
Website: http://glugt.linuxisle.com
- References:
- [glug-t] forgotten root passwd..
- From: karthik ramnath
- [glug-t] Re: forgotten root passwd..
- From: benjamin
- [glug-t] Re: forgotten root passwd..
- From: ramprasad
- [glug-t] Re: forgotten root passwd..
- From: benjamin
- [glug-t] Re: forgotten root passwd..
- From: ramprasad
- [glug-t] Re: forgotten root passwd..
- From: benjamin
Other related posts:
- » [glug-t] forgotten root passwd..
- » [glug-t] Re: forgotten root passwd..
- » [glug-t] Re: forgotten root passwd..
- » [glug-t] Re: forgotten root passwd..
- » [glug-t] Re: forgotten root passwd..
- » [glug-t] Re: forgotten root passwd..
- » [glug-t] Re: forgotten root passwd..
- [glug-t] forgotten root passwd..
- From: karthik ramnath
- [glug-t] Re: forgotten root passwd..
- From: benjamin
- [glug-t] Re: forgotten root passwd..
- From: ramprasad
- [glug-t] Re: forgotten root passwd..
- From: benjamin
- [glug-t] Re: forgotten root passwd..
- From: ramprasad
- [glug-t] Re: forgotten root passwd..
- From: benjamin