+Tue Apr 16 11:33:33 1996 Sam Hartman <hartmans@mit.edu>
+
+ * krlogind.c kshd.c (main): Drop support for handling options in rlogind's name.
+
Sun Apr 14 03:41:49 1996 Sam Hartman <hartmans@zygorthian-space-raiders.MIT.EDU>
* krlogind.c (fatalperror): Only declar sys_errlist if needed.
.IP \fB\-r\fP
Trust the remote hostname as an authentication system using the
- \fI.rhosts\fP authorization list.
+ \fI.rhosts\fP authorization list. This option may
+be desupported in future version of klogind.
.IP \fB\-p\fP
If all other authorization checks fail, prompt the user
authentication do not include this checksum. If this options is
specified, older Kerberos5 clients that do not send a checksum in the
authenticator will not be able to authenticate to this server.
-.PP
-If no command-line
-arguments are present, then the presence of the letters kr54cpPe in
-the program-name before "logind" determine the behaviour of the
-program exactly as with the command-line arguments.
.PP
If the
openlog(progname, LOG_PID | LOG_NDELAY, LOG_AUTH);
#endif /* 4.2 syslog */
- if (argc == 1) { /* Get parameters from program name. */
- if (strlen(progname) > MAX_PROG_NAME) {
- usage();
- exit(1);
- }
- options = (char *) malloc(MAX_PROG_NAME+1);
- options[0] = '\0';
- for (i = 0; (progname[i] != '\0') && (i < MAX_PROG_NAME); i++)
- if (!strcmp(progname+i, "logind")) {
- char **newargv;
-
- newargv = (char **) malloc(sizeof(char *) * 3);
-
- strcpy(options, "-");
- strncat(options, progname, i);
-
- argc = 2;
-
- newargv[0] = argv[0];
- newargv[1] = options;
- newargv[2] = NULL;
-
- argv = newargv;
- break;
- }
- if (options[0] == '\0') {
- usage();
- exit(1);
- }
- }
/* Analyse parameters. */
opterr = 0;
.IP \fB\-r\fP
Trust the remote hostname as an authentication system using the
- \fI.rhosts\fP authorization list.
+ \fI.rhosts\fP authorization list. This option may be desupported in a future version.
.IP \fB\-e\fP
specified, older Kerberos5 clients that do not send a checksum in the
authenticator will not be able to authenticate to this server.
-.PP
-If no command-line arguments are present, then the presence of the
-letters kKrR in the program-name before "shd" determine the
-behaviour of the program exactly as with the command-line arguments.
.PP
If the \fB\-r\fP or \fB\-R\fP options are used, the client must
connect from a privileged port.
krb5_init_ets(bsd_context);
#endif
- if (argc == 1) { /* Get parameters from program name. */
- if (strlen(progname) > MAX_PROG_NAME) {
- usage();
- exit(1);
- }
- options = (char *) malloc(MAX_PROG_NAME+1);
- options[0] = '\0';
- for (i = 0; (progname[i] != '\0') && (i < MAX_PROG_NAME); i++)
- if (!strcmp(progname+i, "shd")) {
- strcpy(options, "-");
- strncat(options, progname, i);
- options[i+1] = '\0';
-#if 0
- /*
- * Since we are just going to break out afterwards, we'll
- * re-use the variable "i" to move the command line args.
- */
- for (i=argc-1; i>0; i--) argv[i+1] = argv[i];
-#endif
- argv[++argc] = NULL;
-
- argv[1] = options;
- break;
- }
- }
/* Analyze parameters. */
opterr = 0;