[linux-help] Re: forget root password
[Top] [All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index] [Thread Index]
That fixed it.
thanks,
what I learned was the following:
when I 'useradd' the new user (with the group, and uid the same) I noticed that
instead of a 'blank' or an 'x' the system had placed a '!!' (two exclamation
marks), when I replaced the blanks with '!!' (via vi), then the function
'passwd' was able to change root's password. and everything (including su) is
working again.....
thank you so much for staying with me and my problem,
sincerely,
mike wagle,
wichita, ks.
Abdul Basit wrote:
> 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
<snip>
-- 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, 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, 2001/05/19
- [linux-help] Re: forget root password,
j m wagle <=
- [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
- [linux-help] Re: Clock synchronization -, Bob Goodwin, 2001/05/20
|
|