"Debian Etch"
Hi, I just managed to fiddle around with sudo and stuff, and locked myself out. Before that; when i used "sudo" it didn't accept my root password. So i tried to get it working. These are the commands I used. (kuratkull - uprivileged user, root - root)
under "su":
Quote:
|
sudo adduser kuratkull admin
|
(i should've replaced admin with root?)
tried
after some fiddling I thought that it wasn't worth it and as i thought i had enabled sudo before, i wanted to disable it with the next command:
under "su"
now i can login under my unprivileged user, but nothing accepts my root password.
Is there a way to get access to the root account :/
(although I think it's very unlikely, these systems are sturdy)
PS: Later OSSEC notified:
Quote:
Received From: localhost->/var/log/auth.log
Rule: 5901 fired (level 8) -> "New group added to the system"
Portion of the log(s):
groupadd[8713]: new group: name=admin, GID=1002
|
Quote:
Received From: localhost->/var/log/auth.log
Rule: 5904 fired (level 8) -> "Information from the user was changed"
Portion of the log(s):
chfn[8722]: changed user `admin' information
|