Quantcast
Channel: I broke logins to my server by fiddling with /etc/passwd and /etc/shadow - Ask Ubuntu
Browsing latest articles
Browse All 2 View Live

Answer by Danny Staple for I broke logins to my server by fiddling with...

I'd start by using touch to recreate the shadow file, chmod'ing it to 0600 owned by root, and then using useradd to create a new user, and make sure they are in a wheel/admin group so they can sudo -...

View Article



I broke logins to my server by fiddling with /etc/passwd and /etc/shadow

I am running an Ubuntu Server (with ebox/zentyal installed). I believe it uses a combination of LDAP users and local users but I currently cannot login (through SSH) with any of them.I was trying to...

View Article
Browsing latest articles
Browse All 2 View Live




Latest Images