Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 29 Apr 1996 11:52:37 -0700 (PDT)
From:      Jim Dennis <jimd@mistery.mcafee.com>
To:        helio@compuland.com.br (Helio Coelho Junior)
Cc:        questions@freebsd.org
Subject:   Re: Password in a directory
Message-ID:  <199604291852.LAA00904@mistery.mcafee.com>
In-Reply-To: <199604280016.VAA01732@sv.compuland.com.br> from "Helio Coelho Junior" at Apr 27, 96 09:16:33 pm

next in thread | previous in thread | raw e-mail | index | archive | help
> 
> 
> Is it possible to put a password in a directory, so the
> user need to type to have access granted ?
> 
> thanks!
> HElio.

	I don't know of any way to do this using "standard" Unix
	conventions.

	You could create a special group -- with a password
	and allow access using the newgrp(1) command (which
	seems to be conspicuously missing from FreeBSD).

	Under Linux you could look into the cryptfs (Cryptographic
	FileSystem) program.  From what I gather (perusing the 
	HOW-TO) it's available on some other forms of Unix.

	I guess it wouldn't be completely transparent (i.e. the 
	'cd' command wouldn't invoke the 'cattach' command
	which is the program that actually prompts for the 
	cryptographic key and performs the other necessary work
	to allow access.  However it seems that cfs is user and 
	applications transparent beyond that point.

Jim Dennis,
System Administrator,
McAfee Associates
 



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199604291852.LAA00904>