Hi,

On Tue, Sep 09, 2025 at 01:23:23PM -0400, Dan Langille wrote:
> > Interesting.  So does "grep foo /etc/passwd" turn up anything?
> 
> Yes, it finds the expected user (which is not actually foo).
> 
> [17:22 gw01 dvl ~] % grep foo /etc/passwd           
> foo:*:1002:1002:User &:/usr/home/foo:/bin/sh
> 
> [17:22 gw01 dvl ~] % grep foo /etc/group            
> wheel:*:0:root,dvl,foo
> foo:*:1002:

ok... so anything that ended up in the environment which might prompt
"logger" to use that?

Logger source says

        if (tag == NULL)
                tag = getlogin();

and that is documented as

     The getlogin() routine returns the login name of the user associated with
     the current session, as previously set by setlogin().  The name is
     normally associated with a login shell at the time a session is created,
     and is inherited by all processes descended from the login shell.  (This
     is true even if some of those processes assume another user ID, for
     example when su(1) is used).

so I guess it might be the user that started "sudo openvpn".

gert
-- 
"If was one thing all people took for granted, was conviction that if you 
 feed honest figures into a computer, honest figures come out. Never doubted 
 it myself till I met a computer with a sense of humor."
                             Robert A. Heinlein, The Moon is a Harsh Mistress

Gert Doering - Munich, Germany                             g...@greenie.muc.de

Attachment: signature.asc
Description: PGP signature

_______________________________________________
Openvpn-users mailing list
Openvpn-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/openvpn-users

Reply via email to