openssl and coreutils and more
bet at rahul.net
Tue Dec 5 13:21:50 PST 2006
2006-12-05T16:43:58 Osor Hirutonis:
> 4.) The real nologin (from shadow) will write to syslog.
That would _almost_ be easy to add --- all except for generating the
timestamp. Other than that you just need to connect a unix/dgram
socket to /dev/log and send something at it that looks like
<NN>Timestamp tag: message
(strace logger shows it clearly). But open-coding the timestamp
generation in hand-written assembler wouldn't really be fun,
especially since it wants to be in the system's idea of localtime.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Size: 189 bytes
Desc: not available
More information about the hlfs-dev