[linux-help] Re: forget root password
[Top] [All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index] [Thread Index]
ok kick root !
boot in super user mode ..
and you already told that your user logins work
suppose you have a user named basit
the entry in /etc/passwd will look like
basit:x:100:101:/home/basit:/bin/bash
boot in super-user mode ..
edit /etc/passwd
edit line of your userid
and make it as like
basit:x:0:0:/home/basit:/bin/bash
and then reboot
and login with that userid ...
you should login now ..
as this user was already working
with supplied passwords
but now we have given him super privileges..
try it and let me know back
basit
--
Sex is better than Logic.
But I can't prove it !
On Sat, 19 May 2001, j m wagle wrote:
>
> thanks for your reply,
> ok, i 'vi'-ed the /etc/passwd file, placed an 'x', in the 'password'
> location,...
> continued with the procedure specified earlier (below),...
> and have the same results, --
> I cannot use my 'root' sign-on when I am not in single user mode,
>
>
> by the way the following is the 'new' first line in my passwd file,
>
> root:x:0:0:root:/root:/bin/bash
>
> again, thanks for your replies.
> mw
> anyone have any ideas where I could be going wrong?
> mike wagle,
> wichita, ks
>
>
> Abdul Basit wrote:
>
> > the root line in /etc/passwd must have :x: like
> > root:x:0:0:root:/root:/bin/bash
> > so it will look in shadow file
> > else it will not ..
> > please try to put :x:
> > and try to login with your pass then
> >
> > basit
> >
> > --
> > Sex is better than Logic.
> > But I can't prove it !
> >
> > On Sat, 19 May 2001, j m wagle wrote:
> >
> > >
> > > thanks for your reply, the following is what transpires
> > >
> > > I boot : linux 1
> > > .. starting single user mode..
> > >
> > > I enter:
> > > passwd root
> > > the system replies:
> > > New UNIX password:
> > > I enter xxxxxx,
> > > the system replies:
> > > Retype new UNIX password:
> > > I enter xxxxxx (same as above),
> > > the system replies:
> > > password: all authentication tokens updated successfully.
> > > I "exit" single user mode by entering:
> > > exit.
> > > ....
> > >
> > > the system 'reboots' and then responds:
> > > Login:
> > > I enter:
> > > root
> > > the system replies:
> > > Password:
> > > I enter: xxxxxx (same as above),
> > > the system replies:
> > > Login incorrect.
> > >
> > > Please note:
> > > I can successfully change other 'user ids's passwords following the
> > > above procedures,
> > > I have also tried the above procedure without specifying "root" (using
> > > the 'default').
> > > Note: i have included the first line of my /etc/passwd file:
> > > root::0:0:root:/root:/bin/bash
> > >
> > > thanks for your help,
> > > mw wichita
> > >
> > >
> > > Abdul Basit wrote:
> > >
> > > > can you tell me the error message
> > > > what error passwd gives if you try to
> > > > issue passwd root
> > > > and then supply pass for 2 times
> > > > while being in super user mode
> > > >
> > > > basit
> > > >
> > > > On Sat, 19 May 2001, j m wagle wrote:
> >
> > -- This is the linux-help@xxxxxxxxx list. To unsubscribe,
> > visit http://tmp2.complete.org/cgi-bin/listargate-aclug.cgi
>
> -- This is the linux-help@xxxxxxxxx list. To unsubscribe,
> visit http://tmp2.complete.org/cgi-bin/listargate-aclug.cgi
>
>
-- This is the linux-help@xxxxxxxxx list. To unsubscribe,
visit http://tmp2.complete.org/cgi-bin/listargate-aclug.cgi
- [linux-help] Re: forget root password, (continued)
- [linux-help] Re: forget root password, Dale W Hodge, 2001/05/18
- [linux-help] Re: forget root password, j m wagle, 2001/05/19
- [linux-help] Re: forget root password, Abdul Basit, 2001/05/19
- [linux-help] Re: forget root password, j m wagle, 2001/05/19
- [linux-help] Re: forget root password, Abdul Basit, 2001/05/19
- [linux-help] Re: forget root password, j m wagle, 2001/05/19
- [linux-help] Re: forget root password, Abdul Basit, 2001/05/19
- [linux-help] Re: forget root password, j m wagle, 2001/05/19
- [linux-help] Re: forget root password, Abdul Basit, 2001/05/19
- [linux-help] Re: forget root password, j m wagle, 2001/05/19
- [linux-help] Re: forget root password,
Abdul Basit <=
- [linux-help] Re: forget root password, j m wagle, 2001/05/19
- [linux-help] Clock synchronization -, Bob Goodwin, 2001/05/20
- [linux-help] Re: Clock synchronization -, Curtis Hawthorne, 2001/05/20
- [linux-help] linux passwd file, j m wagle, 2001/05/20
- [linux-help] Re: linux passwd file, Dale W Hodge, 2001/05/20
- [linux-help] Re: deleting hidden directory and files, j m wagle, 2001/05/20
- [linux-help] Re: deleting hidden directory and files, Bruce Bales, 2001/05/20
- [linux-help] Re: deleting hidden directory and files, j m wagle, 2001/05/21
- [linux-help] Re: deleting hidden directory and files, John Alexander, 2001/05/21
- [linux-help] Re: linux passwd file, j m wagle, 2001/05/20
|
|