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

Attachment: pgppP5m7JONfO.pgp
Description: PGP signature

-- 
http://linuxfromscratch.org/mailman/listinfo/hlfs-dev
FAQ: http://www.linuxfromscratch.org/faq/
Unsubscribe: See the above information page

Reply via email to