[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

motd doesn't show after adding login.conf restriction to FTP users



I'm using the /etc/login.conf file to restrict ftp access of some of my users. Unfortunately by doing so the /etc/motd (message of the day) is not being displayed when logging in. I added ":welcome=/etc/motd" but that didn't help either. Anybody knows of a solution to display the motd after the user loggs in?

Thanks,
  Claus

wwwftp:\
        :nologin=/etc/webaccounts.msg:\
        :path=/usr/bin /bin /usr/sbin /sbin /usr/X11R6/bin /usr/local/bin:\
        :umask=022:\
        :datasize-max=256M:\
        :datasize-cur=64M:\
        :maxproc-max=128:\
        :maxproc-cur=64:\
        :openfiles-cur=64:\
        :stacksize-cur=4M:\
        :ftp-chroot:\
        :ftp-dir=~/www:



Visit your host, monkey.org