Re: Bad History when SuperUser.

From: Angela Kahealani (angela_at_kahealani.com)
Date: 10/11/04

  • Next message: A. Lanza: "Can't mount NFS export"
    To: For users of Fedora Core releases <fedora-list@redhat.com>, Reg Clemens <reg@dwf.com>
    Date: Sun, 10 Oct 2004 21:01:37 -1000
    
    

    On Sunday 2004-10-10 20:52, Reg Clemens wrote:
    > OK, this error has been in the shells for a long time.
    >
    > If you bring up a new window, or just a shell as a regular user,
    > and then type 'history' you see what you should expect, one line
    > with the history command.
    >
    > If you now do a su, and become root, and then do the same 'history'
    > command you will see several hundred lines of history from who knows
    > how many previous sessions as root.
    >
    > If you bring up a second window, and become root there too, doing the
    > 'history' command will show the same -history- as the first (sigh)
    >
    > Shouldn't these things be truncated when the root shell closes down?

    well, you can set-up your log-out script to include
    cp /dev/null .history
    no?

    -- 
    Copyright 2004 Angela Kahealani. All rights reserved without prejudice; 
    UCC1-207. All information and transactions are non negotiable and are 
    private between the parties. http://www.kahealani.com/
    -- 
    fedora-list mailing list
    fedora-list@redhat.com
    To unsubscribe: http://www.redhat.com/mailman/listinfo/fedora-list
    

  • Next message: A. Lanza: "Can't mount NFS export"

    Relevant Pages

    • Bad History when SuperUser.
      ... with the history command. ... If you now do a su, and become root, and then do the same 'history' ... If you bring up a second window, and become root there too, doing the ... Shouldn't these things be truncated when the root shell closes down? ...
      (Fedora)
    • Re: Bad History when SuperUser.
      ... > with the history command. ... > how many previous sessions as root. ... > Shouldn't these things be truncated when the root shell closes down? ...
      (Fedora)
    • Re: history
      ... > I work on Solaris and on theses hosts everybody is root. ... > use the history to call back your commands, ... If what you are looking for is stop the shell from keeping a history file, ...
      (comp.unix.admin)
    • Re: hi all..
      ... and someone gets access your shell account, ... Only root can install an su binary. ... Of course, if I have sudo ...
      (Fedora)
    • Re: Kmail offline
      ... GUI sessions as root? ... I will not help you with problems running GUI as root. ... That was a straight copy paste from the shell it ran from. ... checking I could get it to do said the install was all right. ...
      (Fedora)