[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: password protect directories from command-prompt?




well, i guess that i was looking for something more along the lines of how
htaccess works for accessing directories through apache. i am wanting to
secure a directory from someone just be able to  walk up when a user
with rights to the directory is logged in.

cjm

On Thu, 1 Jun 2000, Jeff Licquia wrote:

> 
> 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.
> 


--
To unsubscribe, send email to majordomo@luci.org with
"unsubscribe luci-discuss" in the body.