View previous topic :: View next topic |
Author |
Message |
frippz Guru
Joined: 22 Aug 2002 Posts: 460 Location: Sweden
|
Posted: Thu Aug 22, 2002 3:16 pm Post subject: This should make me the Moron of the Year... =( |
|
|
My brand new Gentoo installation just had a little "accident".
Seems that when I was working in webmin adding a user (for Samba use, no home directory etc.) things took a terrible turn. I found that I wasn't satisfied with the new user so I deleted the account through webmin.
A while later I returned to my SSH session that was logged on at the same time and ran a PS AUX to check what services that was running. Imagine the face I made when all the system services normally run by root was run by #0. This can't be good, I thought and tried to log into Webmin again. This time webmin claimed that user root could not be found. So I tried to re-login through SSH and got a similar response; user root not found!!
How the heck could that happen!?!?
My normal user account is still there though and I can still log in with it. |
|
Back to top |
|
|
rizzo Retired Dev
Joined: 30 Apr 2002 Posts: 1067 Location: Manitowoc, WI, USA
|
Posted: Thu Aug 22, 2002 3:18 pm Post subject: |
|
|
So you can't ssh as your normal user and then 'su -' to root? |
|
Back to top |
|
|
frippz Guru
Joined: 22 Aug 2002 Posts: 460 Location: Sweden
|
Posted: Thu Aug 22, 2002 3:20 pm Post subject: |
|
|
Nope, I get the same response then aswell; Unknown id: root |
|
Back to top |
|
|
fmalabre Guru
Joined: 19 Jun 2002 Posts: 376 Location: Chicago
|
Posted: Thu Aug 22, 2002 8:01 pm Post subject: |
|
|
Maybe they did the same with the forum database |
|
Back to top |
|
|
pjp Administrator
Joined: 16 Apr 2002 Posts: 20067
|
Posted: Thu Aug 22, 2002 8:11 pm Post subject: |
|
|
Did you delete the 'root' user by any chance? _________________ Quis separabit? Quo animo? |
|
Back to top |
|
|
rac Bodhisattva
Joined: 30 May 2002 Posts: 6553 Location: Japanifornia
|
Posted: Thu Aug 22, 2002 8:27 pm Post subject: |
|
|
Does booting in single-user mode help? Add "single" to the kernel parameters at boot time in your bootloader. _________________ For every higher wall, there is a taller ladder |
|
Back to top |
|
|
fmalabre Guru
Joined: 19 Jun 2002 Posts: 376 Location: Chicago
|
Posted: Thu Aug 22, 2002 8:28 pm Post subject: |
|
|
Can you boot from the Gentoo ISO CD, and mount your partition to be able to change the /etc/passwd ? |
|
Back to top |
|
|
frippz Guru
Joined: 22 Aug 2002 Posts: 460 Location: Sweden
|
Posted: Thu Aug 22, 2002 10:29 pm Post subject: |
|
|
During the forum down time some interesting stuff happened...
I was still able to log on to Webmin and with it recreate the root account.
It seems like everything is working the way it should.
The only thing is that the alias ls --color seems to be gone. Wasn't there a file where you could set this alias on a global basis?
I just can't remember wich one it is...
Anyways, thanx for all help!
Edit: Never mind! I found the file! (/etc/profile.env) |
|
Back to top |
|
|
pjp Administrator
Joined: 16 Apr 2002 Posts: 20067
|
Posted: Thu Aug 22, 2002 11:22 pm Post subject: |
|
|
Try a search for 'alias' and 'color'. _________________ Quis separabit? Quo animo? |
|
Back to top |
|
|
rommel Veteran
Joined: 19 Apr 2002 Posts: 1145 Location: Williamsburg Virginia
|
Posted: Fri Aug 23, 2002 2:49 am Post subject: |
|
|
but i was promised "moron of the year"... |
|
Back to top |
|
|
frippz Guru
Joined: 22 Aug 2002 Posts: 460 Location: Sweden
|
Posted: Fri Aug 23, 2002 7:09 am Post subject: |
|
|
Hmmm, well... since I was able to fix the mistake on my own, you may still be eligible for the title! |
|
Back to top |
|
|
steblublu n00b
Joined: 12 Jul 2002 Posts: 49 Location: montreal, canada
|
Posted: Fri Aug 23, 2002 7:45 am Post subject: |
|
|
*Levi* wrote: | Hmmm, well... since I was able to fix the mistake on my own, you may still be eligible for the title! |
we'll let both of you be morons. enjoy.
|
|
Back to top |
|
|
ozric100 Tux's lil' helper
Joined: 23 Apr 2002 Posts: 136
|
Posted: Fri Aug 23, 2002 3:57 pm Post subject: |
|
|
You picked Gentoo... So you can't be to much of a moron! |
|
Back to top |
|
|
rommel Veteran
Joined: 19 Apr 2002 Posts: 1145 Location: Williamsburg Virginia
|
Posted: Fri Aug 23, 2002 8:28 pm Post subject: |
|
|
OH COOOL!!!...uh i think...lol |
|
Back to top |
|
|
|