Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Create multiple user accounts securely
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Networking & Security
View previous topic :: View next topic  
Author Message
josholson
n00b
n00b


Joined: 21 Oct 2004
Posts: 3

PostPosted: Thu Oct 21, 2004 7:08 pm    Post subject: Create multiple user accounts securely Reply with quote

Hello,

I recently installed gentoo from stage one, and would like to learn how to create multiple luser accounts so that they are only allowed to access their own home directories. i've tried removing the users from the "users" group by doing usermod -g nobody username but that didn't work.

Thanks.
Back to top
View user's profile Send private message
presto8
n00b
n00b


Joined: 03 Jan 2003
Posts: 35
Location: Portland, Oregon, USA

PostPosted: Fri Oct 22, 2004 5:06 am    Post subject: Reply with quote

Depending on how restrictive you want to be, rssh may be the ticket:

From the man page:

rssh is a restricted shell for providing limited access to a host via ssh(1), allowing a user whose shell is configured to rssh to use one or more of the command(s) scp(1) or sftp(1) cvs(1), rdist(1), and rsync(1), and only those commands. It is intended primarily to work with OpenSSH (see http://www.openssh.com), but may work with other implementations.

If you are just trying to keep users from walking around your filesystem, you can either create a chroot jail (although they won't be able to run any system commands) -- or you can go through and strip the world readable/executable bids (i.e., chmod o-rwx file1 file2...).
Back to top
View user's profile Send private message
josholson
n00b
n00b


Joined: 21 Oct 2004
Posts: 3

PostPosted: Fri Oct 22, 2004 1:41 pm    Post subject: Reply with quote

The chroot jail sounds like what i'm looking for. I'll google around for a bit. Thanks.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Networking & Security All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum