On Fri, Jan 28, 2011 at 10:21:21AM +0100, SanskritFritz wrote:
> Using sudo doesnt bring me to a root shell, so I dont think this is relevant
> now? Or do you mean 'sudo su'? Sorry, I don't use sudo.

yes,  i meant using sudo in a way that gives you a shell.


> > also, does it make a difference if you use su; vs su -;
> Using 'su -' gives me a completely different history, i think it is from
> directly logging into root from a console long time ago.

ah, not i think i see what your problem is: you are talking about the
history while in the su shell, not after coming back from su.

i didn't expect that, because i never use su like that :-)

anyways, i think you are setting yourself up for trouble if you want to
share the history between your user and root.

the problem is that for each user you get a seperate fishd process, and
the way you use it you somehow mangle the same history with two fishd
processes. i'd worry about unintended sideeffects, especially with root
being involved.

that said, the specific problem you are having still sounds like a wierd
bug of some kind because it doesn't happen everywhere. (i can't see it
on my machine)

greetings, martin.
-- 
cooperative communication with sTeam      -     caudium, pike, roxen and unix
services:   debugging, programming, training, linux sysadmin, web development
--
pike programmer      working in china                   community.gotpike.org
foresight developer  (open-steam|caudium).org              foresightlinux.org
unix sysadmin        iaeste.at                                     realss.com
Martin Bähr          http://www.iaeste.at/~mbaehr/               is.schon.org

------------------------------------------------------------------------------
Special Offer-- Download ArcSight Logger for FREE (a $49 USD value)!
Finally, a world-class log management solution at an even better price-free!
Download using promo code Free_Logger_4_Dev2Dev. Offer expires 
February 28th, so secure your free ArcSight Logger TODAY! 
http://p.sf.net/sfu/arcsight-sfd2d
_______________________________________________
Fish-users mailing list
Fish-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/fish-users

Reply via email to