Changeset 246
- Timestamp:
- 06/08/05 00:03:31 (3 years ago)
- Files:
-
- op/branches/autoconf/configure.in (modified) (2 diffs)
- op/branches/autoconf/lex.l (modified) (1 diff)
- op/branches/autoconf/main.c (modified) (3 diffs)
- op/branches/autoconf/Makefile.am (modified) (1 diff)
- op/branches/autoconf/regexp.h (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
op/branches/autoconf/configure.in
r245 r246 19 19 auto_detect_auth=no 20 20 with_pam=${with_pam:-yes} 21 AC_ARG_WITH(pam, [ --with-pam use PAM for authentication ])21 AC_ARG_WITH(pam, [ --with-pam use PAM for authentication (yes)]) 22 22 if test "${with_pam}" = yes; then 23 23 AC_CHECK_LIB([pam], [pam_start], [ … … 34 34 35 35 with_shadow=${with_shadow:-no} 36 AC_ARG_WITH(shadow, [ --with-shadow use shadow file for authentication]) 36 AC_ARG_WITH(shadow, [ --with-shadow use shadow file for authentication 37 (default if PAM not found)]) 37 38 if test "${with_shadow}" = yes; then 38 39 if test "${with_pam}" = yes; then op/branches/autoconf/lex.l
r240 r246 33 33 34 34 %s ARGS 35 %a 2700 36 %o 3700 35 37 36 38 %% op/branches/autoconf/main.c
r245 r246 627 627 return logger(LOG_ERR | LOG_PRINT, "SecureID not supported by op. Access denied"); 628 628 } 629 #endif 629 #endif 630 630 631 631 if (getuid() != 0 && (cp=FindOpt(cmd, "password")) != NULL) { … … 830 830 will work */ 831 831 umask(077); setuid(currentpw->pw_uid); setgid(currentpw->pw_gid); 832 //logger(LOG_DEBUG, "Executing '%s %s %s %s %s %s' as %i", argv[0], argv[1], argv[2], argv[3], argv[4], argv[5], currentpw->pw_uid);833 832 if (execv(XAUTH, argv) == -1) { 834 833 logger(LOG_ERR, "Unable to exec xauth, return code %i", errno); … … 849 848 char *argv[] = { XAUTH, "-f", xauth, "merge", tmpxauth, NULL }; 850 849 851 //logger(LOG_DEBUG, "Executing '%s %s %s %s %s' as %i", argv[0], argv[1], argv[2], argv[3], argv[4], uid);852 850 /* We need to be root to be sure that access to both Xauthority files 853 851 will work */ op/branches/autoconf/Makefile.am
r245 r246 6 6 install-exec-hook: 7 7 chmod 4755 $(DESTDIR)$(bindir)/op 8 9 clean-local: 10 rm -f lex.c op/branches/autoconf/regexp.h
r207 r246 30 30 #define MAGIC 0234 31 31 32 #endif // REGEXP_DWA20011023_H32 #endif 33 33
