shadow chown(tty) - problem

Dagmar d'Surreal dagmar at speakeasy.net
Mon Sep 2 20:34:21 PDT 2002


On Mon, 2002-09-02 at 15:00, Richard Lightman wrote:
> * YuX <yux at cg.ukrtel.net> [2002-09-02 20:24]:
> > 
> > "Richard Lightman" <richard at nezumi.plus.com> wrote in message
> > news:20020901110033.A1034 at urusai.localnet.rcl...
> > > I log in, and and run:
> > > nohup ./spy /dev/vcc/1  /dev/vcc/2  &
> > > nohup ./spy /dev/vcc/a1 /dev/vcc/a2 &
> > 
> > As user :
> >     gcc spy.c -o spy
> >     nohup ./spy /dev/vcc/1  /dev/vcc/2  &
> > 
> >     Problem : permission denied
> > 
> 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).

I'm just going to say one more thing about this...

A backhoe.

-- 
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