LinuxQuestions.org
Visit the LQ Articles and Editorials section
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices



Reply
 
Search this Thread
Old 04-14-2005, 05:20 AM   #1
hesher
LQ Newbie
 
Registered: Jun 2003
Posts: 17

Rep: Reputation: 0
what's the difference between running "id" and "id <username>"?


Hi,
What's the difference running "id" and "id <user>".
The reason i'm asking is that i get different results ("id" is missing a group that i belong to, which i added my self to recently)

I am using NIS.

Thanks,
Hesher.
 
Old 04-14-2005, 08:04 PM   #2
eternallySecure
LQ Newbie
 
Registered: Apr 2005
Distribution: FreeBSD, Fedora Core 3
Posts: 23

Rep: Reputation: 15
id defaults to your username. id <user> checks somebody else.
I don't know why it isn't reporting your group (did you reboot? I doubt you would need to, but I don't know for sure).
Try typing groups, and see if you're listed there.

--RF
 
  


Reply


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 On
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
newbie question: whats the difference between "su root", "su" and "su -&quo mojarron Slackware 9 12-07-2009 05:08 PM
Why "bash-2.05b$" in Terminal instead of "username@localhost username" jayelitumbiolo Linux - General 9 10-04-2009 04:16 AM
Can you explain the difference between "Free Software (GNU)" and "Open Source"? vharishankar General 5 03-03-2005 10:40 AM
difference between "Web server local URL" and "IPv4 address"? kpachopoulos Linux - General 2 09-17-2004 02:30 PM
"User" & "System" CPU load difference JJX Linux - General 3 06-06-2004 02:42 AM


All times are GMT -5. The time now is 03:55 AM.

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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration