Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 19 Dec 2000 11:55:07 -0600
From:      "Daniel Domengeaux" <freebsd@supa-fly.org>
To:        "Nathan Vidican" <webmaster@wmptl.com>, "Jason Halbert" <res02jw5@gte.net>
Cc:        <questions@FreeBSD.ORG>
Subject:   Re: FTP only user
Message-ID:  <014a01c069e4$e51e44c0$0500a8c0@comspace.com>
References:  <200012191759.MAA98012@mail2.wmptl.com>

next in thread | previous in thread | raw e-mail | index | archive | help
|    As far as limiting the users from being able to telnet/ssh,
| unfortunately, (as far as I know anyhow), a user must have a valid
| shell in order for ftpd to authenticate said user. I usually just their
| login scripts and make them so the user cannot change them so as to log
| them out immediately if they attempt telnet/rlogin/ssh logins.


i believe you can just add /bin/date to /etc/shells and then set the user's
shell to /bin/date so when they login all they get is the date and then
logged back out. you can also try setting the users shell to /nonexistent i
think that should still allow ftp access.

-daniel




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?014a01c069e4$e51e44c0$0500a8c0>