Zsh Mailing List Archive
Messages sorted by: Reverse Date, Date, Thread, Author

Re: error on TTY read: no such file or directory



On Sep 11,  8:49am, lordzork@xxxxxxxxxxxx wrote:
}
} also, as i said, this problem happens *only* when i login as root, and
} then only from a tty.

Please try adding

    ((UID)) || {
	set -x
	exec 2>|/tmp/login-trace
    }

to /etc/zshenv.  Then log in and let it boot you out.  Then log in again
(as someone other than root) and examine /tmp/login-trace to see whether
any unexpected commands are being executed.

-- 
Bart Schaefer                                 Brass Lantern Enterprises
http://www.well.com/user/barts              http://www.brasslantern.com

Zsh: http://www.zsh.org | PHPerl Project: http://phperl.sourceforge.net   



Messages sorted by: Reverse Date, Date, Thread, Author