I need to fix Ubuntu Accounts some how but don't really see how it could be done.
The problem is: files
/etc/hosts where changed.
127.0.0.1 localhost 127.0.1.1 John-The-Rippe
127.0.0.1 localhost 127.0.1.1 serg-Protege
I was trying to simply changed this files but can not do this because permission denied. When I'm trying to login as a root I got this message:
[email protected]:~$ sudo -s [sudo] password for John: John is not in the sudoers file. This incident will be reported
The file sudoers is empty:
[email protected]:~$ vi /etc/sudoers
When I type users in cp:
[email protected]:~$ users John John
When I type id, I got this:
[email protected]:~$ id uid=1000(John) gid=1000(serg) groups=1000(serg)
This doesn't work eather:
[email protected]:~$ usermod -l John serg usermod: user 'serg' does not exist [email protected]:~$ adduser serg adduser: Only root may add a user or group to the system. ater.
Then I tried to go to the GRUB menu and from there log in as a root. I did this, but however When I tryed to create user serg, It gave me an error that group already exist. When I tried to change /etc/passwd it said 'permission denied'
And this doens't do the trick:
[email protected]:~$ visudo visudo: /etc/sudoers: Permission denied visudo: /etc/sudoers: Permission denied
Also The last thing I tried to do is to create a bootable USB and reinstall ubuntu, however I can not open USB-Creator because it asked me a root passwd. But it doesn't work.
HELP ME PLEASE =)))
© Ask Ubuntu or respective owner