Background info:
I'm looking to set up a local irc at my university, solely for the computer science students. We have a Linux (Fedora) server we can ssh into to submit assignments to, and my professor said there wouldn't be an issue setting up an irc (though he doesn't have any experience [well, neither do I..]).
Main question:
Is there a way to only allow nicks to log in that have a user on the server already? Would the config file be able to parse a command like:
Code: Select all
$(cat /etc/passwd | grep "/home" | cut -d: -f1)
Or would I have dump those to a file like so:
Code: Select all
cat /etc/passwd |grep "/home" |cut -d: -f1 > users.list
Or, finally, would a module have to be written to do something like this?
I could, of course manually enter the usernames/nicks, but I would like something that (if possible/available) could be updated automatically if a new user is created. Thanks a lot.
(PS - Mods, if this is in the wrong place, sorry. Feel free to move)