Date: Wed, 29 Sep 1999 00:17:55 -0700 (PDT) From: Alfred Perlstein <bright@wintelcom.net> To: Damien Tougas <dtougas@converging.net> Cc: freebsd-questions@FreeBSD.ORG Subject: Re: Users sharing the same home directory Message-ID: <Pine.BSF.4.05.9909290014090.6368-100000@fw.wintelcom.net> In-Reply-To: <19990929005120.A53190@converging.net>
next in thread | previous in thread | raw e-mail | index | archive | help
On Wed, 29 Sep 1999, Damien Tougas wrote: > 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. Hmmm, you gave an error, but not really what you want to happen, what do you want? afaik, if you add /sbin/nologin to your /etc/shells file and set these users to use that shell then ftp access will work and telnet will not. is that what you want? no telnet, but still ftp? -Alfred 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?Pine.BSF.4.05.9909290014090.6368-100000>