DragonFly BSD
DragonFly bugs List (threaded) for 2004-07
[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]

Re: logger effective uid pb ?


From: "Simon 'corecode' Schubert" <corecode@xxxxxxxxxxxx>
Date: Sat, 17 Jul 2004 17:34:42 +0200

hello rmkml,

this might come from a set $USER variable. try using
su -m - compile

cheers
  simon

On 17.07.2004, at 13:48, rmkml wrote:

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



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