These classnotes are depreciated. As of 2005, I no longer teach the classes. Notes will remain online for legacy purposes

UNIX03/Build Contents Of Etc

Classnotes | UNIX03 | RecentChanges | Preferences

No diff available--this is the first major revision. (no other diffs)
Now we build the contents of the ~/etc directory. Again, this is just like what we did with Amavisd.

The only users we want in this chroot system are root and mort. Edit "passwd" to contain the following:

 root:*:0:0::/:/etc/ftponly
 mort:*:403:400::/home/web/mort/./:/etc/ftponly

Edit "group" to contain the following:

 root::0:root
 client::400:mort

 chown root.daemon passwd group 
 chmod 444 passwd group 

Now copy the /etc/wu-ftpd directory into etc in the chroot system.



Classnotes | UNIX03 | RecentChanges | Preferences
This page is read-only | View other revisions
Last edited June 14, 2003 3:23 am (diff)
Search:
(C) Copyright 2003 Samuel Hart
Creative Commons License
This work is licensed under a Creative Commons License.