- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Identifying user / group privilages from command l...
Categories
Company
Local Language
Forums
Discussions
- Integrity Servers
- Server Clustering
- HPE NonStop Compute
- HPE Apollo Systems
- High Performance Computing
Knowledge Base
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Knowledge Base
Forums
Discussions
- Cloud Mentoring and Education
- Software - General
- HPE OneView
- HPE Ezmeral Software platform
- HPE OpsRamp Software
Knowledge Base
Discussions
Forums
Discussions
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Community
Resources
Forums
Blogs
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-12-2002 09:18 PM
12-12-2002 09:18 PM
Is there any command which I can execute (not as a root but as a normal user) to identify which privilages belongs to a particular user. In other words, all privilages belonging to a specific group?
Regards,
Sanjay
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-12-2002 09:25 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-12-2002 09:27 PM
12-12-2002 09:27 PM
Re: Identifying user / group privilages from command line
Have a look at
id
groups
logname
finger
There are man pages for each of these.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-12-2002 09:27 PM
12-12-2002 09:27 PM
Re: Identifying user / group privilages from command line
I would like to know which directories or other privilages a specific user have.
Regards, Sanjay
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-12-2002 09:30 PM
12-12-2002 09:30 PM
Re: Identifying user / group privilages from command line
e.g
# find /home -type f -user fred -print | xargs ll
# find /home -type d -user fred -print | xargs ll
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-12-2002 09:47 PM
12-12-2002 09:47 PM
Re: Identifying user / group privilages from command line
What about if I want to see that information about other users also (apart from myself - logged in)?
Also, what does "||" refers to in your command as I am getting error mesg. while executing it:
find /home -type f -user icare -print | xargs ||
In brief, when I'm logged in as user "A", I would like to see the users & groups privilages of users "B", "C", "D" etc.
~Sanjay
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-12-2002 09:54 PM
12-12-2002 09:54 PM
Re: Identifying user / group privilages from command line
The ll is el el
Like ls -l
To view the group priviledges of another user
# id -nr username
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-12-2002 10:38 PM
12-12-2002 10:38 PM
Re: Identifying user / group privilages from command line
Help me out in this. I have a user "A" belonging to group "G1" on Server 1. I want to create another user "B" belonging to group "G2" on Server 2 making sure that all directories that group "G1" has access to Server 1, also, group "G2" must have access to same set of directories/files on Server 2.
How can I determine which all access group G1 has on Server 1 so that I can have the same set of setup on Server 2.
Hope this's not confusing.
Thankx