ports/153548: gnu screen locking [with patch]
Oliver Pinter
oliver.pntr at gmail.com
Thu Dec 30 13:50:09 UTC 2010
>Number: 153548
>Category: ports
>Synopsis: gnu screen locking [with patch]
>Confidential: no
>Severity: non-critical
>Priority: medium
>Responsible: freebsd-ports-bugs
>State: open
>Quarter:
>Keywords:
>Date-Required:
>Class: change-request
>Submitter-Id: current-users
>Arrival-Date: Thu Dec 30 13:50:08 UTC 2010
>Closed-Date:
>Last-Modified:
>Originator: Oliver Pinter
>Release:
>Organization:
>Environment:
>Description:
use system password, when lock screen
>How-To-Repeat:
start screen
C-a x
>Fix:
Patch attached with submission follows:
diff --git attacher.c attacher.c
index 2de1ed9..f9ceac7 100644
--- attacher.c
+++ attacher.c
@@ -676,7 +676,7 @@ LockTerminal()
setuid(real_uid); /* this should be done already */
#endif
closeallfiles(0); /* important: /etc/shadow may be open */
- execl(prg, "SCREEN-LOCK", NULL);
+ execl(prg, "SCREEN-LOCK", "-p", "-n", NULL); /* use system passwd for lock */
exit(errno);
}
if (pid == -1)
>Release-Note:
>Audit-Trail:
>Unformatted:
>>enter the key<<
>>again <<
after this patch added
only
C-a x
and the lock use the main password
More information about the freebsd-ports-bugs
mailing list