Sponsored Content
Operating Systems Linux Red Hat RHEL7 dos2UNIX return code 13 Post 303028695 by nezabudka on Sunday 13th of January 2019 12:34:57 AM
Old 01-13-2019
Still as an option to check access by acl and entry into groups
Code:
getacl
groups

 

10 More Discussions You Might Find Interesting

1. UNIX for Advanced & Expert Users

Return code from PL/SQL Code

Hi Guys, I was just wondering if anybody can help me with this problem. OK, how we can get a value back from PL/SQL Script (not stored procedure/function) See the below example: (for example aaa.sh) #!/bin/ksh VALUE=`sqlplus -s user/password@test_id <<EOF @xxx.sq EOF` echo $VALUE ... (7 Replies)
Discussion started by: Shaz
7 Replies

2. UNIX for Dummies Questions & Answers

to pick up the Return Code ( RC) from the mailx command and return it to SAS uisng 's

Hi All, Can anyone please let me know the syntax / how to pick up the Return Code ( RC) from the mailx command and return it to SAS uisng 'system()' function and '${?}'. I am in a process to send the mail automatically with an attachment to bulk users. I have used 'Mailx' and 'Unencode'... (0 Replies)
Discussion started by: manas6
0 Replies

3. Shell Programming and Scripting

Need help with return code 1...

Hi Guys,, I am having a unix script which is running the DB2 Insert command. For the insert command, there were no records to be updated. SQL0100W No row was found for FETCH, UPDATE or DELETE; or the result of a query is an empty table. SQLSTATE=02000 + + echo 1 STAGE_RC=1 + ] ... (6 Replies)
Discussion started by: mac4rfree
6 Replies

4. UNIX for Dummies Questions & Answers

return value of dos2unix

if (my $temp2=$b2e_r->cmd(cmd=>"dos2unix $b2e_file_name")) Even if it fails as, Jul 25 17:17:02 dos2unix /volume/systest/hello_manoj.results dos2unix /volume/systest/hello_manoj.results dos2unix: converting file /volume/systest/hello_manoj.results to UNIX format ... Failed to open... (3 Replies)
Discussion started by: manojn
3 Replies

5. Shell Programming and Scripting

Return for Dos2UNIX

Hi, I have to test to see if dos2unix is installed on the machine. Right now I am typing in dos2unix and hitting ctrl C. Is there a better workaround for this. If dos2unix is there is need to print the statement saying its there and vice versa. How can i accomplish this. thank you in... (1 Reply)
Discussion started by: tarreddy
1 Replies

6. Red Hat

How to sync time with bios in rhel7?

Hi All, I deployed the rhel7 server in the bare metal hardware. I want to configure the rhel7 server to sync time with bios. I tired the below commands. Still it did not sync the time with bios. Thanks, Kalai (3 Replies)
Discussion started by: kalpeer
3 Replies

7. Red Hat

Command for viewing hba cards on rhel7

hi all, I am trying to view the hba cards on a rhel7 server (storage says they are there, but I am not seeing them. I tried lspci -nn | grep -i hba lspci |grep qla I tried looking in /sys/class/fc_host.. but it is empty. I am not sure if I am looking in the right spot... (0 Replies)
Discussion started by: gartie
0 Replies

8. Solaris

Instructions for Solaris 10 RedHat RHEL7 IPA for LDAP authentication?

Hi, does anyone have instructions on how to connect a Solaris 10 (Sparc) machine to Redhat RHEL7 IPA server for LDAP authentication, I have gone through the usual search results on Google, but nothing is working so far, but to be fair, not sure which source is the best and have NOT rewound... (3 Replies)
Discussion started by: ckmehta
3 Replies

9. Red Hat

RHEL7 - Samba

I'm having trouble with a Linux Samba share after migrating a system from RHEL 5 to RHEL 7. My current configuration is below. workgroup = DOCS security = share comment = Data path = /export read only = yes guest ok = yes browsable = yes In RHEL7 the service will fail to... (1 Reply)
Discussion started by: christr
1 Replies

10. Red Hat

Looking for equivalent of Solaris containers/zones in RHEL7 Linux

Hi, I come from a legacy Solaris background with lots of experience with Solaris Containers/zones that we use for network and process isolation from each other. Currently we have a RHEL7 Linux VM running on VMWare, but we would like to segment that VM with some form of containers and achieve... (1 Reply)
Discussion started by: ckmehta
1 Replies
getacl(2)							System Calls Manual							 getacl(2)

NAME
getacl, fgetacl - get access control list (ACL) information (HFS File Systems only) SYNOPSIS
DESCRIPTION
returns a complete listing of all ACL entries (uid.gid, mode) in an existing file's access control list. path points to a path name of a file. Similarly, returns a complete listing of all ACL entries for an open file known by the file descriptor fildes. nentries is the number of entries being reported on, and is never more than the constant defined in If nentries is non-zero, it must be at least as large as the number of entries in the file's ACL, including base entries (see setacl(2)). returns the number of entries in the file's ACL, as well as the ACL entries themselves in the array of structures acl declared by the calling program. If nentries is zero, returns the number of entries in the file's ACL, including base ACL entries, and acl is ignored. Entries are reported in groups of decreasing order of specificity (see setacl(2)), then sorted in each group by user ID and group ID. The content of array entries beyond the number of defined entries for the file is undefined. RETURN VALUE
Upon successful completion, and return a non-negative value. If an error occurs, a value of -1 is returned, and is set to indicate the error. ERRORS
fails to modify the acl array if any of the following is true: A component of the path prefix is not a directory. The named file does not exist (for example, path is null or a component of path does not exist). A component of the path prefix denies search permission. path or a portion of acl to be written points outside the allocated address space of the process. nentries is non-zero and less than the number of entries in the file's ACL, or it is greater than is not supported on remote files by some networking services. The function is not supported by this file system type. The system file table is full. The length of path exceeds bytes, or the length of a component of path exceeds bytes while is in effect. Too many symbolic links were encountered in translating the path name. fails to modify the acl array if any of the following is true: fildes is not a valid file descriptor. nentries is non-zero and less than the number of entries in the file's ACL, or it is greater than The function is not supported by this file system type. The system file table is full. EXAMPLES
The following call returns the number of entries in the ACL on file The following call returns in acl all entries in the ACL on the file opened with file descriptor 5. DEPENDENCIES
and are only supported on HFS file system on standard HP-UX operating system. AUTHOR
and were developed by HP. SEE ALSO
access(2), chmod(2), getaccess(2), setacl(2), stat(2), privileges(5), unistd(5). getacl(2)
All times are GMT -4. The time now is 08:25 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy