On Sat, Mar 20, 2004 at 06:46:53PM -0000, Edmund Craske wrote: > This isn't right, when using the -m flag su uses your current > environment, keeping your shell, prompt etc the same as in your > own account. All I can think of is that it executes something > when it opens the new shell which changes it, which shouldn't > be root's cshrc. Perhaps some shell script conditional gubbins > around the prompt statement in the user's cshrc?
Mmm you're right - personally I do: su - to su from my normal to root user and I have ~root/.cshrc symlinked to ~user/.cshrc (ditto for most other dotrc files :P). Works for me. -- Jez Hancock - System Administrator / PHP Developer http://munk.nu/ http://jez.hancock-family.com/ - Another FreeBSD Diary http://ipfwstats.sf.net/ - ipfw peruser traffic logging _______________________________________________ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"