>That's where I've always set the prompt to be something that stands
>out as root (like having a # in it). When I su, it doesn't read the
>.cshrc at all. I do a 'source /.cshrc' and everything is fine, but
>that gets annoying. Something simple?
of the source for the bsd version of su, and hack it to run on whatever
systems I administer. Look at the bsd distribution in uunet.uu.net for
an example, or roll your own. If that's too complicated, use "su -"
instead of plain "su".
Actually, IBM does a more reasonable job here than the average System
V-based system which reads the *user* .cshrc instead of root's. Phew!
C R S 4
* * * * *Centro di Ricerca, Sviluppo e Studi Superiori in Sardegna * * * * * *
* Fax: (39 70) 279-6220 uucp: princeton!crs4!svpillay *
* Snail: Via Nazario Sauro, 10 - 09123 Cagliari, Italy *
* * * Centre for Advanced Studies, Research, and Development in Sardinia * * *