From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/39330 Path: main.gmane.org!not-for-mail From: Simon Josefsson Newsgroups: gmane.emacs.gnus.general Subject: Re: Cancel locks? Date: Wed, 17 Oct 2001 13:00:03 +0200 (CEST) Sender: owner-ding@hpc.uh.edu Message-ID: References: NNTP-Posting-Host: coloc-standby.netfonds.no Mime-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII X-Trace: main.gmane.org 1035175054 27314 80.91.224.250 (21 Oct 2002 04:37:34 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Mon, 21 Oct 2002 04:37:34 +0000 (UTC) Cc: Return-Path: Original-Received: (qmail 15223 invoked from network); 17 Oct 2001 10:51:56 -0000 Original-Received: from malifon.math.uh.edu (mail@129.7.128.13) by mastaler.com with SMTP; 17 Oct 2001 10:51:56 -0000 Original-Received: from sina.hpc.uh.edu ([129.7.128.10] ident=lists) by malifon.math.uh.edu with esmtp (Exim 3.20 #1) id 15toIZ-00057b-00; Wed, 17 Oct 2001 05:51:43 -0500 Original-Received: by sina.hpc.uh.edu (TLB v0.09a (1.20 tibbs 1996/10/09 22:03:07)); Wed, 17 Oct 2001 05:51:22 -0500 (CDT) Original-Received: from sclp3.sclp.com (qmailr@sclp3.sclp.com [209.196.61.66]) by sina.hpc.uh.edu (8.9.3/8.9.3) with SMTP id FAA02855 for ; Wed, 17 Oct 2001 05:51:13 -0500 (CDT) Original-Received: (qmail 15218 invoked by alias); 17 Oct 2001 10:51:30 -0000 Original-Received: (qmail 15213 invoked from network); 17 Oct 2001 10:51:29 -0000 Original-Received: from lie.extundo.com (195.42.214.244) by gnus.org with SMTP; 17 Oct 2001 10:51:29 -0000 Original-Received: from localhost (jas@localhost) by lie.extundo.com (8.11.6/8.11.6) with ESMTP id f9HB03w21329; Wed, 17 Oct 2001 13:00:03 +0200 X-Authentication-Warning: lie.extundo.com: jas owned process doing -bs Original-To: Per Abrahamsen In-Reply-To: Precedence: list X-Majordomo: 1.94.jlt7 Xref: main.gmane.org gmane.emacs.gnus.general:39330 X-Report-Spam: http://spam.gmane.org/gmane.emacs.gnus.general:39330 On Wed, 17 Oct 2001, Per Abrahamsen wrote: > Jesper Harder writes: > > > (setq canlock-password "hemmeligt") > > We would either need to generate the password automatically (and in a > not too easily predictable way), or alternatively prompt the user for > a password first time he post. And if we prompt, we need a really > good formulation. Customize auto-save it, initialized to something random [1]? But the user should then be informed about keeping .emacs read-protected in multi-user environments. Which is a can of worms that shouldn't be opened. Sigh. [1] There isn't a good PRNG available in elisp... Hm. Maybe a random number library would be nice.