ECS Home Automation and Security Archives
  learn more | view messages for this month | NetBloc® | terms of use | search

Google
 


  subject (prev) or (next) | time (prev) or (next) | author (prev) or (next) | view more subjects

Subject:
From:
Date:
linux questions
Mark Gilmore
Wed, 16 Feb 2005 16:03:05 -0800

When I enter "su" to enter superuser mode, my PATH reverts back to some 
basic setting.
This happens no matter *where* I put my PATH statement:
         /etc/profile
         /etc/bash.bashrc.local
What gives ?

Also, is there a way to use the *current* command history when entering 
superuser mode ?
Here's what I do a gazillian times a day:
         Enter some long (hard-to-type) command
         Get an err (must be super user)
         "su"
         Hit up arrow (so as to recall the long cmd) and get squat
         Curse at the fact that the command history has changed !!!!
         Retype the command whilst grumbling

tanx

Mark Gilmore
http://OmnipotenceSoftware.com 


-- 
No virus found in this outgoing message.
Checked by AVG Anti-Virus.
Version: 7.0.300 / Virus Database: 265.8.8 - Release Date: 2/14/2005



  subject (prev) or (next) | time (prev) or (next) | author (prev) or (next) | view more subjects




Services provided by [NetBloc]®! NetBloc Solutions Inc.
Terms of use. Indexing software (c) 1999 Lin-De, Inc
.