Results 1 to 3 of 3
Coworker says he logs into putty as his normal login, lets say jsmith but when he runs ID on the server he is logged onto it shows root user instead. ...
- 11-23-2011 #1
- 11-23-2011 #2Linux Guru
- Join Date
- May 2011
- Posts
- 1,843
have him check the PS1 variable:
andCode:echo $PS1
maybe id is aliased to a sudo command:Code:echo $USER
check sudo commands:Code:which id
Code:sudo -l
- 11-24-2011 #3Linux Enthusiast
- Join Date
- Jul 2005
- Location
- Maryland
- Posts
- 521
It probably uses root's UID and GID.
To verify it:
Those settings are stored in /etc/passwdCode:id root id jsmith
That's where they can be changed.


Reply With Quote