Allow existing server usernames [Linux]
Posted: Thu Oct 13, 2011 6:04 pm
I read through the FAQ and modules list, as well as the config sections of the documentation. Didn't see anything of the sort there. So excuse me if this information exists out there and I wasn't a good enough searcher.
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:
Thereby pulling only the registered users on the system?
Or would I have dump those to a file like so:
and then have the config load that? (is this possible?)
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)
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.listOr, 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)