why not just use gnupgp or pgp to encrypt what you dont want seen/used... or any other encryption proggie????? Cees van de Griend wrote:
On Thu, Feb 03, 2000 at 12:17:38AM +0100, Rogier Maas wrote:
Cees van de Griend wrote:
On Wed, Feb 02, 2000 at 10:25:23PM +0100, Rogier Maas wrote:
Dear List,
I have a couple of Shell-Account-users who can chdir to the root, and dir everything in my filesystem. Is there any way to confine them to their homedirectory like ProFTPd can?
Yes, but why bother...
It is posible to confine a user to his/her homedir (see: man (1) chroot), but then you should also make quite a lot binairies (like /bin/cp and /bin/ls) and libraries (like: /lib/...) available in their homedir.
Take a look at chmod (see: man (1) chmod) and learn how to change the permissions on important files/directories.
# chroot /home/user bash chroot: cannot change root directory to /home/user: Operation not permitted
# chrot ~ bash chroot: cannot change root directory to /home/user: Operation not permitted
You must be root to do this.
Try 'bash -r', but this is not what your users want.
eh? Now what..
I don't suppose there is a way so that files cannot be seen? My experiences with Linux are that all users can see all files in a dir they have r-(x), but can't see IN files. I don't want users to be able to SEE them. Impossible?
It is not important that they are able to see them, they can't change them.
How should I setup my security? Are there howto's? Sites?
Buy and read a good Unix book.
Rogier
Cees
-- To unsubscribe send e-mail to suse-linux-e-unsubscribe@suse.com For additional commands send e-mail to suse-linux-e-help@suse.com Also check the FAQ at http://www.suse.com/Support/Doku/FAQ/
-- To unsubscribe send e-mail to suse-linux-e-unsubscribe@suse.com For additional commands send e-mail to suse-linux-e-help@suse.com Also check the FAQ at http://www.suse.com/Support/Doku/FAQ/