Ubuntu: crypt user's home directory and protect from admin ?

Posted by Luc on Super User See other posts from Super User or by Luc
Published on 2011-04-20T07:53:26Z Indexed on 2011/06/20 16:26 UTC
Read the original article Hit count: 240

Filed under:
|

I have the following problem:

I need to run some scripts on a Ubuntu machine but I do not want those scripts to be visible by anybody. What could be the best way to do that ? I was thinking of the following:

  • create a particular user
  • Add the scripts in this user's home directory
  • Protect + crypt the user's home directory => Can I run the script from outside if the directory is crypted ? Can superuser see the content of the home dir ?

Is there a right way to do this ?

UPDATE

I thing the best way would be that root own those scripts. In this case I would need to allow an another user to modify the network configuration. Is it possible to ONLY provide network rights to a user ? (via sudo or else)

© Super User or respective owner

Related posts about ubuntu

Related posts about protection