# HG changeset patch # User ethanzonca # Date 2009-07-25 00:13:18 # Node ID 7407ad359daabf6c74ca6bfbeceb56d259d5896b # Parent 7598c8d2871ad6fedfa82d2c2a8eb1b3793c569d Commenting niceties diff --git a/src/server/slavefuncs.c b/src/server/slavefuncs.c --- a/src/server/slavefuncs.c +++ b/src/server/slavefuncs.c @@ -17,14 +17,17 @@ along with DistRen. If not, see . */ - -// Registration on server. Needs attention. Prevent account spamming. -// Key transfer via httpd md5sum filename? -// Set up something like: distrend -c username email@example.com + /* + * Registration on server. Needs attention. Prevent account spamming. + * Key transfer via httpd md5sum filename? + * Set up something like: distrend -c username email@example.com + */ void registeruser(char *username, char *email){ - // Logs into sandboxed user on zserver2 and registers a user. Should eventually generate a key on the server and return it to the user. - // All created user accounts should be sandboxed accordingly, requiring a different skel, and the default shell to be rbash. Also, - // a custom path defined in the .bash_profile of the skel is needed. + /* + * Logs into sandboxed user on zserver2 and registers a user. Should eventually generate a key on the server and return it to the user. + * All created user accounts should be sandboxed accordingly, requiring a different skel, and the default shell to be rbash. Also, + * a custom path defined in the .bash_profile of the skel is needed. + */ char buf[10]; struct execio *testrem; char *execargv[] =