sudo without password solaris 11.3

por | 14 diciembre, 2018

When a user is specified during installation a few things happen, it gets the «root» role and so on, but it also creates the following file

[email protected]:/# cat /etc/sudoers.d/svc-system-config-user
kenny ALL=(ALL) ALL

change to:

[email protected]:/# cat /etc/sudoers.d/svc-system-config-user
kenny ALL=(ALL) NOPASSWD: ALL