I don't know if this is within the scope of this group, but I have a problem that has been nagging me for some time. I am by no means an excellent programmer, but I get by... I have created a simple bash script to automate user creation, directory creation and so on for adding sftp users. The problem, arises when I have to manually add the chroot entries in sshd2_config. (UserSpecificConfig someuser@.* /etc/ssh2/subconfig/USERS) (ChRootUsers someuser). Does anyone have any ideas to how, I can automate the entry of those two lines in sshd2_config? Thank you.