Odd one: my root account disappears into hyperspace.

Toni Schmidbauer toni at stderror.at
Wed May 26 15:32:42 PDT 2004


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                                     |
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 186 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/freebsd-questions/attachments/20040527/69d1401c/attachment.bin


More information about the freebsd-questions mailing list