[sudo-users] Help with sudo in sparse zone
Russell Van Tassell
russell+sudo-users at loosenut.com
Wed May 20 14:47:17 EDT 2009
On Tue, May 19, 2009 at 10:03:17AM -0400, Anup Kumar Sinha wrote:
> [list owner's note: the list server had trouble parsing the html in
> the original message so I've extracted it into this new message.]
> I have created rppt sparse zone in solaris 10, but I am unable to
> use sudo in the zone. Sudo is working in the global zone perfectly.
> Is there any specific setting for a non-global zone?
> Please help.
It would be helpful to know what errors you are getting... in a
sparse zone, by default you're more likely NOT going to get a
default sudoers file copied over in to /etc ... copying that over
and maintaining permissions should be the only thing you need to
Also, if you run sudo off of a non-inherited partition (defaults
to /lib, /platform, /sbin, /usr), you will probably need to mount
the partition (eg. /usr/local).
Lastly... you might also need to check that the partition that
you run "sudo" from allows setuid (check the mount table).
Note: I'm running a "shared" sudo across Solaris 10 zones without
any apparent issue.
Hope that helps...
More information about the sudo-users