Solved

How do you grant a new user sudo access

Posted on 2015-01-08
4
199 Views
Last Modified: 2015-01-12
How do grant a new user sudo privileges?
0
Comment
Question by:sajmf0408
  • 2
4 Comments
 
LVL 84

Expert Comment

by:ozo
ID: 40538362
see `man sudoers`
0
 
LVL 22

Accepted Solution

by:
blu earned 500 total points
ID: 40538783
The first question is, so you have sudo installed? The sudo feature does not come bundled with Solaris 10. However, it is available on the Solaris 10 companion disk. So, if sudo is not installed, you will need to install it from the companion disk.

Once it is installed, then you can do "man sudoers" as suggested above.

The quick and dirty way to add a user is to add a line like this to the sudoers file (/etc/sudoers):

username ALL=(ALL) ALL

This gives total access to the user though. This is probably okay for a lab environment, but you might want to be
more restrictive in a production setting. Relly, you need to read the man page to understand what you really need.
0
 

Author Comment

by:sajmf0408
ID: 40540029
I will try that.  Thanks.
0
 

Author Closing Comment

by:sajmf0408
ID: 40545255
Thanks. It worked.  I will continue reading the man pages.
0

Featured Post

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

A metadevice consists of one or more devices (slices). It can be expanded by adding slices. Then, it can be grown to fill a larger space while the file system is in use. However, not all UNIX file systems (UFS) can be expanded this way. The conca…
This tech tip describes how to install the Solaris Operating System from a tape backup that was created using the Solaris flash archive utility. I have used this procedure on the Solaris 8 and 9 OS, and it shoudl also work well on the Solaris 10 rel…
Learn how to get help with Linux/Unix bash shell commands. Use help to read help documents for built in bash shell commands.: Use man to interface with the online reference manuals for shell commands.: Use man to search man pages for unknown command…
Learn how to navigate the file tree with the shell. Use pwd to print the current working directory: Use ls to list a directory's contents: Use cd to change to a new directory: Use wildcards instead of typing out long directory names: Use ../ to move…

929 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

11 Experts available now in Live!

Get 1:1 Help Now