openssl and coreutils and more

Bennett Todd 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.

-Bennett
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
URL: <http://lists.linuxfromscratch.org/pipermail/hlfs-dev/attachments/20061205/9b070aa5/attachment.sig>


More information about the hlfs-dev mailing list