logger effective uid pb ?

Simon 'corecode' Schubert corecode at fs.ei.tum.de
Sat Jul 17 09:09:56 PDT 2004


On 17.07.2004, at 17:59, rmkml wrote:
ssh root at 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
-------------- next part --------------
A non-text attachment was scrubbed...
Name: pgp00006.pgp
Type: application/octet-stream
Size: 186 bytes
Desc: "Description: This is a digitally signed message part"
URL: <http://lists.dragonflybsd.org/pipermail/bugs/attachments/20040717/8bd6e65b/attachment-0016.obj>


More information about the Bugs mailing list