#1207 closed defect (duplicate)
proftp missing directory
| Reported by: | Owned by: | ||
|---|---|---|---|
| Priority: | high | Milestone: | |
| Component: | BOOK | Version: | SVN |
| Severity: | medium | Keywords: | |
| Cc: |
Description
When running the commands as layed out in the book, the following error occurs because /usr/lib/proftpd directory is not created
-bash-3.00# groupadd proftpd &&
ln -s false /usr/lib/proftpd/proftpdshell && echo /usr/lib/proftpd/proftpdshell >> /etc/shells && useradd -c proftpd -d /home/ftp -g proftpd \
-s /usr/lib/proftpd/proftpdshell proftpd
ln: creating symbolic link /usr/lib/proftpd/proftpdshell' to false': No such
file or directory
Should be
groupadd proftpd && mkdir /usr/lib/proftpd && ln -s false /usr/lib/proftpd/proftpdshell && echo /usr/lib/proftpd/proftpdshell >> /etc/shells && useradd -c proftpd -d /home/ftp -g proftpd \
-s /usr/lib/proftpd/proftpdshell proftpd

* This bug has been marked as a duplicate of 1158 *