From: | "Simon 'corecode' Schubert" <corecode@xxxxxxxxxxxx> |
Date: | Sat, 17 Jul 2004 17:34:42 +0200 |
this might come from a set $USER variable. try using su -m - compile
cheers simon
A) ssh root@dgfly1 # logger test
and I view in dgfly1 on /var/log/messages Jul 17 15:37:34 <1.5> dgfly1 root: test
OK
B) ssh root@dgfly1 # su - compile $ id uid=1001(compile) gid=1001(compile) groups=1001(compile) $ logger test
and I view in dgfly1 on /var/log/messages Jul 17 15:39:34 <1.5> dgfly1 root: test
NOK why not log effective user ? (compile) rather than root
same pb if first ssh user is not root and su to root...
Regards
Rmkml@xxxxxxxxxx
-- /"\ \ / \ ASCII Ribbon Campaign / \ Against HTML Mail and News
Attachment:
PGP.sig
Description: This is a digitally signed message part