#vim /etc/ssh/sshd_config
# Authentication: LoginGraceTime 120 #PermitRootLogin without-password #Find here, comment it PermitRootLogin yes #Change to yes and restart ssh StrictModes yes
#service ssh restart
or
/etc/init.d/ssh restart
Get root privileges
method one:
1. set a password for root: sudo passwd root 2. using command to get root role: su 3. enter the root's password set in step 1
Method Two:
1. login ubuntu with customer account 2. run command: sudo su 3. enter customer account's password