Do you ever wanted to grant "root" priviledges to a user without having to type the root password?
I needed to have a user capable of performing "admin" tasks at same level as "root". In order to get things done, I created a user called admin, member of group "users" with password locked (passwd -l admin). This step is important, because it means that no one except root will be able to access the account.
To grant "admin" unlimited access without password, i had to type sudo and include at the end the following line:
To grant "admin" unlimited access without password, i had to type sudo and include at the end the following line:
admin ALL=(ALL) NOPASSWD: ALL
Have a nice day!!! : )
Have a nice day!!! : )
No hay comentarios:
Publicar un comentario