Here is what I have done:
Change a username in the last line:
tiny@tty7:~$ sudo vim /etc/passwd
- Change this:
tiny@tty7:~$ sudo vim /etc/shadow
[sudo] passwork for abc:
I didn't change my password but it can't login root!
I type Ctrl+Alt+F1 to
tty1but neither tiny or abc can't login with my password
and I try to look at
ls ～ -la, here it shows like this:
drwxr-xr-x 28 abc tiny 4096 Apr 6 03:04 .
How can I login root? and why the user name in prompt
tiny@tty7 still be tiny while in sudo it show the abc's password?