Derrick 'dman' Hudson said on Tue, Jun 24, 2003 at 01:36:18PM -0400: > On the ("new") debian server at work, my boss wants bash to be in > 'emacs' mode when he su's to root. I work with 'vi' mode, however. > Is there some way for the .bashrc to recognize whether he su'd to root > or I did and set the editing mode appropriately? Use sudo instead. Then you both use your own shells, configs, etc, and you don't have to muck about with roots configuration. M
Attachment:
pgpL6A0HAAdmO.pgp
Description: PGP signature