Tuesday, October 14, 2014

The Safer Ubuntu

Usually, UNIX-like have weakness (at least that what I though) on password changing. Take the OS X, by default we don't have root password, but we could just $sudo su and then #passwd and tadaa..., we have super users password, we are super user.

but take a look at my ubuntu terminal

nugroho@ubuntu:~$ passwd
Changing password for nugroho.
(current) UNIX password: 
Enter new UNIX password: 
Retype new UNIX password: 
Bad: new and old password are too similar
Enter new UNIX password: 
Retype new UNIX password: 
passwd: password updated successfully
nugroho@ubuntu:~$ passwd
Changing password for nugroho.
(current) UNIX password: 
Enter new UNIX password: 
Retype new UNIX password: 
Sorry, passwords do not match
passwd: Authentication token manipulation error
passwd: password unchanged
nugroho@ubuntu:~$ 
nugroho@ubuntu:~$ passwd
Changing password for nugroho.
(current) UNIX password: 
Enter new UNIX password: 
Retype new UNIX password: 
passwd: password updated successfully
nugroho@ubuntu:~$ 
.