Originally Posted by rushenas
I have editted the /etc/passwd file, and I have changed the root entry to admin. I've heard that this way I can increase my server security. But now I can't access my server! When I try to login with root
, it says access denied. With admin
, Linux says:
Permissions on the password database may be too restrictive.
How can I access my system? The server runs SuSE Linux Enterprise Server 10. And I can access it physically.
That would have worked had you also changed
/etc/shadow to use admin instead of root.
As /usr/darien said: try to boot into single-user
mode specifying /bin/bash as your init on the boot
loader prompt (because these days most distros will
prompt you for a password just the same if you just
go 'single'). Or use a live CD to undo the changes.