Dave Feustel wrote: > 1) add the line > umask 077 > to .profile > > 2)add the file .kshrc containing at least the line > set -o vi > > > Also modify adduser so that the home directory > permissions of new users are set to drwx------ > instead of drwxr-xr-x
OpenBSD is a general purpose OS. There are lots of general purposes out there. :) All three of those are personal preference things. You want them that way, someone else might be much more interested in "sharing" files between users rather than keeping files completely private by default. These changes would break many people's expectations, and with the exception of the last, are EASILY implemented with a siteXX.tgz file. The last one could be more generally addressed with a adduser.local script. Of course, you could also just make a wrapper script that does whatever you want to do to the users...which is probably even more general. For many apps, there are a LOT of things you might want to do that adduser(8) doesn't cover, a custom script is probaby the best choice. Nick.

