shadow chown(tty) - problem

YuX yux at cg.ukrtel.net
Tue Sep 3 02:02:26 PDT 2002


"Richard Lightman" <richard at nezumi.plus.com> wrote in message
news:20020902210025.A3949 at urusai.localnet.rcl...
> At a guess, /dev/vcc/1 or /dev/vcc/2 is owned by root.
>
> On a normal system, /dev/vcc/* is not chowned when a user logs in
> to prevent things like spy capturing anything. I made spy to test
> a new feature in conlogin (kill things like spy so /dev/vcc/*
> can be chowned to the user who logs in).
>
> If you want to run spy, you must either be root, use conlogin
> with /dev/vcc/* in the appropriate config file, or as root,
> chown user /dev/vcc/1 /dev/vcc/2
>
> If you do the last, you must su to user. If you log out, agetty
> will chown the console back to root.
>
> Richard
Hehehe - thanks!
Before run SPY i chown'd vcc/1 vcc/2 to yux.users
Problem with permission born after unlog from vcc/1
vcc/1 now have owner root.root



-- 
Unsubscribe: send email to listar at linuxfromscratch.org
and put 'unsubscribe lfs-dev' in the subject header of the message



More information about the lfs-dev mailing list