Enable or Disable user/root account on Ubuntu 13.04 12.10 12.04 Debian
1. Disable user/root on Ubuntu
passwd: password expiry information changed.
root@ubuntu:~#
root@ubuntu:~# passwd -l kevin
passwd: password expiry information changed.
root@ubuntu:~#
Try to login with disabled user
Password:
su: Authentication failure
ubuntu@ubuntu:~$
2. Enable User/Account on Ubuntu
Enter new UNIX password:
Retype new UNIX password:
passwd: password updated successfully
ubuntu@ubuntu:~$ su kevin
Password:
$
3. Enable root account on Ubuntu
Enter new UNIX password:
Retype new UNIX password:
passwd: password updated successfully
ubuntu@ubuntu:~$
That’s it. Thanks for using IThelpblog.com
Leave a reply