Bug 21806

Summary: lock(1) currently defaults to 15 minute timeout
Product: Base System Reporter: mbendiks <mbendiks>
Component: binAssignee: freebsd-bugs (Nobody) <bugs>
Status: Closed FIXED    
Severity: Affects Only Me    
Priority: Normal    
Version: 4.1-RELEASE   
Hardware: Any   
OS: Any   
Attachments:
Description Flags
file.diff none

Description mbendiks 2000-10-07 05:40:01 UTC
	Since O'Brien introduced the ability to do no-timeout, we have still
	been stuck with the default of 15 minutes. I would propose to change
	it to no timeout; however, this probably conflicts with POLA, hence,
	I leave people with the patches and a decision for them to make.

Fix: Following unified diff (4 line context) in /usr/src/usr.bin

How-To-Repeat: 
	> lock -p
	lock: /dev/ttyv2 on suiram.no.no. timeout in 15 minutes
	time now is Sat Oct  7 03:13:47 CEST 2000
	Key:
Comment 1 iedowse freebsd_committer freebsd_triage 2002-08-11 00:18:06 UTC
State Changed
From-To: open->closed


There doesn't seem to have been any interest in changing the current 
behaviour. Defaulting to a finite timeout seems the most reasonable 
thing to do, as it encourages users to specify how long the terminal 
will remain locked.