ACLs - How can i create new executable files


 
Thread Tools Search this Thread
Operating Systems Linux Red Hat ACLs - How can i create new executable files
# 1  
Old 12-24-2016
Oh. Try this an an experiment to show you what is going on.

What is you umask? Fix it. And are you in the IT group:
Code:
#become root if you are in IT group.
   cd /tmp
   echo 'echo "test"' >/tmp/t.shl
  # -- you now have a file that needs execute to run.
  chmod 660 t.shl
  # -- be sure it does not have x
 chgrp IT t.shl
# make SURE there are no ACLs on the file.
 getfacl t.shl
 cp t.shl /files
# check ACLs on the file.
 getfacl /files/t.shl  
 /files.t.shl
# does it run?

If this fails please show everything you did. It should be okay i.e., does it run? Answer:yes

You can have no ACL on the file before you place it in the /files directory. So this means you have to make sure IT group users - programmers I guess - understand. They can mess it up.
Login or Register to Ask a Question

Previous Thread | Next Thread

9 More Discussions You Might Find Interesting

1. Shell Programming and Scripting

How to create an executable bash script for these commands?

I wish to create an executable bash script that will run the following commands as root, that is, using sudo su iptables-save | awk '/^ / { print $1 } /^:+ / { print $1 " ACCEPT" ; } /COMMIT/ { print $0; }' | iptables-restoreMy first attempt at bash... (9 Replies)
Discussion started by: thixeqi
9 Replies

2. Solaris

Command to list all header files used to create an executable

All, I would like to know if there is a command which will list all the header files which were used while creating the executable. (1 Reply)
Discussion started by: helper
1 Replies

3. Shell Programming and Scripting

How to create executable file just like in folder /bin?

I know shell is an interpreter language, but can I make an executable file just like in folder /bin, /usr/bin, etc which source code was from a .sh file or from some .sh files?? My main purpose is to hide the source code. thanks. (1 Reply)
Discussion started by: 14th
1 Replies

4. Shell Programming and Scripting

Create GUI or Executable For Script

Hi all. I've got a unix script at work that I just got done with. Now they want me to write some simple way to run it on Windows. Right now we log into a Solaris server using Hummingbird Exceed to gain a terminal. Im thinking that there really isn't any good way to get Windows and the server... (5 Replies)
Discussion started by: Grizzly
5 Replies

5. UNIX for Dummies Questions & Answers

executable files

hello. My question, basically is: what is the definition of unix/linux exec files, or what makes a file executable? More specifically, must a unix source file that was compiled using gcc have exec permissions in order to be considered executable? Is it right to say that a unix/linux exec file... (1 Reply)
Discussion started by: nadavkri
1 Replies

6. Shell Programming and Scripting

Can I make "touch" create executable files by manipulating umask?

I'm getting to grips with this concept of the umask. What I thought was, setting umask uga+rwx would result in creating files with all permissions for everyone. Seems not to be the case though. Read and write bits get set, but not the execute bit. Is there some gap in my understanding, or is... (2 Replies)
Discussion started by: tphyahoo
2 Replies

7. UNIX for Dummies Questions & Answers

listing executable files in unix.

How to list out the files which are not accessed for the last n days? and How to list out all the executable files in a directory? can anyone help me on the above? Thanks in advance. (3 Replies)
Discussion started by: venkatesht
3 Replies

8. UNIX for Dummies Questions & Answers

Executable files

This question always confuses me :- Suppose I write a program and compile it on a machine with operating system A and processor B will the exe file run on a machine with operating system A2 but processor B operating system A but processor B2 operating system A2 and processor B2........ ... (9 Replies)
Discussion started by: nervous
9 Replies

9. Programming

Makefile compilation Error -Unable to create executable

Hi , While trying to compile a PRO*C code on unix using makefile i get the following errors. i am now working on a 10g migration (from 8i) ... these makefile perfectly work in previous version. ld: fatal: file... (7 Replies)
Discussion started by: sivalives
7 Replies
Login or Register to Ask a Question
asadmin-create-acl(1AS) 					   User Commands					   asadmin-create-acl(1AS)

NAME
create-acl - adds a new access control list file for the named instance SYNOPSIS
create-acl --user admin_user[--password admin_password][--host localhost] [--port 4848][--passwordfile filename][--secure|-s][--instance instance_name] --aclfile filename acl_ID Gets the access control lists associated with the named server instance. OPTIONS
--user administrative user associated for the instance. --password administrative password corresponding to the administrative user. --host host name of the machine hosting the administrative instance. --port administrative port number associated with the administrative host. --secure indicates communication with the administrative instance in secured mode. --passwordfile file containing passwords appropriate for the command (e.g., administrative instance). --instance name of the instance. --aclfile name of the default acl file. OPERANDS
acl_ID internal name for the ACL file listing. This ID is used in a virtual server element to define the ACL file used by the virtual server. Example 1: Using create-acl asadmin> create-acl --user admin --password adminadmin --host fuyako --port 7070 --instance server1 --aclfile "/export/sample_acl_file.scl" sampleACL Created ACL with id=sampleACL Where: sampleACL is the name of the ACL created. EXIT STATUS
0 command executed successfully 1 error in executing the command INTERFACE EQUIVALENT
Access Control List page asadmin-delete-acl(1AS), asadmin-list-acl(1AS) J2EE 1.4 SDK March 2004 asadmin-create-acl(1AS)