- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: passwd setting for a directory.
Categories
Company
Local Language
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Discussions
Discussions
Forums
Forums
Discussions
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Community
Resources
Forums
Blogs
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО10-28-2009 08:49 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО10-28-2009 08:53 AM
тАО10-28-2009 08:53 AM
Re: passwd setting for a directory.
I think you need another solution for your problem. Maybe it helps to tell why you want to do this.
Hope this helps!
Regards
Torsten.
__________________________________________________
There are only 10 types of people in the world -
those who understand binary, and those who don't.
__________________________________________________
No support by private messages. Please ask the forum!
If you feel this was helpful please click the KUDOS! thumb below!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО10-28-2009 08:55 AM
тАО10-28-2009 08:55 AM
Re: passwd setting for a directory.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО10-28-2009 09:02 AM
тАО10-28-2009 09:02 AM
Solution> in windows admins use to protect a folder by passwd protecting, so like that in unix any command avail?
The closest analog I can think of is to set the sticky bit on a directory. This means that only the owner of a file can delete (remove) his/ner file from the directory, regardless of the directory's write permissions settings. To set the sticky bit you would do (either):
# chmod 1777 mydir
# chmod +t mydir
Regards!
...JRF...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО10-28-2009 09:06 AM
тАО10-28-2009 09:06 AM
Re: passwd setting for a directory.
one of our linux professional, says that a directory can password protected, so just for clarification i have asked in itrc.
thanks
james!!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО10-28-2009 09:27 AM
тАО10-28-2009 09:27 AM
Re: passwd setting for a directory.
http://docs.hp.com/en/internet.html#Encrypted%20Volume%20and%20File%20System%20%28EVFS%29
If this is what you are looking for - if you don't have the encryption key (password) you can't get at the data on the filesystem...
HTH
Duncan
I am an HPE Employee
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО10-29-2009 12:00 AM
тАО10-29-2009 12:00 AM
Re: passwd setting for a directory.
using normal rights you can do much the same, without the need for passwords.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО10-29-2009 12:46 AM
тАО10-29-2009 12:46 AM
Re: passwd setting for a directory.
Passwor protection to a folder/directory is applicable for windows , for unix the final permission depened on user/group and file permission settings.
Silmilar question raised earlier related to unix folder permission: however there is no way setting password to unix directories in unix other than file level secrity or restricting access:
check out: http://snipplr.com/view/3791/password-protect-folder--directory-with-htaccess-and-htpasswd-on-apache-and-linux--unix/
If you are accessing unix filesystems/directories from windows (Samba) , that can be made password protected as per samba/cifs configuration.
Also restricted sheel can be use to restrict user access.
Ex:
$ pwd
/home/john
$ cd /
rsh: cd: The operation is not allowed in a restricted shell.
$ more /etc/passwd
rsh: more: not found.
http://newfdawg.com/SHP-RestShell.htm
Hth,
Raj.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО10-29-2009 12:52 AM
тАО10-29-2009 12:52 AM
Re: passwd setting for a directory.
Found one Similar question:
>> how can i password protect a folder (directory)in unix :
http://www.computing.net/answers/unix/how-can-i-password-protect-a-folder-directoryin-unix/577.html
Managing with unix file permission, or delegating access with sudo , powerbroker tools are the best way controlling access.
Hth,
Raj.