User sudo privileges in linux with no password

User can run any administrative command in Linux/ubuntu with no password instead putting password every time. 

Open file and put entry
$ sudo visudo
username ALL=(ALL) NOPASSWD:ALL

Post a Comment

Mới hơn Cũ hơn