LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Other *NIX Forums > Solaris / OpenSolaris
User Name
Password
Solaris / OpenSolaris This forum is for the discussion of Solaris, OpenSolaris, OpenIndiana, and illumos.
General Sun, SunOS and Sparc related questions also go here. Any Solaris fork or distribution is welcome.

Notices


Reply
  Search this Thread
Old 08-17-2010, 10:36 PM   #1
Punareay
LQ Newbie
 
Registered: Jul 2009
Posts: 11

Rep: Reputation: 0
Question user privilege


i want set some root privilege to a normal user. unlike the Redhat or Fefora, I dont see /etc/sudoers file. how can i do? please give me some solution.
 
Old 08-18-2010, 12:46 AM   #2
evo2
LQ Guru
 
Registered: Jan 2009
Location: Japan
Distribution: Mostly Debian and CentOS
Posts: 6,724

Rep: Reputation: 1705Reputation: 1705Reputation: 1705Reputation: 1705Reputation: 1705Reputation: 1705Reputation: 1705Reputation: 1705Reputation: 1705Reputation: 1705Reputation: 1705
Install sudo. Then create or modify /etc/sudoers

Evo2.
 
Old 08-18-2010, 01:09 AM   #3
jlliagre
Moderator
 
Registered: Feb 2004
Location: Outside Paris
Distribution: Solaris 11.4, Oracle Linux, Mint, Debian/WSL
Posts: 9,789

Rep: Reputation: 492Reputation: 492Reputation: 492Reputation: 492Reputation: 492
Or better, use the Solaris native way: rbac.

eg: grant all administrative privileges to a user:

Code:
usermod -P 'Primary Administrator' punareay
 
1 members found this post helpful.
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
User privilege script Punareay Programming 6 08-24-2009 03:51 AM
Giving privilege to user Corrado Linux - Security 5 08-20-2008 05:19 PM
Super user privilege pvpnguyen Linux - Security 4 02-01-2008 10:35 AM
Maximum User Privilege Crito General 4 08-09-2006 09:11 AM
Ulimit privilege for a user linuxfans Linux - General 3 04-16-2003 12:03 PM

LinuxQuestions.org > Forums > Other *NIX Forums > Solaris / OpenSolaris

All times are GMT -5. The time now is 07:36 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration