View | Details | Raw Unified | Return to bug 153548
Collapse All | Expand All

(-)attacher.c (-1 / +1 lines)
Lines 676-682 LockTerminal() Link Here
676
          setuid(real_uid);	/* this should be done already */
676
          setuid(real_uid);	/* this should be done already */
677
#endif
677
#endif
678
          closeallfiles(0);	/* important: /etc/shadow may be open */
678
          closeallfiles(0);	/* important: /etc/shadow may be open */
679
          execl(prg, "SCREEN-LOCK", NULL);
679
          execl(prg, "SCREEN-LOCK", "-p", "-n", NULL); /* use system passwd for lock */
680
          exit(errno);
680
          exit(errno);
681
        }
681
        }
682
      if (pid == -1)
682
      if (pid == -1)

Return to bug 153548