Subject: [959] setting up guestgroup

From: Mark Bieniulis <[email-masked]>
Date: Wed, 21 Dec 1994 09:21:52 -0700 (MST)

how to set up an upload directory under the anonymous ftp home
directory which would be accessible by only certain people.

i've tried creating a user "aguest" group "gst" in my /etc/passwd & 
/etc/group files

the passwd entry is   
			aguest:xxxx:401:401::/data/ftp/./incoming:/etc/ftponly

when i ftp to my server and log in as "aguest" i get user access denied 
message.

what am i doing wrong? and is there supposed to be a shell program called 
"ftponly"? or is that any dummy argument?

thanks
mark

---

From: [email-masked] (Bernward Bretthauer)
Date: Thu, 22 Dec 1994 08:49:46 +0100

You have to enter /etc/ftponly in the file /etc/shells (at least on
SUN-OS 4.x). There need not be a program /etc/ftponly, this is only
a dummy entry to prevent users aguest from login in with telnet.

Don't forget to enter all other valid shells in /etc/shells, if you create it.
My file looks like this:
/bin/sh
/bin/csh
/usr/bin/sh
/usr/bin/csh
/usr/bin/tcsh
/usr/local/bin/bash
/etc/ftponly

There is one disadvantage of this: If a user is playing around with shells
and do a "chsh" to /etc/ftponly, he will be locked out from the system
and will need the help of the superuser.

---

From: "The best things in life ... are fantasy." <[email-masked]>
Date: Thu, 22 Dec 1994 13:11:01 -0500 (EST)

This is a disadvantage? Heheheheh.

---

From: "The best things in life ... are fantasy." <[email-masked]>
Date: Thu, 22 Dec 1994 13:08:10 -0500 (EST)

You need to have a list of shells (whether or not they exist) in a file,
/etc/shells. Do you have this?

PCVS