04-05-2005
Sireesha,
Are you looking for something beyond the normal ownership bits? There is an
HTML introduction to UNIX in these forums that goes over the basics of permission bits. If you are looking for something more granular, you can use extended Access Control Lists (ACLs).
The following
thread shows an example of created an extended ACL using setfacl. You can search for more info in these forums.
Cheers,
Keith
9 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
Is there a way not to display the password in the sys out when your korn shell script logs into sqlplus? (3 Replies)
Discussion started by: lesstjm
3 Replies
2. UNIX for Dummies Questions & Answers
I did a reveal hidden files in Terminal trying to get songs from my ipod. now i would like to turn that off and again hide the hidden files?????Help will be greatly appreciated
Thanks
Eric (3 Replies)
Discussion started by: unclejessie1967
3 Replies
3. Shell Programming and Scripting
Hi everybody,
Do you know how to hide the text for interactive unix shell script? Just like the case for inputting password during logon.
Patrick (1 Reply)
Discussion started by: patrickpang
1 Replies
4. Shell Programming and Scripting
Hi all,
i have a perl script for my users to run. My sys admin created an account for the users to log in and execute the script. They just type "perl myscript.pl" at the unix prompt to run it. Is there any way that i can hide my script? ,ie, do not allow my users to view the script. either... (5 Replies)
Discussion started by: new2ss
5 Replies
5. Shell Programming and Scripting
hello everybody,
i would like to hide visibility of the folders , i.e. not to giving any physically visibility to any users . Is there any way to do it other than changing the permission and adding "." post folder name .
by changing the permission , we cann't do any activity , but have... (1 Reply)
Discussion started by: manas_ranjan
1 Replies
6. Shell Programming and Scripting
Hi friends,
I want (a C++ code) to hide process in kernel 2.6, I don't want monitoring even in /proc.
please help me.
Regards,
Eilya (3 Replies)
Discussion started by: Eilya
3 Replies
7. Cybersecurity
Hi,
By reporting the process status with ps, any Unix user will see the command line arguments
#ps -ef
UID PID PPID C STIME TTY TIME CMD
lsc 13837 13825 0 May 11 pts/17 0:01 -ksh
oracle 4698 6294 0 12:00:40 ? 0:00 sqlplus -s system/manager
appluser 4229 4062 0 12:00:03... (2 Replies)
Discussion started by: bhagirathi
2 Replies
8. Shell Programming and Scripting
Hi,
I my unix we have one file that contains all the database credentials.
we are calling that file while connecting databse.
I need to hide that file....other user should not view that file.
How to do this. Please suggest me apart from permisstion(chmod) level suggestion.
Regards,... (3 Replies)
Discussion started by: rsivasan
3 Replies
9. Programming
Hi,
I need to somehow pipe the password to a command and run some SQL, for example, something like echo $password | sqlplus -s system @query01.sql
To make it not so obvious, I decided to try out writing a small C program that basically just do echo $password. So now I just do x9.out | sqlplus... (8 Replies)
Discussion started by: newbie_01
8 Replies
LEARN ABOUT CENTOS
acl_extended_fd
ACL_EXTENDED_FD(3) BSD Library Functions Manual ACL_EXTENDED_FD(3)
NAME
acl_extended_fd -- test for information in the ACL by file descriptor
LIBRARY
Linux Access Control Lists library (libacl, -lacl).
SYNOPSIS
#include <sys/types.h>
#include <acl/libacl.h>
int
acl_extended_fd(int fd);
DESCRIPTION
The acl_extended_fd() function returns 1 if the file identified by the argument fd is associated with an extended access ACL. The function
returns 0 if the file does not have an extended access ACL.
An extended ACL is an ACL that contains entries other than the three required entries of tag types ACL_USER_OBJ, ACL_GROUP_OBJ and ACL_OTHER.
If the result of the acl_extended_fd() function for a file object is 0, then the ACL defines no discretionary access rights other than those
already defined by the traditional file permission bits.
Access to the file object may be further restricted by other mechanisms, such as Mandatory Access Control schemes. The access(2) system call
can be used to check whether a given type of access to a file object would be granted.
RETURN VALUE
If successful, the acl_extended_fd() function returns 1 if the file object identified by fd has an extended access ACL, and 0 if the file
object identified by fd does not have an extended access ACL. Otherwise, the value -1 is returned and the global variable errno is set to
indicate the error.
ERRORS
If any of the following conditions occur, the acl_extended_fd() function returns -1 and sets errno to the corresponding value:
[EBADF] The fd argument is not a valid file descriptor.
[ENOTSUP] The file system on which the file identified by fd is located does not support ACLs, or ACLs are disabled.
STANDARDS
This is a non-portable, Linux specific extension to the ACL manipulation functions defined in IEEE Std 1003.1e draft 17 ("POSIX.1e", aban-
doned).
SEE ALSO
access(2), acl_get_fd(3), acl(5)
AUTHOR
Written by Andreas Gruenbacher <a.gruenbacher@bestbits.at>.
Linux ACL March 23, 2002 Linux ACL