Find the answer to your Linux question:
Page 1 of 2 1 2 LastLast
Results 1 to 10 of 11
Rkhunter issued warnings about hidden directory files in etc and dev; how do I find them please? Has anyone heard of the " classpath security " file? Thanks!...
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1
    Linux Enthusiast cousinlucky's Avatar
    Join Date
    Dec 2005
    Location
    New York City
    Posts
    676

    2 Questions!!


    Rkhunter issued warnings about hidden directory files in etc and dev; how do I find them please?

    Has anyone heard of the " classpath security " file?

    Thanks!
    PCLinuxOS Gnome and PCLinuxOS Mate
    Linux user # 414321
    You Should Not Give In To Evils, But Proceed Ever More Boldly Against Them!! -from book six of Virgil's Aeneid
    Everything Within The Universe Is Related; We Are All Cousins!!

  2. #2
    Linux Guru Lazydog's Avatar
    Join Date
    Jun 2004
    Location
    The Keystone State
    Posts
    2,677
    ls -a

    This is 10 chars.

    Regards
    Robert

    Linux
    The adventure of a life time.

    Linux User #296285
    Get Counted

  3. #3
    Administrator jayd512's Avatar
    Join Date
    Feb 2008
    Location
    Kentucky
    Posts
    5,023
    Not entirely sure of the function, but a quick web search shows me that the classpath security is nothing malicious.
    It seems like a subset of security rules and/or definitions.

    BTW, RKHunter always gives me an error or complaint hidden directories. So after listing them out, take a look through your output.
    If anything seems wrong to you, let us know.
    Jay

    New users, read this first.
    New Member FAQ
    Registered Linux User #463940
    I do not respond to private messages asking for Linux help. Please keep it on the public boards.

  4. $spacer_open
    $spacer_close
  5. #4
    Linux Enthusiast cousinlucky's Avatar
    Join Date
    Dec 2005
    Location
    New York City
    Posts
    676
    Thanks!! Is there a way to " unhide " these files so that I can move or delete them?
    PCLinuxOS Gnome and PCLinuxOS Mate
    Linux user # 414321
    You Should Not Give In To Evils, But Proceed Ever More Boldly Against Them!! -from book six of Virgil's Aeneid
    Everything Within The Universe Is Related; We Are All Cousins!!

  6. #5
    Linux Guru
    Join Date
    Oct 2007
    Location
    Tucson AZ
    Posts
    3,190
    Not sure what you mean by "unhide these files" as the command above will show them and you can then move or delete them in a terminal as long as you are certain that won't damage your system. You can usually see them in a file manager by clicking the View tab, there should be an option to show hidden files.

  7. #6
    Administrator jayd512's Avatar
    Join Date
    Feb 2008
    Location
    Kentucky
    Posts
    5,023
    In a terminal, ls -a will do it.
    In most file managers, just hit Ctrl + h to show them.
    Jay

    New users, read this first.
    New Member FAQ
    Registered Linux User #463940
    I do not respond to private messages asking for Linux help. Please keep it on the public boards.

  8. #7
    Penguin of trust elija's Avatar
    Join Date
    Jul 2004
    Location
    Either at home or at work or down the pub
    Posts
    3,637
    Be wary of removing them though. rkhunter is known for giving false positives. link

    There is a classpath.security file installed with the package libgcj-common which seems to be part of a Java environment. link
    Last edited by elija; 06-26-2012 at 06:55 AM.
    "I used to be with it, then they changed what it was.
    Now what was it isn't it, and what is it is weird and scary to me.
    It'll happen to you too."

    Grandpa Simpson



    The Fifth Continent

  9. #8
    Administrator jayd512's Avatar
    Join Date
    Feb 2008
    Location
    Kentucky
    Posts
    5,023
    Quote Originally Posted by elija View Post
    Be wary of removing them though. rkhunter is known for giving false positives. link

    There is a classpath.security file installed with the package libgcj-common which seems to be part of a Java environment. link
    Right... that's a good link of what I was looking for earlier.
    classpath.security is fine, lucky. Noneed to remove it. Or worry about it.
    Jay

    New users, read this first.
    New Member FAQ
    Registered Linux User #463940
    I do not respond to private messages asking for Linux help. Please keep it on the public boards.

  10. #9
    Linux Enthusiast cousinlucky's Avatar
    Join Date
    Dec 2005
    Location
    New York City
    Posts
    676
    I found the hidden directory /dev/.udev chock full of locked files and I found /dev.static to seem like copies of the whole dev folder.

    If I press tab on a hidden file another terminal window opens but I have no idea what to do next to look at or to move the file- can you help me out here, gentlemen?
    PCLinuxOS Gnome and PCLinuxOS Mate
    Linux user # 414321
    You Should Not Give In To Evils, But Proceed Ever More Boldly Against Them!! -from book six of Virgil's Aeneid
    Everything Within The Universe Is Related; We Are All Cousins!!

  11. #10
    Penguin of trust elija's Avatar
    Join Date
    Jul 2004
    Location
    Either at home or at work or down the pub
    Posts
    3,637
    They are both false positives. You can configure rkhunter to ignore them. Slightly misquoting the first link above...

    Press Alt + F2 and enter gksu gedit /etc/rkhunter.conf
    Enter your password when asked

    and remove the # in front of the following lines:

    ALLOWHIDDENDIR=/dev/.udev
    ALLOWHIDDENDIR=/dev/.static
    ALLOWHIDDENDIR=/dev/.initramfs
    "I used to be with it, then they changed what it was.
    Now what was it isn't it, and what is it is weird and scary to me.
    It'll happen to you too."

    Grandpa Simpson



    The Fifth Continent

Page 1 of 2 1 2 LastLast

Posting Permissions

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