I am writing a script that allows any user(with appropriate permissions) to 
install  packages and start/stop some services on opensolaris. As far as i know 
only Primary Administrator has the priviledge to perform these task. Is my 
understanding correct or any other role allows similar privilege?

Also whats the best way to find out if a given user has a particular role or 
not. Say in my script if i am looking if a particular user have Primary 
Administrator role or not. Is 
                      [i]profiles {USER} | grep -i Primary Administrator[/i]
 a good check or is there a better way?
-- 
This message posted from opensolaris.org

Reply via email to