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

root@kenia:/# cat /etc/sudoers.d/svc-system-config-user
kenny ALL=(ALL) ALL

change to:

root@kenia:/# cat /etc/sudoers.d/svc-system-config-user
kenny ALL=(ALL) NOPASSWD: ALL