Sponsored Content
Top Forums UNIX for Dummies Questions & Answers setting file access restriction Post 302128889 by Deanne on Friday 27th of July 2007 03:48:33 AM
Old 07-27-2007
setting file access restriction

is there a way to "lock" an entire directory to where it currently resides for securtiy purposes? only certain users can access these data, however i want to prevent the possibility of transferring/duplicating the data to where other unauthorized users can access it. Any one who knows a good solution for this? Thanks a lot!
 

9 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

sendmail 8.9 file size restriction

We use version 8.9 of sendmail. I am wondering if there is a file size restriction that limits the size of the file to be sent? If there is how can I check to see? Thanks (1 Reply)
Discussion started by: dtooth71
1 Replies

2. UNIX for Dummies Questions & Answers

Setting up FTP access to my Tomcat Dir

Hi Guys, Im trying to set up FTP to my Apache Tomcat dir on my server so my web designer can FTP in and look at things in a live environment. However at first I couldn't write to the dir, so i change some permissions, and now I cant access it at all! Here is my LS -all output: ... (4 Replies)
Discussion started by: boarderstu
4 Replies

3. UNIX for Dummies Questions & Answers

Setting permissions and restricting access

Hi all, I have user called "Z". The home directory is /home/Z. I have another directory /home/Z/OP. Within /home/Z/OP, i have 2 directories /home/Z/OP/OP1 and /home/Z/OP2. I want to restrict access for Z to only access /home/Z/OP and /home/Z/OP1 and /home/Z/OP2. What kind of... (4 Replies)
Discussion started by: new2ss
4 Replies

4. UNIX for Dummies Questions & Answers

Need help in setting access to unix server

I am performing some work for a small business that has no IT staff. They contract out work from time to time for their IT needs. What they would like to do is grant access to an AIX 5.3 server for some external customers to perform some application testing. They are running Active Directory... (3 Replies)
Discussion started by: texassynergy
3 Replies

5. Linux

SFTP user access restriction to his home dir

Hi Friends, I have installed a FTP Server on my Linux machine (Fedora 11). I want the ftp users to be restricted to their own home dir using sftp. But the said condition is met when the user logs in using ftp over port 21 and when the user logs in using sftp i.e. protocol 22, he/she has... (4 Replies)
Discussion started by: pashy
4 Replies

6. IP Networking

Help setting up a wireless access point

Hello, A friend of mine just purchased a DLINK 8500AP and I'm trying to help him set up wireless internet in his house. His computers are connected to one of two switches, which are both hooked up to his DSL modem. I connected the 8500AP to one of the switches. According to the instruction... (3 Replies)
Discussion started by: dorik
3 Replies

7. Solaris

Sudo -s restriction

Is there a way to stop users envoking a root shell with sudo on Solaris 10. I want users to use sudo <cmd> but not sudo -s (5 Replies)
Discussion started by: u20sr
5 Replies

8. Shell Programming and Scripting

Need a script to create file permission change restriction

Hello, I am looking for a UNIX shell script which can help me for access restriction. 1) /home/ram, there are number file with .txt extension, which should be only owned "ram" user. like as below ls -lrt *.txt -rwx------ 1 ram dba 11 Jan 4 2015 PASS1.txt -rwx------ 1 ram dba 10 Jan 4... (8 Replies)
Discussion started by: mr.trilok
8 Replies

9. Solaris

Solaris local access restriction other than sshd_config?

Hi All, As part of LDAP implementation we need to restrict users/groups locally on solaris machine: Options tried: sshd_config: as far as my testing it is restricting either user or group, as per the first preference. pam_access.so by default I am unable to find(need some help if this is... (0 Replies)
Discussion started by: Sridaran
0 Replies
lock_try_read(9r)														 lock_try_read(9r)

NAME
lock_try_read - General: Tries to assert a complex lock with read-only access SYNOPSIS
#include <kern/lock.h> boolean_t lock_try_read( lock_t lock_structptr ); ARGUMENTS
Specifies a pointer to the complex lock structure, lock. This is the lock structure associated with the resource on which you want to try to assert a complex lock with read-only access. The lock structure is an opaque data structure; that is, its associated members are refer- enced and manipulated by the operating system and not by the user of the complex lock mechanism. DESCRIPTION
The lock_try_read routine tries to assert a complex lock (without blocking) with read-only access for the resource associated with the specified lock structure pointer. To release a complex lock with read-only access successfully asserted by lock_try_read, call the lock_done routine. NOTES
You must call lock_init (once only) prior to calling lock_try_read to initialize the lock structure pointer for the resource. A resource, from the kernel module's standpoint, is data that more than one kernel thread can manipulate. You can store the resource in global vari- ables and in data structure members. RETURN VALUES
The lock_try_read routine returns one of the following values: The attempt to acquire the read-only complex lock was successful. The attempt to acquire the read-only complex lock was unsuccessful. FILES
SEE ALSO
Routines: lock_done(9r), lock_terminate(9r), lock_try_write(9r), lock_write(9r) Data Structures: lock(9s) lock_try_read(9r)
All times are GMT -4. The time now is 09:40 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy