List users who have administrative access | Unix Linux Forums | Solaris

  Go Back    


Solaris The Solaris Operating System, usually known simply as Solaris, is a Unix-based operating system introduced by Sun Microsystems. The Solaris OS is now owned by Oracle.

List users who have administrative access

Solaris


Closed Thread    
 
Thread Tools Search this Thread Display Modes
    #1  
Old 12-04-2008
James777 James777 is offline
Registered User
 
Join Date: Dec 2008
Last Activity: 18 February 2009, 1:33 PM EST
Posts: 8
Thanks: 0
Thanked 0 Times in 0 Posts
Question List users who have administrative access

Hi ,
Could you please give me the commands for the following.

1.list users who have direct access to solaris database at os-level
2.list users who have administrative access at os-level in solaris

Please also let me know how to figure out these specific users i need from a output which has many users that i dont need.

Thanks

james
Sponsored Links
    #2  
Old 12-04-2008
kumarmani kumarmani is offline
Registered User
 
Join Date: Sep 2008
Last Activity: 22 December 2011, 4:37 AM EST
Posts: 416
Thanks: 0
Thanked 3 Times in 3 Posts
Administrative rights are only accessible to root, however if you want to delegate rights in that case you have to create something which is called roles and user need to be assigned to those roles. To find what kind of role is assign to individuals user you can try roles <username > to find the roles which are granted to the given user . roles which is given to user can be view into the file /etc/user_attr.
Sponsored Links
    #3  
Old 12-04-2008
James777 James777 is offline
Registered User
 
Join Date: Dec 2008
Last Activity: 18 February 2009, 1:33 PM EST
Posts: 8
Thanks: 0
Thanked 0 Times in 0 Posts
User with administrative rights

thanks kumar,

actually i need to show a system generated output of users with administrative access & also users with access to the database.is there any commands.
    #4  
Old 12-04-2008
kumarmani kumarmani is offline
Registered User
 
Join Date: Sep 2008
Last Activity: 22 December 2011, 4:37 AM EST
Posts: 416
Thanks: 0
Thanked 3 Times in 3 Posts
I am not sure however you can try
Quote:
profiles
Sponsored Links
    #5  
Old 12-04-2008
seg seg is offline Forum Advisor  
Registered User
 
Join Date: Aug 2003
Last Activity: 22 December 2009, 12:41 AM EST
Posts: 260
Thanks: 0
Thanked 0 Times in 0 Posts
The contents of the following files coupled with a working understanding of Unix will provide the needed information.
/etc/passwd
/etc/group
/etc/sudoers (or /usr/local/etc/sudoers)

Database access depends on how the database is configured and your DBA can help you with that.
Sponsored Links
    #6  
Old 12-04-2008
incredible incredible is offline Forum Advisor  
Registered User
 
Join Date: May 2008
Last Activity: 1 June 2012, 4:25 AM EDT
Location: SINGAPORE.. The "FINE" City
Posts: 2,693
Thanks: 1
Thanked 19 Times in 19 Posts
you can check this:
# grep "userA" /etc/user_attr
or
after su - userA
#roles
This will provide the roles assigned to this user
Sponsored Links
    #7  
Old 12-05-2008
James777 James777 is offline
Registered User
 
Join Date: Dec 2008
Last Activity: 18 February 2009, 1:33 PM EST
Posts: 8
Thanks: 0
Thanked 0 Times in 0 Posts
Thankyou all
Sponsored Links
Closed Thread

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

More UNIX and Linux Forum Topics You Might Find Helpful
Thread Thread Starter Forum Replies Last Post
Access rights for users - list ggayathri Shell Programming and Scripting 3 09-14-2011 03:26 AM
access to .beroot for users sctxms HP-UX 2 03-09-2011 09:41 AM
kernel giving access for multiple users to access files jimmyuk UNIX for Dummies Questions & Answers 1 03-11-2010 12:28 PM
Access another users files William1482 UNIX for Dummies Questions & Answers 1 10-14-2009 08:17 AM
Splitting a list @list by space delimiter so i can access it by using $list[0 ..1..2] shriyer Shell Programming and Scripting 1 07-29-2009 02:05 PM



All times are GMT -4. The time now is 07:29 AM.