jailkit-users
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Jailkit-users] permissions for multiple accounts


From: Olivier Sessink
Subject: Re: [Jailkit-users] permissions for multiple accounts
Date: Wed, 23 May 2007 07:25:43 +0200
User-agent: Icedove 1.5.0.10 (X11/20070329)

antoine fink wrote:
I have setup a few jail accounts for customers.
Everything seems to work ok (ssh,sftp,scp,etc), except for one thing :

Every user can view all the accounts (but not their contents).
For instance, let's say I have the following accounts : foo, bar, foobar
Now, user foo can login and ...
   $> cd /home
   $> ls
   foo   bar   foobar
   $> ls bar
   Permission denied.

So user's can't see the contents of other users' home directories, but they can still see that I have multiple jail accounts.
All users can also see the contents of /etc/passwd and /etc/group.

How can I fix this ? How can I make it so that user "foo" doesn't even know there exists other jail accounts ?

you'll need multiple jails if you want to do this. Modify jk_init.ini such that you can install your complete jail with a single command, and than deploy multiple jails with each a single user.

regards,
        Olivier







reply via email to

[Prev in Thread] Current Thread [Next in Thread]