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

Re: password protect directories from command-prompt?




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.