Thank you very much for that info Philip! I'll fiddle with the bash files. >> So i guess .bashrc is not the name >> the file should have anyway 'cos only root will read it in regular >> xterm sessions, not the regular user... > > Uh, what? What does being root have to do with this? You aren't > logging into X as root, are you?!?!
No! And i don't even have X installed (although some suggested i install it so i can install cups...). This is just an old machine i'm using to goof around with servers (currently sshd and httpd, later ftp and maybe print). This is my ~/.bashrc (equal for the regular user and root): # setenv export PKG_PATH=ftp://ftp.fmed.uc.pt/pub/OpenBSD/4.3/packages/i386/ # alias alias cl='clear' #alias l='ls -lh --time-style=+"[EMAIL PROTECTED]:%M"' alias date='date "+%d/%m/%y %T"' I oughta add #!/path/to/bash here... I ssh to the BSD machine with the regular user (so i figure this is a login shell) but my aliases won't work; i su to get root and my aliases will work (not login?); i su again to the regular user and my aliases will work (no pass involved, so this is non-interactive?). I'm not setting $variables here so i'd assume each .bashrc is valid for that session. Also i must change to the regular user's home directory before issuing su, otherwise i'll get permission denied messages (makes sense). Anyway i'll fiddle some more, thanks for the tips! -- Nuno MagalhC#es

