LinuxQuestions.org
Register a domain and help support LQ
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-28-2004, 01:31 PM   #1
bikov_k
Member
 
Registered: Sep 2004
Distribution: Fedora Core 5
Posts: 33

Rep: Reputation: 15
problem with command "id"


Here is the output of id with and without extra parameters and the last 2 lines of my /etc/passwd and /etc/group files. Please tell me why the output of the two id commands differ . How is that possible? 10x!

[kalo@glin kalo]$ id
uid=500(kalo) gid=501 groups=500(kalo),501
[kalo@glin kalo]$ id kalo
uid=500(kalo) gid=10000(shared) groups=10000(shared),500(kalo)

[kalo@glin kalo]$ tail -2 /etc/passwd
kalo:x:500:10000::/home/kalo:/bin/bash
shared:x:10000:10000wner of all shared stuff:/shared:/bin/bash
[kalo@glin kalo]$ tail -2 /etc/group
kalo:x:500:kalo
shared:x:10000:root,kalo,krem,ivo,neli,ftp-user,web-user,smb-user
 
Old 11-28-2004, 03:46 PM   #2
btmiller
Senior Member
 
Registered: May 2004
Location: In the DC 'burbs
Distribution: Arch, Scientific Linux, Debian, Ubuntu
Posts: 4,275

Rep: Reputation: 370Reputation: 370Reputation: 370Reputation: 370
Did you change your primary GID with the newgrp command somehow?
 
  


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



Similar Threads
Thread Thread Starter Forum Replies Last Post
Shell Script: Find "Word" Run "Command" granatica Linux - Software 5 07-25-2007 08:42 AM
"stalled" problem in " scp" command gentleshark Linux - Software 1 08-30-2005 03:08 AM
"stalled" problem in " scp" command gentleshark Linux - Networking 1 08-29-2005 01:41 PM
Tiny Sofa 2.0 - I thought "halt", "reboot" were only root command ?? sorcerer Linux - Distributions 1 08-21-2004 04:28 PM
"segmentation error" when issuing "useradd" command through terminal with RH 9.0 kaihuang Linux - General 0 10-22-2003 12:47 AM


All times are GMT -5. The time now is 07:34 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