7 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
Is there any command that can used in Linux that export usernames and their manager's name from AD using bash shell script?
I know this can be done using powershell but I need to use Linux for this procedure. (2 Replies)
Discussion started by: dellanicholson
2 Replies
2. UNIX for Advanced & Expert Users
Hello!Does anybody know how to solve this script:
,,write a shell script which displays a list of names of users who have created files "*. c" in the last day."? (1 Reply)
Discussion started by: theodoraa
1 Replies
3. Red Hat
removing the post (6 Replies)
Discussion started by: titanic4u
6 Replies
4. Linux
Hi Team,
I have joined the Suse Linux Server in my domain. I am not able update the DNS but I am able to join the domain. net ads testjoin gives me Join ok.
even net ads dns register -P results to DNS update failed.
wbinfo -u and wbinfo -g also not working.
Samba Configuration:
... (1 Reply)
Discussion started by: naree
1 Replies
5. UNIX for Dummies Questions & Answers
Hi Friends
We have two node trucluster Tru64 4.0F Alpha Servers,In one of Tru64 4.0F Unix Server I am unable to unlock users, when I issue usermod command I will get following error
/usr/sbin/usermod -x administrative_lock_applied=0 username
account manager has exited unexpectedly - please... (0 Replies)
Discussion started by: madanmb
0 Replies
6. UNIX for Dummies Questions & Answers
rm: Unable to remove directory /mnt/users/test/logs/: File exists
ls -latr
total 191208
drwxrwxrwx 6 test echo 4096 Jul 3 22:36 ..
-rwxrwxrwx 1 test echo 97692804 Jul 3 22:36 .nfsDFA4
drwxrwxr-x 2 test echo 4096 Jul 3 23:00 .
M not able to delete... (4 Replies)
Discussion started by: solitare123
4 Replies
7. SCO
UnixWare 7, Release 7.1.3
We have a customer that has frequent issues with Non-Root users being unable to print. They are able to print w/o issues, but all of the sudden it stops working. The only workaround we have at this point is to reboot the server. It is happening weekly according to... (1 Reply)
Discussion started by: cfshd
1 Replies
LEARN ABOUT HPUX
fsetaclentr
setaclentry(3C) setaclentry(3C)
NAME
setaclentry(), fsetaclentry() - add, modify, or delete one entry in file's access control list (ACL) (HFS File Systems only)
SYNOPSIS
DESCRIPTION
Both forms of this call add, modify, or delete one entry in a file's access control list (ACL). and take a path name (path) or open file
descriptor (fd) and an entry identifier (uid, gid). They change the indicated entry's access mode bits to the given value (mode), meanings
of which are defined in modes are represented as and Irrelevant bits in mode values must be zero.
If the file's ACL does not have an entry for the given uid and gid, the entry is created and added to the ACL. If mode is (defined in the
matching entry is deleted from the file's ACL if it is an optional entry, or its mode bits are set to zero (no access) if it is a base
entry.
uid or gid can be or (defined in respectively, to represent non-specific entries or The file's or base entries can be referred to using or
(defined in for the file's owner or group ID, respectively.
and read the file's ACL with or and modify it with or respectively.
RETURN VALUE
If successful, and return zero.
ERRORS
If an error occurs, and return the following negative values and set
-1 Unable to perform or on the file. indicates the cause.
-2 Unable to perform or on the file. indicates the cause.
-3 Cannot add a new entry because the ACL already has (defined in entries.
-4 Cannot delete a nonexisting entry.
-5 Unable to perform or on the file. indicates the cause.
EXAMPLES
The following code fragment adds an entry to file ``work/list'' for user ID 115, group ID 32, or modifies the existing entry for that user
and group, if any, with a new access mode of read only. It also changes the owner base entry to have all access rights, and deletes the
entry, if any, for any user in group 109.
DEPENDENCIES
HFS and are only supported on HFS file system on standard HP-UX operating system.
NFS and are not supported on remote files.
AUTHOR
and were developed by HP.
SEE ALSO
getacl(2), setacl(2), stat(2), acltostr(3C), cpacl(3C), chownacl(3C), strtoacl(3C), acl(5), thread_safety(5).
setaclentry(3C)