On Wed, 2003-06-25 at 01:58, nori heikkinen wrote:
> on Tue, 24 Jun 2003 01:36:18PM -0400, Derrick 'dman' Hudson insinuated:
> > 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?

Can PAM possibly help ?
For example, by setting some environment variable ?

-- 
ZHAO Wei
[EMAIL PROTECTED] [EMAIL PROTECTED]
http://www.advogato.org/person/zhaoway/
Linux & Free Software Consultant, Nanjing, China


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to