| List: | General Discussion | « Previous MessageNext Message » | |
| From: | Dan Nelson | Date: | November 30 2006 3:44am |
| Subject: | Re: username audit column | ||
| View as plain text | |||
In the last episode (Nov 29), Ted Yu said: > By username I mean Linux login. Is there a way to call Perl/Shell > script to obtain this information ? Won't work for remote users, of course. If you were on *BSD, AIX, or Solaris you could write a UDF that called the getpeereid() or getpeerucred() libc function to fetch the username for unix-socket connections. On Linux you will need to call getsockopt() with the SO_PEERCRED option. -- Dan Nelson dnelson@stripped
| Thread | ||
|---|---|---|
| • username audit column | Ted Yu | 30 Nov |
| • Re: username audit column | Ted Yu | 30 Nov |
| • Re: username audit column | Dan Nelson | 30 Nov |
| • unable to create function in MySQL 5.0 | Ted Yu | 30 Nov |
| • Re: unable to create function in MySQL 5.0 | Martijn Tonies | 1 Dec |
| • Re: unable to create function in MySQL 5.0 | Ted Yu | 1 Dec |
| • Re: unable to create function in MySQL 5.0 | Martijn Tonies | 1 Dec |
| • Re: unable to create function in MySQL 5.0 | Jacques Marneweck | 1 Dec |
