Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 27 Aug 1999 15:19:42 -0500
From:      "Geocrawler.com" <archiver@db.geocrawler.com>
To:        freebsd-questions@freebsd.org
Subject:   Adduser Warnings
Message-ID:  <199908272019.PAA15314@db.geocrawler.com>

next in thread | raw e-mail | index | archive | help
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.

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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199908272019.PAA15314>