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
    658

    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!
    AntiX 12 and PCLinuxOS gnome
    Linux user # 414321
    You Should Not Give In To Evils, But Proceed Ever More Boldly Against Them!! -from book six of Virgil's Aeneid
    http://www.paynal.com
    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,613
    ls -a

    This is 10 chars.

    Regards
    Robert

    Linux
    The adventure of a life time.

    Linux User #296285
    Get Counted

  3. #3
    Moderator jayd512's Avatar
    Join Date
    Feb 2008
    Location
    Kentucky
    Posts
    4,824
    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. #4
    Linux Enthusiast cousinlucky's Avatar
    Join Date
    Dec 2005
    Location
    New York City
    Posts
    658
    Thanks!! Is there a way to " unhide " these files so that I can move or delete them?
    AntiX 12 and PCLinuxOS gnome
    Linux user # 414321
    You Should Not Give In To Evils, But Proceed Ever More Boldly Against Them!! -from book six of Virgil's Aeneid
    http://www.paynal.com
    Everything Within The Universe Is Related; We Are All Cousins!!

  5. #5
    Linux Guru
    Join Date
    Oct 2007
    Location
    Tucson AZ
    Posts
    2,510
    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.

  6. #6
    Moderator jayd512's Avatar
    Join Date
    Feb 2008
    Location
    Kentucky
    Posts
    4,824
    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.

  7. #7
    Penguin of trust elija's Avatar
    Join Date
    Jul 2004
    Location
    Either at home or at work or down the pub
    Posts
    2,836
    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.
    If we hit that bullseye, the rest of the dominoes will fall like a house of cards. Checkmate! (Zapp Brannigan)


    My new blog. It's probably not as good as I think it is.

    The Fifth Continent reborn

  8. #8
    Moderator jayd512's Avatar
    Join Date
    Feb 2008
    Location
    Kentucky
    Posts
    4,824
    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.

  9. #9
    Linux Enthusiast cousinlucky's Avatar
    Join Date
    Dec 2005
    Location
    New York City
    Posts
    658
    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?
    AntiX 12 and PCLinuxOS gnome
    Linux user # 414321
    You Should Not Give In To Evils, But Proceed Ever More Boldly Against Them!! -from book six of Virgil's Aeneid
    http://www.paynal.com
    Everything Within The Universe Is Related; We Are All Cousins!!

  10. #10
    Penguin of trust elija's Avatar
    Join Date
    Jul 2004
    Location
    Either at home or at work or down the pub
    Posts
    2,836
    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
    If we hit that bullseye, the rest of the dominoes will fall like a house of cards. Checkmate! (Zapp Brannigan)


    My new blog. It's probably not as good as I think it is.

    The Fifth Continent reborn

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
  •