Re: group permissions (was chroot ssh and ftp)

2012-04-02 Thread Chris Davies
Dr Beco wrote: > Do you mean in the script (professor branch) something like: > chown $USU:professor $USU > chmod go= $USU Yes. > This way one professor cannot see each others dirs, but inside home a > file would be created (and stayed) like: rw-rw > Right? Don't need the -R. Correct.

Re: group permissions (was chroot ssh and ftp)

2012-04-01 Thread Dr Beco
> To: debian-user lists.debian.org > Subject: Re: group permissions (was chroot ssh and ftp) > From: Chris Davies > > Chris wrote: > The problem with this is that you're making files executable. Personally > I think you'd be better off just fixing just the professo

Re: group permissions (was chroot ssh and ftp)

2012-04-01 Thread Chris Davies
Dr Beco wrote: > Now, for the permissions stated before, I got this until now: > Professors belong to two groups, professors and students > Students belong only to alumini > Admins belong to all > Then I run in professors /home/dirs the following command: > chown -R :professors paul peter patric

Re: group permissions (was chroot ssh and ftp)

2012-03-31 Thread Dr Beco
Dear Chris, When you pointed out there would be no serious benefit by chrooting the users, I decided to hold this configuration for a while. To isolate the system will take some time, and some bureaucratics :) Now, for the permissions stated before, I got this until now: Professors belong to two

Re: chroot ssh and ftp

2012-03-31 Thread Chris Davies
Dr Beco wrote: > It's weird though to have a student [...] see his files owned by him, > and group professor, him being a student. The group name is just a label. There's no real reason why you couldn't call it something else. (Stay away from "staff", and be aware that on many systems "users" alr

Re: chroot ssh and ftp

2012-03-31 Thread Dr Beco
I found that I need to manually copy a lot of programs to the new root. Do I really need that? Is there an easy way to prevent something like $cd .. from a user in his dir? Thanks guys, Beco [1] Maybe I did asked for a solution to a problem that should be addressed in both ways: group perms and

Re: chroot ssh and ftp

2012-03-30 Thread Kelly Clowers
On Fri, Mar 30, 2012 at 13:09, Dr Beco wrote: > Hi there  wlan and Keith, > > I'm not so sure it's that simple, but I would be glad if it is. > > When I say "browse", I mean through ftp or through commands in a login > session with bash, like 'cd' or a simple 'ls /etc'. > > (I thought the "subject

Re: chroot ssh and ftp

2012-03-30 Thread Dr Beco
Hi there wlan and Keith, I'm not so sure it's that simple, but I would be glad if it is. When I say "browse", I mean through ftp or through commands in a login session with bash, like 'cd' or a simple 'ls /etc'. (I thought the "subject" would make it clear, ssh and ftp, but actually it is bash

Re: chroot ssh and ftp

2012-03-30 Thread Keith McKenzie
On 30/03/12 19:39, Dr Beco wrote: Hi there debian users, I've being searching a "how-to" to work this out, but all I got was old blogs with very strange and different suggestions. I need to configure a system with 3 groups of people: admins, professors and students. MAYBE THE FOLLOWING WILL

Re: chroot ssh and ftp

2012-03-30 Thread wlan
If you have configured ssh-server you can simple configure sftp. 2012/3/30 Dr Beco > Hi there debian users, > > > I've being searching a "how-to" to work this out, but all I got was > old blogs with very strange and different suggestions. > > I need to configure a system with 3 groups of people:

chroot ssh and ftp

2012-03-30 Thread Dr Beco
Hi there debian users, I've being searching a "how-to" to work this out, but all I got was old blogs with very strange and different suggestions. I need to configure a system with 3 groups of people: admins, professors and students. Professors can browse all /home of students, can read/write to