Where is sudoers file in solaris




















If you have sudo , the visudo command should tell you where the sudoers file is. Solaris has a more advanced privilege system than that. For example you can allow someone access to privileged ports without giving general root access. To do what sudo does, add the "Primary Administrator" profile to the user:. In there you'll see a list of the fine grained privileges in the profile. It depends where it was compiled into sudo; it can basically be anywhere, as long as the sudo and visudo tools both know about it.

There was no visudo command. Sign up to join this community. The best answers are voted up and rise to the top. Stack Overflow for Teams — Collaborate and share knowledge with a private group. Create a free Team What is Teams? Learn more. Where is the sudoers file on Solaris?

Operating Systems Solaris sudoers file not found. Registered User. Join Date: Nov I want to create a user by name jda and assign him root privileges. How can I do that using sudo command and editing sudoers file. Please help me. Administrator Emeritus.

Join Date: Mar You would need to install sudo first. Thank you so much. Join Date: May You can get it from here and install. Example to install a package on Solaris 9: pkgadd -d sudo I have solaris 10 and will the package be available for sure in the system or do I have to download it first before installing??? Nope, you have to download and install package sudo Last edited by incredible; at AM..

No sudo privileges are required on source environments running HP-UX. On the HP-UX target, sudo access to mount and umount is required as with other operating systems. In situations where security requirements prohibit giving the Delphix user root privileges to mount, unmount, make directory, and remove directory on the global level, it is possible to configure the sudoers file to provide these privileges only on specific mount points or from specific Delphix Engines, as shown in these two examples.

The Delphix Engine tests its ability to run the mount command using sudo on the target environment by issuing the sudo mount command with no arguments. Many of the examples shown in this topic do not allow that. This causes a warning during environment discovery and monitoring, but otherwise does not cause a problem. If your VDB operations succeed, it is safe to Ignore this warning. Community Bot 1 1 1 silver badge. Radan Radan 1, 5 5 gold badges 24 24 silver badges 37 37 bronze badges.

Add a comment. Active Oldest Votes. Improve this answer. Collin P Collin P 21 4 4 bronze badges. Tim S. Thank you Tim for you kind help, i have updated the question with the sudo -l result. With what you are posting, user "localuser" should be able to run "sudo ifconfig". Should work like that. Sign up or log in Sign up using Google.



0コメント

  • 1000 / 1000