From owner-freebsd-questions Wed Sep 29 10: 2:52 1999 Delivered-To: freebsd-questions@freebsd.org Received: from rucus.ru.ac.za (rucus.ru.ac.za [146.231.29.2]) by hub.freebsd.org (Postfix) with SMTP id 252D315916 for ; Wed, 29 Sep 1999 10:01:08 -0700 (PDT) (envelope-from bvi@rucus.ru.ac.za) Received: (qmail 50993 invoked by uid 374); 29 Sep 1999 17:03:14 -0000 Date: Wed, 29 Sep 1999 19:03:14 +0200 From: Barry Irwin To: Damien Tougas Cc: freebsd-questions@FreeBSD.ORG Subject: Re: Users sharing the same home directory Message-ID: <19990929190314.E23989@rucus.ru.ac.za> References: <19990929005120.A53190@converging.net> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 1.0pre2i In-Reply-To: <19990929005120.A53190@converging.net> Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On Wed 1999-09-29 (00:51), 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: Something you could try is create somethign along the lines of /home/restricted/username. Then restrict their access to /home/restricted. But the other solution that I employ for creating ftp/pop only accounts is to creat a program such as pop.only or ftp.only which simply write to stdout a message that this account is not valid for interactive login. And chance their shell to this, ( with appropraite updates to /etc/shells where need be). Barry -- -------------------------------------------------------------------------- Barry Irwin IRC: balin@zanet (#linux) bvi@moria.org http://rucus.ru.ac.za/~bvi Whois BI414 - PMPN8EZ - http://moria.org -------------------------------------------------------------------------- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message