Jump to content
xisto Community
Sign in to follow this  
jedipi

How Can I Hide Files And Processes In Linux?

Recommended Posts

Can any one tell me how to hide files and processes in Linux?for example, there is a *.exe file, I don;t want anybody to see it (just hide it),including use ls command.if I run this program, the process can be list by ps command.Is it possible to hide this process??if yes, how to do that??Thank you.

Share this post


Link to post
Share on other sites

They easy way of hiding files is giving a dot at begin of a name, but they can still be listed (using ls -a)... I'm not sure, but take a look at some "Role-based Access Control" systems - like SELinux and GRSecurity... probably this would help you... maybe...

Share this post


Link to post
Share on other sites

you can prevent un-privilaged users from vuiewing or running the file.you can prevent un-privilaged users from going inside a folder.but you cannot hide the file, there is no need to hide a file, except to clean up cluttered folders by hiding configs etc with the '.; char.as for hiding running processes, there is no reason you would want to do this.you seem to be talking about root kits, but thats a big no no here.

Share this post


Link to post
Share on other sites

What you could do is add the file to a .ZIP archive and apply a password. That way no one without the password could access it.Is this intended to be malicious?

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this  

×
×
  • Create New...

Important Information

Terms of Use | Privacy Policy | Guidelines | We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.