Changeset - 7407ad359daa
[Not reviewed]
default
0 1 0
ethanzonca - 16 years ago 2009-07-25 00:13:18

Commenting niceties
1 file changed with 10 insertions and 7 deletions:
0 comments (0 inline, 0 general)
src/server/slavefuncs.c
Show inline comments
 
@@ -17,14 +17,17 @@
 
  along with DistRen.  If not, see <http://www.gnu.org/licenses/>.
 
*/
 

	
 

	
 
// 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[] =
0 comments (0 inline, 0 general)