[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: password protect directories from command-prompt?
- To: luci-discuss@luci.org
 
- Subject: Re: password protect directories from command-prompt?
 
- From: Jeff Licquia <jeff@luci.org>
 
- Date: Thu, 1 Jun 2000 00:48:45 -0500
 
- In-Reply-To: <Pine.LNX.3.96.1000531215947.7250B-100000@sandman.lunarmedia.net>; from charles@lunarmedia.net on Wed, May 31, 2000 at 10:00:10PM -0500
 
- Organization: Linux Users of Central Illinois
 
- References: <Pine.LNX.3.96.1000531215947.7250B-100000@sandman.lunarmedia.net>
 
- Reply-To: luci-discuss@luci.org
 
- Sender: owner-luci-discuss@luci.org
 
- User-Agent: Mutt/1.0.1i
 
On Wed, May 31, 2000 at 10:00:10PM -0500, Charles Menzes wrote:
> 
> is there a way to do this?
Password protect directories in the shell?  Sure!
jeff@server1:~$ ls -l / | grep 'root$'
drwx------   14 root     root         2048 May 23 00:53 root
jeff@server1:~$ cd /root
bash: cd: /root: Permission denied
jeff@server1:~$ su -
Password: 
server1:~# cd /root
server1:~# 
Any other questions? :-)
--
To unsubscribe, send email to majordomo@luci.org with
"unsubscribe luci-discuss" in the body.