Date: Sat, 28 Aug 1999 17:42:49 -0700 From: "Guy Phillips" <guy@mrguy.com> To: "Andrew Boothman" <andrew@dogma.freebsd-uk.eu.org> Cc: <freebsd-questions@freebsd.org> Subject: Re: Adduser Warnings Message-ID: <000e01bef1b7$6d7bed60$0c323fd1@default> References: <XFMail.990828223013.andrew@ukug.uk.FreeBSD.org>
next in thread | previous in thread | raw e-mail | index | archive | help
Okay! So slap me and call me stupid :)) I guess late night hours are getting to me. You are absolutely right. It seems I was neglecting to put the /sbin/nologin shell into the etc/shell file. Once I did that it produced the same result as the ftponly false shell and the error message for that user on the adduser command drops off. I'll go back and change them all again. Thanks, Guy Phillips ----- Original Message ----- From: Andrew Boothman <andrew@dogma.freebsd-uk.eu.org> To: Guy Phillips <guy@mrguy.com> Cc: <freebsd-questions@freebsd.org> Sent: Saturday, August 28, 1999 2:30 PM Subject: RE: Adduser Warnings > > On 27-Aug-99 Geocrawler.com wrote: > > This message was sent from Geocrawler.com by "Guy Phillips" <guy@mrguy.com> > > Be sure to reply to that address. > > > > I am using 3.2 stable. > > > > I blocked users access to telnet and only allowed ftp access. I did this in > > chpass by changing their shell to /bin/ftponly and then placing them in the > > ftpchroot file. Of course this shell does not exist. All works well!! None of > > the selected users can telnet in and they are locked into their home > > directories when using FTP. > > Surely it makes more sense to set the shell to /sbin/nologin and then the > system does understand what program to present users with when they login? > > --- > Andrew Boothman <andrew@ukug.uk.FreeBSD.org> > FreeBSD UK User Group > http://ukug.uk.FreeBSD.org/~andrew/ > http://ukug.uk.FreeBSD.org/ > 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?000e01bef1b7$6d7bed60$0c323fd1>