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 ?
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)