#define CLASS 3
#define ID 4
+#ifdef ATHENA
+#define DEFAULT_SHELL "/bin/athena/tcsh"
+#else
#define DEFAULT_SHELL "/bin/csh"
+#endif
#define DEFAULT_CLASS "?"
return(DM_NORMAL);
}
- if ( ((login = args[1] = GetLoginName()) == NULL) ||
+ sprintf(temp_buf, "u%s", args[0]);
+ login = strsave(temp_buf);
+ if ( (GetValueFromUser("Login name for this user? ", &login) == SUB_ERROR) ||
( GetFSTypes(&fstype, FALSE) == SUB_ERROR ) ) {
+ args[1] = login;
FreeInfo(args); /* This work because the NULL temination is ok. */
return(DM_NORMAL);
}
+ Put_message("KERBEROS code not added, did not reserve name with kerberos.");
+ args[1] = login;
args[2] = fstype;
args[3] = NULL;