From owner-freebsd-questions Fri Aug 27 13:22:24 1999 Delivered-To: freebsd-questions@freebsd.org Received: from db.geocrawler.com (db.gotocity.com [165.90.140.10]) by hub.freebsd.org (Postfix) with ESMTP id D530F15F6C for ; Fri, 27 Aug 1999 13:22:14 -0700 (PDT) (envelope-from nobody@db.geocrawler.com) Received: (from nobody@localhost) by db.geocrawler.com (8.8.8/8.8.8) id PAA15314; Fri, 27 Aug 1999 15:19:42 -0500 Date: Fri, 27 Aug 1999 15:19:42 -0500 Message-Id: <199908272019.PAA15314@db.geocrawler.com> To: freebsd-questions@freebsd.org Subject: Adduser Warnings From: "Geocrawler.com" Reply-To: "Guy Phillips" Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG This message was sent from Geocrawler.com by "Guy Phillips" 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. Except now when I adduser, I get all the users warnings that /bin/ftponly does not exist. This is only a nuisance but it could get annoying as I may have as many as 150 ftp users. I tried using adduser -s and -q and it does stop all the messages. The only problem is when it defaults to a home directory, it uses // instead of / . The result is it does not place the user in the desired home directory. If I adduser -v, goes back to all the messages and also defaults to the correct / for home. I need the / for home as the users are scattered in different diretories. example: /var/www/virtual/dealers/uploads/regions/region32/district01 I may have to users in district01 and others in other districts. I tried messing with the adduser.conf file but could solve the problem. I've searched the boards but can not find any advice pertaining to this subject. Any help would be appreciated. MrGuy Geocrawler.com - The Knowledge Archive To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message