I am bit unclear of how Linux was set in the real world, please advise me how it's supposed to be.
When I log in as root and do a ls -l, I find: /boot, /, /var, /usr, /tmp, /home, /u01, /u02, /u03 and of of this partition is owned by root and the group also belong to root. Is that the way it's... (1 Reply)
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 all,
i need to capture all the files in a directory and its subdirectories that have owner name different than the root owner.
for one file it is " stat -c %U filename " but i need to search for each and every file and record it.
thanks in advance (14 Replies)
Hi all,
We have some files are under 744 permissions and the the owner is say owner1 and group1.
Now we have another user owner2 of group2, owner2 can remove files of the owner1 and the permission of those files are 744, unix admin told us he did some config at his side so we can do that.
... (14 Replies)
If I have to identify the group owner of an AIX group, what is the command to be used. Example: there is an mqadm group, how do I find the owner of this group?
Please help. (6 Replies)
Dears
it is normal that the below binaries stay without any owner and group
I have checked it in many servers and the like the below
/usr/lpp/bos.net/inst_root/etc/ipsec# ls -lrt
total 248
-r-xr-xr-x 1 987 987 13589 Jun 29 2005 default_group
-r-xr-xr-x ... (5 Replies)
Hi.
My example:
I have a filesystem /log. Everyday, log files are copied to /log. I'd like to set owner and permission for files and directories in /log like that
chown -R log_adm /log/*
chmod -R 544 /log/*It's OK, but just at that time. When a new log file or new directory is created in /log,... (8 Replies)
I am searchingfor files owned by particular owner and group in a particular directory including its sub-directories. I use
find <dir> -user <user> -group <group> -exec ls -l {} \;
It does not work completely. In the sense is a subdirectory is owned by 'user' and group 'group' then all... (9 Replies)
I want to add a condition is my find command to include files/sub-directory whose owner or group is all numeric number.
My current find command is
find . \( -user root -o -user soham\) -type f -exec ls -l {} \; 2>&1
---------- Post updated at 10:20 AM ---------- Previous update was at... (5 Replies)
Discussion started by: Soham
5 Replies
LEARN ABOUT CENTOS
cgconfigparser
CGCONFIGPARSER(8) libcgroup Manual CGCONFIGPARSER(8)NAME
cgconfigparser - setup control group file system
SYNOPSIS
cgconfigparser [-h] [-l <filename>] [-L <directory>] [...]
OPTIONS -h, --help
Displays help.
-l, --load=FILE
Parses the control groups configuration file Sets up the control group file system defined by the configuration file and mounts
mount points defined by the configuration file. The format of the file is described in cgconfig.conf. This option can be used mul-
tiple times and can be mixed with -L option.
-L, --load-directory=DIR
Finds all files in given directory and parses them in alphabetical order like they were specified by -l option. This option can be
used multiple times and can be mixed with -l option.
-a <agid>:<auid>
defines the default owner of the rest of the defined control group's files. These users are allowed to set subsystem parameters and
create subgroups. The default value is the same as has the parent cgroup.
-d, --dperm=mode
sets the default permissions of a control groups directory. The permissions needs to be specified as octal numbers e.g. -d 775.
-f, --fperm=mode
sets the default permissions of the control group files. The permissions needs to be specified as octal numbers e.g. -f 775. The
value is not used as given because the current owner's permissions are used as an umask (so 777 will set group and others permis-
sions to the owners permissions).
-s, --tperm=mode
sets the default permissions of the control group tasks files. The permissions needs to be specified as octal numbers e.g. -f 775.
The value is not used as given because the current owner's permissions are used as an umask (so 777 will set group and others per-
missions to the owners permissions).
-t <tuid>:<tgid>
defines the default owner of tasks file of the defined control group. I.e. this user and members of this group have write access to
the file.
ENVIRONMENT VARIABLES
CGROUP_LOGLEVEL
controls verbosity of the tool. Allowed values are DEBUG, INFO, WARNING or ERROR.
SEE ALSO
cgconfig.conf (5)
Linux 2009-03-16 CGCONFIGPARSER(8)