OSEC

Neohapsis is currently accepting applications for employment. For more information, please visit our website www.neohapsis.com or email hr@neohapsis.com
 
From: Pavel Kankovsky (peakargo.troja.mff.cuni.cz)
Date: Sat May 25 2002 - 18:03:27 CDT

  • Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]

    On Thu, 23 May 2002, Matthew Kirkwood wrote:

    > 1. Login on tty1
    > 2. Run:
    > # sed 's%tty1%port%g' </var/run/utmp > ut2
    > # mv ut2 /var/run/utmp
    > 3. Reboot
    >
    > Suddenly utempter and friends are interesting again.

    Hmm...UT_LINESIZE is 12...this is enough to reach directories outside /dev
    using "../" (esp. "../tmp/") as well.

    > I still want O_DEFEROPEN...

    So do I. But in this case, a check for .. and lstat() should be
    sufficient.

    --Pavel Kankovsky aka Peak [ Boycott Microsoft--http://www.vcnet.com/bms ]
    "Resistance is futile. Open your source code and prepare for assimilation."