Changeset - 28e718d82e23
[Not reviewed]
default
0 1 0
ethanzonca - 16 years ago 2009-07-26 22:12:37

Added ssh_keygen emptyfunc
1 file changed with 4 insertions and 0 deletions:
0 comments (0 inline, 0 general)
src/server/slavefuncs.c
Show inline comments
 
@@ -14,24 +14,28 @@
 
  GNU Affero General Public License for more details.
 

	
 
  You should have received a copy of the GNU Affero General Public License
 
  along with DistRen.  If not, see <http://www.gnu.org/licenses/>.
 
*/
 

	
 
 /*
 
  * Registration on server. Needs attention. Prevent account spamming.
 
  * distrenslave -c username email@example.com
 
 */
 
#include <stdio.h>
 

	
 
void ssh_keygen(){
 
	// Give me some args!
 
}
 

	
 
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.
 
  */
 
  char *keyname; // Url to the key
 
  char buf[10];
 
  struct execio *testrem;
 
  char *execargv[] =
 
    {
 
  "ssh",
0 comments (0 inline, 0 general)