LinuxQuestions.org
Review your favorite Linux distribution.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 11-22-2011, 07:00 AM   #1
pawan613
LQ Newbie
 
Registered: Sep 2011
Posts: 23

Rep: Reputation: Disabled
Question How to check SID of users and groups in Ubuntu?


Hello members,
I'm using Ubuntu 10.10 and need to check SID of different users and groups.
From Users and Group what I can see is User ID.
In windows the SID is something like:
S-1-5-21-796845957-746137067-1343024091-1003

So, similarly I want to check in linux as well.
Please help me how to view SID in linux.
Thank you.
 
Old 11-22-2011, 05:48 PM   #2
kbp
Senior Member
 
Registered: Aug 2009
Posts: 3,790

Rep: Reputation: 650Reputation: 650Reputation: 650Reputation: 650Reputation: 650Reputation: 650
You may be able to do it via an ldap query, I'm not aware of any user2sid/sid2user equivalent for linux.
 
Old 11-23-2011, 12:28 AM   #3
pawan613
LQ Newbie
 
Registered: Sep 2011
Posts: 23

Original Poster
Rep: Reputation: Disabled
Thanks kbp for quick reply,
Can you please be clear on what you saying?
I mean I don't understand what an ldap query is.
 
Old 11-23-2011, 06:25 AM   #4
kbp
Senior Member
 
Registered: Aug 2009
Posts: 3,790

Rep: Reputation: 650Reputation: 650Reputation: 650Reputation: 650Reputation: 650Reputation: 650
Active directory is an ldap compliant directory, using tools like ldapsearch you can obtain information which is stored in the directory as attributes. A users sid will be stored in the directory and therefore can be obtained by querying the directory.
 
Old 11-23-2011, 07:44 AM   #5
pawan613
LQ Newbie
 
Registered: Sep 2011
Posts: 23

Original Poster
Rep: Reputation: Disabled
Oh,
Great info.
Thanks kbp.
 
  


Reply

Tags
sid, ubuntu+10.10


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
LXer: Users and Groups management in Ubuntu LXer Syndicated Linux News 0 11-16-2009 06:00 PM
System Groups from Users and Groups measekite Linux - General 3 05-05-2009 10:22 PM
ubuntu question: cannot open System > Administration > Users and Groups numtre Ubuntu 3 03-27-2009 04:58 AM
Users and Groups, Root Access, Ubuntu numtre Linux - Software 2 03-27-2009 04:56 AM
Sid users - lsymbol getxattr, version Sid : ATTR_1.0 not defined in file libattr.so.1 nx5000 Debian 2 12-19-2006 04:54 AM


All times are GMT -5. The time now is 12:56 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration