|
|||
Interesting part of story is missing here.
Quote:
|
|
||||
I think he didn't give root a password when he setup the system. Why? because he forgot or made a mistake.
Anyway, all he needs to do is login as root. Then type: Code:
passwd
__________________
"The basic tool for the manipulation of reality is the manipulation of words. If you can control the meaning of words, you can control the people who must use the words." -Philip K. Dick Last edited by roddierod; 8th May 2008 at 06:06 PM. Reason: brain freeze with sudo and su... |
|
||||
You can su (switch user) to any user as long as you know that user's password (you can su to another user on the system, not only root).
Being a member of group wheel is managed by sudo you can even set to not ask for a password. Linuxism.
__________________
da more I know I know I know nuttin' |
|
||||
you are correct. i had a moment of confusion and corrected my post...
__________________
"The basic tool for the manipulation of reality is the manipulation of words. If you can control the meaning of words, you can control the people who must use the words." -Philip K. Dick |
|
|||
I believe your friend is entering sysinstall to reach the "you should have a root" password prompt, however, he isn't and simply exits from sysinstall. sysinstall will NEVER overwrite anything unless YOU tell it to.
So, what you need to do is login as root then type passwd and press enter. Now type the new ROOT password and hit enter, it will ask you twice for confirmation. Assuming your friend is doing what I think he is (i.e., reinstalling a lot of /usr stuff), type adduser and press enter, follow the prompts...make sure to make the login group: wheel if you want to enable su to root witht that user. Regards, Brodey |
|
||||
Quote:
I see /etc/passwd , my friend computer have three user bagher , google and yahoo , but after that , I can not find bagher and google and yahoo in /etc/passwd and I think all user was deleted , My friend set new password for root and then make new user and right now he use FreeBSD 7 but it is not clear what he do with sysinstall and he lose all user and root password change to Blank. |
|
|||
I don't quite remember the sysinstall menus off by hand, but I believe that he is reinstalling the FreeBSD "core" via the "standard","express", or "custom" options.
You should only sysinstall for "configure" and "upgrade". Typically "Fix It" is used in single user mode because you can't do too much when mounted/booted up. I have done this when I was new that's why it's ringing a few bells. |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
weak password=broken | knasbas | OpenBSD Security | 6 | 1st July 2009 08:44 PM |
A failure in password security | TerryP | Off-Topic | 3 | 25th September 2008 03:19 AM |
change root password. | bsdnewbie999 | OpenBSD General | 1 | 16th September 2008 01:29 PM |
Set password for Folder | mfaridi | FreeBSD Security | 6 | 5th September 2008 10:49 PM |
Anyone Install Password Gorilla | revzalot | OpenBSD Installation and Upgrading | 3 | 26th August 2008 03:58 AM |