On Wed, May 26, 2004 at 03:06:52PM +0100, Andy Holyer wrote: > I ssh into my server as myself, and then su to root. At which point > something odd happens: > > a) the output of some shell commands seems to be redirected somewhere > other then my xterm; > b) when I try to run emacs or vi, I get: "emacs: standard input is not > a tty" > > This doesn't happen when I log in as another user and try it. I've > tried comparing the contents of our two home directories, and there > appears no difference.
show us exactly what commands you are using. look for io redirections (< or > in bash) in your .profile, .bashrc, root's .profile and .bashrc and finally /etc/profile and any scripts that are called from within the mentioned files. hth, toni -- Wer es einmal so weit gebracht hat, dass er nicht | toni at stderror dot at mehr irrt, der hat auch zu arbeiten aufgehoert | Toni Schmidbauer -- Max Planck |
Description: PGP signature