• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 206
  • Last Modified:

How do you grant a new user sudo access

How do grant a new user sudo privileges?
0
sajmf0408
Asked:
sajmf0408
  • 2
1 Solution
 
ozoCommented:
see `man sudoers`
0
 
Brian UtterbackPrinciple Software EngineerCommented:
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
 
sajmf0408Author Commented:
I will try that.  Thanks.
0
 
sajmf0408Author Commented:
Thanks. It worked.  I will continue reading the man pages.
0

Featured Post

The 14th Annual Expert Award Winners

The results are in! Meet the top members of our 2017 Expert Awards. Congratulations to all who qualified!

  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now