I am doing this on Solaris 11. When i open '/etc/nsswitch.conf' i see this -
... sudoers: files ...
I would like to change this to -
... sudoers: files ldap ...
I tried editing the file directly, but when i reboot host, changes are lost. I tried using svcfg, but that didnt work -
root@solaristhost:/# svccfg svc:> select name-service/switch svc:/system/name-service/switch> setprop config/sudoers = "files ldap" Type required for new properties. svc:/system/name-service/switch> exit
Is there some way to set the 'sudoers' value in nsswitch permanently using the svccfg command or some other command?