W dniu 10.01.2025 o 19:30, Charles Mills pisze:
I am more of a UNIX ignoramus than I should be. What do I have to do to give 
myself permission to write into /etc ?

Here is what /etc looks like:

Filename  Type Permission Audit  Ext  Fmat Owner    Group    Links
-------------------------------------------------------------------
etc       Dir  rwxrwxr-x  fff---      ---- OMVSKERN OMVSGRP      16

I can log on as IBMUSER and it accepts chmod u+rw /etc with no error but 
nothing changes.

What am I supposed to do? z/OS V3R1

The simplest way:
define CL(FACILITY) BPX.SUPERUSER profile and permit AUTH(READ) to your user.
Then you will be able to "su" command.
"su" means you want to be superuser vel batman vel superman vel Chuck Norris. You will be allowed to all possible filesystem actions despite of "rwx" settings.

However without the above a person with effective rwx (even less) is able to create file inside directory. Otherwise you should see ICH408I in the syslog. Did you observed any? BTW: "write to /etc" mean write to a *directory* - it is not the same as write to file. w (write) to directory allows you to create or delete files inside. Even those files which you have no authority to even read. With different owner.

Advice: do not perform any test on /etc. Use some other directory instead. It can be /u/your_home/test_dir1


--
Radoslaw Skorupka
Lodz, Poland

----------------------------------------------------------------------
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to [email protected] with the message: INFO IBM-MAIN

Reply via email to