[Solved] AIX not following permission rules on group
Has anyone ever encountered this? It's one of those it was working Monday but not today issues.
We have an account pcadmin in the group utl, its supposed to read the files in utl. No issues on Monday, but today pcadmin can't read anything owned by utl. Below you can see it still has the group and the group ownership of the files. My instinct is reboot the host, but its prod and the request will take awhile to get approved. Any other thoughts?
Code:
$ id pcadmin
uid=30101(pcadmin) gid=10051(pcadmin) groups=1(staff),10000(infra),31008(pc_pdc),31007(pc_frm),10012(omg),10003(bpr),
31019(embsft),10068(pcdev),31005(cqsadm),10303(sfubpr),10067(bpftpg),
10139(cqs),10041(act),10011(bil),10014(ccr),30125(utl)
$ groups pcadmin
pcadmin : pcadmin staff infra pc_pdc pc_frm omg bpr embsft pcdev cqsadm sfubpr bpftpg cqs act bil ccr utl
$ ls -ltr
total 8
-rw-rw---- 1 prutl utl 632 Mar 05 21:43 CST_END_TO_END_PF.txt
-rw-rw---- 1 prutl utl 15 Mar 05 22:45 test
-rw-rw---- 1 prutl utl 12 Mar 05 22:48 jeremy.txt
$ cat jeremy.txt
cat: 0652-050 Cannot open jeremy.txt.
$ uptime
10:50PM up 83 days, 16:31, 9 users, load average: 2.61, 3.33, 4.02
Please forgive me, but I am not a Unix expert. I'm supporting SAP r/3 and we are trying to run an external command from SAP to read a file at the unix level. When we perform the more command on the following two files, we are succesful in reading the bws file, but unsucessful in reading the bws1... (13 Replies)
I have an executable that had permissions set to 700. I changed this to 770 and added a user to the group in an attempt to allow that userds to run the file. Obviously this didnt work or I wouldnt be here.
Do I need to cause the group file to be re-read and if so how, or am I misunderstanding... (6 Replies)
hello
I search a script (ksh for Aix 5.3) to save all permissions, groups and owner for all files. Because we work much to change it, and a mystake ......!
So i want execute this script to save/ execute permissions for all files.
If you have this script, thank you for your help ;)
best... (2 Replies)
Hi,
A simple and silly question on Unix.
I have a directory named "a" and I would like to grant permission to group name "text" to access, read and execute my directory.
Could anyone help me?
Thanks. (2 Replies)
In our file system, the SGID for a directory is set right now. Any new files created in this directory will automatically be assigned the same group from the parent directory.
Is there a way to inherit the file permission from the parent directory as well? The OS is Solaris 2.8.
Example:... (1 Reply)
I need to find all the files that have group Read or Write permission or files that have user write permission.
This is what I have so far:
find . -exec ls -l {} \; | awk '/-...rw..w./ {print $1 " " $3 " " $4 " " $9}'
It shows me all files where group read = true, group write = true... (5 Replies)
How would i write a command that can find all the objects under the etc directory that have group write permission enabled and have not been accessed in the last X days.
This is what i got from internet souce but i m not able to modify it according to my distribution.
find /etc -perm... (1 Reply)
All:
I'm having a problem with sudo on Solaris 5.10 that is giving me fits (and BTW, I'm a Linux admin by trade...).
The issue is that I have a number of users (myself included) that cannot sudo to root to complete user admin tasks. Assuming the user is jdoe, and the group with the elevated... (3 Replies)
why is the group id in capital S and not lowercase s ?
I have a directory with the following permissions:
drwxrws--x
when I remove the group id and add it again with g+s or chmod 2765 , it
displays the group ID in capital "S" instead of lowercase "s"
tried to find this out on Google, but... (2 Replies)
I want to create a GROUP with rwx permission. Also, I want to create a GROUP with root privileges, so that next time i create a user, I just need to add it to any of the groups and privileges automatically applied.
please help.
Thanks,
Shouvanik (4 Replies)
Discussion started by: shouvanik
4 Replies
LEARN ABOUT DEBIAN
switchconf
switchconf(8) System Manager's Manual switchconf(8)NAME
switchconf - Change system configuration to one of many predefined
SYNOPSIS
switchconf [ -list | config_scheme ]
DESCRIPTION
switchconf is a command line tool that helps nomad laptop users to easily change their configuration.
OPTIONS
switchconf takes only one argument. If this argument is -list, a list of all known configuration schemes is returned (found in
$conf_top_dirs). If the argument is a configuration scheme, this configuration will be installed on the laptop.
CONFIGURATION FILE
The configuration file (/etc/switchconf/conf) is simple. The following entries are defined:
conf_top_dirs
This specify where are located the configurations schemes.
dest_dir
This specify in which top directory you want to install the new configuration. This option is pretty useful if you want to debug
your configuration without overwritting the actual one.
exec_dir_before, exec_dir_after
This specify the name of the exec directory : all files included will be executed before or after configuration changes
run_parts
This specify the path to the run-parts command, that is used to execute the scripts. Leave it empty to use the internal implementa-
tion of run-parts.
config_method
This specify the method to use to copy the configuration files, to their places: softlink, hardlink, copy
/etc/switchconf/conf should be written so it is parsable as a shell script - There should be no spaces between the variable name and its
value.
SCHEMES
You should create a directory for each configuration scheme you define, including all the files it should set in the system. Inside
/etc/switchconf the directories you should create the files including the full path (i.e., /etc/switchconf/home/etc/network/interfaces for
/etc/network/interfaces).
No scheme should be named as either the exec_dir_before or the exec_dir_after, unless the conf_top_dirs is moved out of its default direc-
tory, /etc/switchconf.
Although it is not really necessary, you should probably ensure that all the files existing in one of the schemes exist on every other
scheme, in order to ensure you do not end up in a hybrid state.
FILES
/etc/switchconf/conf
Configuration file.
/var/lib/misc/switchconf.lastcfg
Memory file, has the name of the current active scheme
BUGS
Actually no bugs are reported.
AUTHOR
switchconf was written by Sebastien J. Gross <seb@sjgross.org> switchconf was contributed by Julien Ducros <jul@chezwam.org> switchconf was
maintained by Jose Calhariz <jose.calhariz@tagus.ist.utl.pt>
3rd Berkeley Distribution April 2002 switchconf(8)