--- Ken Moffat <[EMAIL PROTECTED]> wrote:
>  If you have another non-root user, can you try
> su'ing to that user
> to confirm that 'su' provokes the failure, and on a
> different tty
> can you log in as lfs and then see that it doesn't
> fail ?

I create a second user, lfs.
> su - lfs
> test -r /proc/self/fd/0
> echo $?
returns 1

But
> chmod o+rw /dev/tty1 (as root)
> su - lfs
> test -r /proc/self/fd/0
> echo $?
returns 0

On a different tty, same problem: until I give rights
to clfs on /dev/tty2, it returns 1. It seems that the
login reduces the rights on each tty before the
connection.

G. Moko


__________________________________________________
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 
_______________________________________________
Clfs-dev mailing list
[email protected]
http://lists.cross-lfs.org/cgi-bin/mailman/listinfo/clfs-dev

Reply via email to