LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices


Reply
  Search this Thread
Old 02-10-2003, 04:53 AM   #1
jayakrishnan
Member
 
Registered: Feb 2002
Location: India
Distribution: Slacky 12.1, XP
Posts: 992

Rep: Reputation: 30
password protecting directories


is there any why i can password protect linux under directories?
say when someone tries to execute the command

cd <directory-name>

it should ask for password
 
Old 02-10-2003, 05:08 AM   #2
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,417

Rep: Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985
you should be setting up things such as this via access rights on the file system, preserving diredtory ownership and such. if you want a password for a certain directory i'd say maybe creating a special user who can only access that directory or such like. better though just to restrict it's access in the conventional ways.
 
Old 02-10-2003, 05:49 AM   #3
markus1982
Senior Member
 
Registered: Aug 2002
Location: Stuttgart (Germany)
Distribution: Debian/GNU Linux
Posts: 1,467

Rep: Reputation: 46
Or use an encrypted filesystem (will decrease performance and stability though) ...
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
protecting home directories munkie_poo Linux - Security 3 07-04-2005 04:55 AM
Password protecting directories in apache niverson Linux - Security 6 03-02-2004 10:40 PM
Protecting Root Password ukndoit Linux - Security 10 10-16-2003 09:32 AM
HTML password protecting darin3200 General 19 06-03-2003 03:13 AM
password protecting a webpage jonfa Linux - General 5 03-22-2002 06:26 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 01:47 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration