LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - General (https://www.linuxquestions.org/questions/linux-general-1/)
-   -   what's the difference between running "id" and "id <username>"? (https://www.linuxquestions.org/questions/linux-general-1/whats-the-difference-between-running-id-and-id-username-313103/)

hesher 04-14-2005 04:20 AM

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.

eternallySecure 04-14-2005 07:04 PM

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


All times are GMT -5. The time now is 09:12 PM.