Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 29 Sep 1999 00:51:20 -0600
From:      Damien Tougas <dtougas@converging.net>
To:        freebsd-questions@freebsd.org
Subject:   Users sharing the same home directory
Message-ID:  <19990929005120.A53190@converging.net>

next in thread | raw e-mail | index | archive | help
Hello,

I currently have several users sharing the same home directory. The reason
I am doing this is because I want them all to be chroot'd into the same
directory with ftpd, and I do not want to give them all the same username
and password. The way I have done this is by putting them all in the
same group, I made the home directory owned by one of the users, and set
the directory permissions as 0770. This works great for ftp, as I had
expected it to. The problem arises with telnet. When a user telnets in,
they are not put in the common home directory, an error message is printed
which says:

No home directory.
Logging in with home = "/".

and a server error message which says:

login: _secure_path: cannot stat /home_directory_path/.login_conf: Permission denied

What exactly does this mean, and is there a way around it, or do
I just have to live with it?

I was doing this all quite nicely with ProFTPd, but with all the
security stuff that was going on, I decided to revert to the
vanilla ftpd. Too bad though, because ProFTPd allows me to create
ftp only users, they don't even need to show up in master.passwd.

-- 
Damien Tougas
Converging Technology Solutions, Inc.
Phone: (780)469-1679
Fax: (780)461-5127
E-mail: dtougas@converging.net
http://www.converging.net


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?19990929005120.A53190>