Categories
Company
Local Language
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Discussions
Discussions
Forums
Forums
Discussions
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
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
тАО05-12-2002 10:39 PM
тАО05-12-2002 10:39 PM
Is there a way in which the id command could be specified to display the uid of any other users, besides only displaying the uid of the current user which had invoked the following ?:
$id
I'm running $id as root, but whenever I tried displaying the uid of other users, it would only display the uid of the current user, i.e myself.
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-12-2002 10:47 PM
тАО05-12-2002 10:47 PM
Re: user uid
Try
#id user
id followed by user name,it will display the user id of that perticular user.
Hope that is what you are looking for.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-12-2002 10:48 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-12-2002 10:51 PM
тАО05-12-2002 10:51 PM
Re: user uid
You must state the userid name or number as well in the same argument.
# id tully
uid=105(tully) gid=20(users) groups=1(staff)
Have a look at the man page for 'id' for further options.
Cheers
~Michael
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-12-2002 11:02 PM
тАО05-12-2002 11:02 PM
Re: user uid
If you are working as super-user
you can use the
#logins
command to find out all the usernames,their groups,uid,gid
Also you can use
cat /etc/passwd|awk -F ":" '{print $1,$3}'
(to have the username and uid's).
THanks
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-13-2002 12:06 AM
тАО05-13-2002 12:06 AM
Re: user uid
finger
But unfortunately this does not display the uid
John