Forum Moderators: bakedjake

Message Too Old, No Replies

UNIX - Restricting access upon login

         

Abdar

2:03 pm on Oct 9, 2003 (gmt 0)

10+ Year Member



As per the title, I basically want to create a folder on my UNIX box that will be used for students.

When they use the given user/password, they will be logged into that given folder and won't be able to navigate out.

Is this and easy thing to set up, or a little more involved?

Thanks.

Ab.

MattyMoose

5:51 pm on Oct 9, 2003 (gmt 0)

10+ Year Member



You might consider using a chroot'd system...

Here's a link for implementing chroot in RedHat Linux:
Chroot RedHat [faqs.org]

There are many ways to go about implementing it, so I'd recommend doing a search for "chroot" with whatever *NIX you're using... The vendor, or someone out there, will have examples of implementing it.

There are also patches for OpenSSH that you can use to have create chroot'ed user accounts and logins.

chroot+openssh Google [google.com]

HTH,
MattyMoose

bakedjake

5:53 pm on Oct 9, 2003 (gmt 0)

WebmasterWorld Administrator 10+ Year Member Top Contributors Of The Month



If you just want to give them FTP access, ProFTPD makes it really easy.

Abdar

2:06 pm on Oct 16, 2003 (gmt 0)

10+ Year Member



Thanks guys :)