ok. i am going to do some weird stuff on this machine. remove some security:
1. remove user password
2. remove need for sudo password
don’t ask me why. just assume it is necessary:
1. remove sudo password:
type visudo command and add the following line:
%admin ALL=NOPASSWD: ALL
It says that password not required for the users who are in group of admin.
2. remove user password:
sudo vi /etc/shadow
go to the line with the username for which the password has to be removed. it looks like this:
userxyz:$6$giXG57Zp$U62sNa:15288:0:99999:7:::
remove everything between the second and third colon (in this case “$6$giXG57Zp$U62sNa”.
just leaving the line to look like:
userxyz::15288:0:99999:7:::