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 18:09:04 +0200

On 17.07.2004, at 17:59, rmkml wrote:
ssh root@dgfly1
# su -m - compile
$ id
uid=1001(compile) gid=1001(compile) groups=1001(compile)
$ logger test
$ echo $USER
compile

and I view in dgfly1 on /var/log/messages
Jul 17 19:47:03 <1.5> dgfly1 root: test

do you have tested -m flags ?

Okay my fault. logger(1) performs an openlog(getlogin(), ...). This means it will always log with the name of the user who owns the session, unless you specify another tag to use.


cheers
  simon

--
/"\
\ /
 \     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]