I need to have a way to login as admin on a new install of ubuntu server. I tried to log in as user root with my build password and that does not work. My problem is I need to change the samba server's conf file. Using sudo it says I don't have permissions when I log in with my regular user id. It did let me wipe out the permissions on the dir /etc/ which I somehow did by accident. 3 reload of the server.