From mboxrd@z Thu Jan 1 00:00:00 1970 From: Stef Bon Subject: Re: sshfs and autofs Date: Wed, 23 Dec 2009 22:59:48 +0100 Message-ID: <4B3292D4.5040106@bononline.nl> References: <1261107485-sup-320@nixos> <1261173402-sup-9510@nixos> <4B2E48C7.8010509@bononline.nl> <1261391275-sup-7258@nixos> <4B311928.9070503@bononline.nl> <1261518309-sup-4721@nixos> <4B329000.3060101@bononline.nl> Mime-Version: 1.0 Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <4B329000.3060101@bononline.nl> List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: autofs-bounces@linux.kernel.org Errors-To: autofs-bounces@linux.kernel.org Content-Type: text/plain; charset="us-ascii"; format="flowed" To: Marc Weber Cc: autofs Stef Bon wrote: > > > This is the whole problem, because this is not easy. The automounter > (read man 5 autofs) can offer variables like USER, UID, etc,HOST > of the user requesting the mount (according to the manpage). Then to > present this user a suitable dialog... maybe via dbus??? I'm silly here, the user is not the problem, this is already available, in the options, or - in my construction - in the config file, in the parameter AUTOFS_USER and in the mountpath, but the environment this user is using! A pid of the process would be very usefull, for example. But this is not easy. When I'm logged in twice with the same account, which session should get the question for the passphrase? Stef