![]() |
|
FreeBSD General Other questions regarding FreeBSD which do not fit in any of the categories below. |
![]() |
|
Thread Tools | Display Modes |
|
|||
![]()
I've been thinking about how to setup my VSFTP server the way I want it. I want several users being able to login (not anonymously) with username and password. All users should be "chrooted" to the same directory and confined there.
I was thinking of setups using all kinds of tricks, like virtual users or chrooting everybody to a predefined directory. But, when I think about it, can't I just add users with adduser, giving them the same home dir and no shell (-s nologin)? Are there any problems with this? Will they be able to login at all if I don't set a shell? Should I be using the -d flag to specify the (shared) home directory? I'm not really sure I understand the semantics in the man page. Thanks in advance! |
|
||||
![]()
I have a similar setup but with smb instead of ftp and it works great. Just make sure to set the appropriate umask.
__________________
"Any intelligent fool can make things bigger, more complex, and more violent. It takes a touch of genius -- and a lot of courage -- to move in the opposite direction." |
|
|||
![]() Quote:
I'll have to read up on umask. I never seem to really get it :-) Thanks for your replies! |
|
||||
![]()
phreud, for samba, you can set your umask directly in your config file. I would have pasted it here for you but the mainboard of that machine just crashed and burned this morning. I'll paste it as soon as the box is repaired.
Good luck.
__________________
"Any intelligent fool can make things bigger, more complex, and more violent. It takes a touch of genius -- and a lot of courage -- to move in the opposite direction." |
|
|||
![]() Quote:
Thanks! |
|
||||
![]()
My users do not have access to their own home. They have access via samba to a "shared folder" instead. My users do not connect via ssh and do not need their own files. It's a workgroup only machine.
__________________
"Any intelligent fool can make things bigger, more complex, and more violent. It takes a touch of genius -- and a lot of courage -- to move in the opposite direction." |
![]() |
Thread Tools | |
Display Modes | |
|
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
strange "~" directory in home directory | gosha | OpenBSD General | 5 | 23rd February 2009 06:12 PM |
ezjail /usr/home users and groups question | neurosis | FreeBSD Security | 7 | 8th September 2008 08:40 PM |
NFS mount /usr/home? | giddyupman | FreeBSD General | 1 | 1st September 2008 07:06 PM |
Request for Opinions: A secure way of sharing modules | TerryP | Off-Topic | 2 | 10th August 2008 07:18 PM |
Jails - mount: /usr/home: No such file or directory | chris | FreeBSD General | 6 | 6th August 2008 10:47 PM |