Find the answer to your Linux question:
Results 1 to 6 of 6
Hi, How can i see history of all sudo users and all root users in fedora 13 ? history command only shows one users history ? thanks...
  1. #1
    Just Joined!
    Join Date
    Jan 2011
    Posts
    3

    History in Fedora 13

    Hi,

    How can i see history of all sudo users and all root users in fedora 13 ? history command only shows one users history ?

    thanks

  2. #2
    Linux Engineer nujinini's Avatar
    Join Date
    Apr 2009
    Posts
    1,229
    Quote Originally Posted by shaz80 View Post
    Hi,

    How can i see history of all sudo users and all root users in fedora 13 ? history command only shows one users history ?

    thanks
    I would first get a list of all users by:

    Code:
    $ ls /home
    cd to each user like

    Code:
    $ cd /home/user_1
    $ history
    
    $ cd /home/user_2
    $ history
    
    su -
    Password
    # history
    And by the way, I think sudo is not used in fedora. At least I'm not aware of it.
    nujinini
    Linux User #489667

  3. #3
    Blackfooted Penguin daark.child's Avatar
    Join Date
    Apr 2006
    Location
    West Yorks
    Posts
    4,344
    Quote Originally Posted by nujinini View Post
    I would first get a list of all users by:
    ...
    And by the way, I think sudo is not used in fedora. At least I'm not aware of it.
    Its available in almost every distro. Its just not used in the same fashion as Ubuntu and its derivative distros.

  4. #4
    Linux Enthusiast meton_magis's Avatar
    Join Date
    Oct 2006
    Location
    arizona
    Posts
    665
    It is installed by default on fedora, but it is not usable until you configure it.
    New to the internet, technical forums, or the hacker / open source community??
    Read this to learn good posting habits http://www.catb.org/~esr/faqs/smart-questions.html

    RHCE for RHEL version 5
    RHCT for RHEL version 4

  5. #5
    Just Joined!
    Join Date
    Jan 2011
    Posts
    3
    Hi,
    How can i delete commands typed by me. for example i don't want to delete whole history. i just want to delete last 5 commands typed by me. so that nobody can see my those particular 5 commands in history. i am a root user and sudo as well.
    thanks

  6. #6
    Just Joined!
    Join Date
    Jan 2011
    Posts
    3
    hi,
    i have tried that . but it doesn't shows me history for only that particular user?

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
...