List users who have administrative access


 
Thread Tools Search this Thread
Operating Systems Solaris List users who have administrative access
# 1  
Old 12-04-2008
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
# 2  
Old 12-04-2008
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.
# 3  
Old 12-04-2008
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
I am not sure however you can try
Quote:
profiles
# 5  
Old 12-04-2008
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.
# 6  
Old 12-04-2008
you can check this:
# grep "userA" /etc/user_attr
or
after su - userA
#roles
This will provide the roles assigned to this user
# 7  
Old 12-05-2008
Thankyou all
Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. Solaris

How to check sudo access of other users?

Hi, I always use "sudo -U user -l" as root and it gives me list of sudo access, that person have. But on one Solaris server, I can't run it. recently only I installed latest patchset on this server. Not sure, if that changed something on this. However, sudo package is showing old one. # id -a... (1 Reply)
Discussion started by: ron323232
1 Replies

2. Solaris

samba read write access to owner and no access to other users

Hi All, I want to configure samba share permission so that only directory creator/owner has a read and write permission and other users should not have any read/write access to that folder.Will that be possible and how can this be achieved within samba configuration. Regards, Sahil (1 Reply)
Discussion started by: sahil_shine
1 Replies

3. Shell Programming and Scripting

Access rights for users - list

Hi, I would like to retrieve a list of user ids on an AIX server along with the access rights that each id has? Can someone please help me on how this can be achieved? Gayathri (3 Replies)
Discussion started by: ggayathri
3 Replies

4. HP-UX

access to .beroot for users

Hp info HP-UX tmelps04 B.11.31 U ia64 issue I created a user in his primary group is sysadmin. However when this user executes HPPI he gets shot down because he is not a super user. How do I grant the user permissions to access the beroot script? Sorry, user xxxxxx is not allowed to execute... (2 Replies)
Discussion started by: sctxms
2 Replies

5. UNIX for Dummies Questions & Answers

kernel giving access for multiple users to access files

hi all, i want to know y kernel is giving access for multiple users to access a file when one user may be the owner is executing that file. Because other user can manipulate that file when the other user is executing that file, it will give the unexpected result to owner . plz help me... (1 Reply)
Discussion started by: jimmyuk
1 Replies

6. UNIX for Dummies Questions & Answers

Access another users files

Hi, I want to access another users files and directories.Is there any command to do in unix ??.I think CHOWN would work.May i know the exact command for it. Regards, (1 Reply)
Discussion started by: William1482
1 Replies

7. Shell Programming and Scripting

Splitting a list @list by space delimiter so i can access it by using $list[0 ..1..2]

EDIT : This is for perl @data2 = grep(/$data/, @list_now); This gives me @data2 as Printing data2 11 testzone1 running /zones/testzone1 ***-*****-****-*****-***** native shared But I really cant access data2 by its individual elements. $data2 is the entire list, while $data,2,3...... (1 Reply)
Discussion started by: shriyer
1 Replies

8. AIX

cloning users access with different user name

Hi! this would be my first time to post here in this forums, hope you can help me with my queries. i would like to create a different user name but have the same access rights. Example: root > rootbaby. thanks (5 Replies)
Discussion started by: HPL1706
5 Replies

9. UNIX for Advanced & Expert Users

Restrict access to specific users.

Hi All! I would like to know if there is any specific way by which I can restrict access to apecific users (ip addresses). OS : Red hat linux Thanks! nua7 (6 Replies)
Discussion started by: nua7
6 Replies

10. UNIX for Advanced & Expert Users

Creating USERs with restricted Access

Hi There, i need to creat USERS in UNIX with restricted access to different directories. for example user1 should have access to dir1 and dir2 user2 should have access to dir2 and dir3 Please help me (4 Replies)
Discussion started by: ramanan25
4 Replies
Login or Register to Ask a Question