[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

command id does not show the right id

From: Konarek Gerhard
Subject: command id does not show the right id
Date: Tue, 30 Mar 2004 14:50:31 +0200

We are working with duplicated IDs (useradd -o). Unfortunately some errors
occur if we run some scripts. The reason is, that some programs (e.g.
"make") obviously use the datas how the command "id" gives it - but these
datas are not valid in any case. Sometimes the following mistake occurs:

For the understanding:
2 userids with useradd -o, "oper1" and "root"
1st login with "oper1", then logout with "exit"
2nd login with root (as you see in the protocol)
--> different IDs are shown, depending on the command. Sometimes, the
reasons we donĀ“t know, the output synchronizes, so that the IDs are equal

This occurs not only with SuSE sles8, but with SuSE sles7 and SuSE
professional 9, too.

Welcome to SuSE SLES 8 (powered by UnitedLinux 1.0) (i586)\nKernel
2.4.21-198-smp (0).

aodb01 login: root
You have old mail in /var/mail/root.
Last login: Tue Mar 30 14:17:05 from AOCOM01-RZ
aodb01:~ # id
uid=0(oper1) gid=0(root) groups=0(root)
aodb01:~ # who
root     pts/0    Mar 30 14:17 (AOCOM01-RZ)
aodb01:~ # whoami
aodb01:~ # echo $LOGNAME
aodb01:~ # id
uid=0(oper1) gid=0(root) groups=0(root)
aodb01:~ # exit

It would be nice, if you tell us if this is a mistake or if we have a wrong

Best regards,

Gerhard Konarek

Apollo-Optik GmbH & Co.KG
Wallenrodstr. 3
91126 Schwabach

Phone   :  09122 / 831 - 472


reply via email to

[Prev in Thread] Current Thread [Next in Thread]