I can't get a clear answer on this one...
I have a Oracle user created in group 'dba'
when this user touches a file the group displayed is 'sys' - why?
The 'sys' group is not included in the list of secondary groups for this user.
Is this standard to Oracle on Unix? (AIX)
Anybody? (1 Reply)
Hi!
Herez the scenario
1. logged in as user xxxx
$ id
uid=125(xxxx) gid=101(my_grp) groups=0(system),15(users),16(sysadmin),19(adm),110(appl)
$ touch test
$ ls -la test
-rw-r--r-- 1 xxxx system 0 Mar 7 14:31 test
Why is the group of the file test 'system' and not... (2 Replies)
All,
How i can add a user to a group so that the user will ahve all permsion on that directory .
(sys12:pnl:/work/cn/>) groups crcv1
canusr
and
(sys12:pnl:/work/cn/>) groups pfmgr
pfw users
i am having the .ssh in the directory /work/cn/ which has permision as drwx------ .
... (4 Replies)
Hi,
Need awk help to group and print lines to format the output as shown below
INPUT FORMAT
set echo on
set heading on
set spool on
/* SCHEMA1 */ CREATE TABLE T1;
/* SCHEMA1 */ CREATE TABLE T2;
/* SCHEMA1 */ CREATE TABLE T3;
/* SCHEMA1 */ CREATE TABLE T4;
/* SCHEMA1 */ CREATE TABLE T5;... (5 Replies)
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)
HI
I need to know what is the primary group name of a particular user.
How to do this ?
Maybe with groups cmd ? (first group name in line, is the primary group)
thx for help. (2 Replies)
Hi,
Anyone can help me on how to duplicate privileges and group for useroradb01 to userrootdb01. I have currently using "useroradb01" and create a newly user "userrootdb01".
I want both in the sames privileges and group. Please see the existing users list below;
drwxr-xr-x 53 useroradb01... (0 Replies)
Can someone help in creating a group and user.
syntax to create a Group called Members.
syntax to create a user called AAAA and place in to the Group Members.
Thanks for your help in Advance. (3 Replies)
hi
i have vert strange query.. can we add user in unix with out assigned it to any group i mean user which is having no default group or anything..
like this in /etc/passwd file
new_user::::::::
Please help (2 Replies)
Discussion started by: aishsimplesweet
2 Replies
LEARN ABOUT REDHAT
groupadd
GROUPADD(8) System Manager's Manual GROUPADD(8)NAME
groupadd - Create a new group
SYNOPSIS
groupadd [-g gid [-o]] [-r] [-f] group
DESCRIPTION
The groupadd command creates a new group account using the values specified on the command line and the default values from the system.
The new group will be entered into the system files as needed. The options which apply to the groupadd command are
-g gid The numerical value of the group's ID. This value must be unique, unless the -o option is used. The value must be non-negative.
The default is to use the smallest ID value greater than 500 and greater than every other group. Values between 0 and 499 are typi-
cally reserved for system accounts.
-r This flag instructs groupadd to add a system account. The first available gid lower than 499 will be automatically selected unless
the -g option is also given on the command line.
This is an option added by Red Hat.
-f This is the force flag. This will cause groupadd to exit with an error when the group about to be added already exists on the sys-
tem. If that is the case, the group won't be altered (or added again).
This option also modifies the way -g option works. When you request a gid that it is not unique and you don't specify the -o option
too, the group creation will fall back to the standard behavior (adding a group as if neither -g or -o options were specified).
This is an option added by Red Hat.
FILES
/etc/group - group account information
/etc/gshadow - secure group account information
SEE ALSO chfn(1), chsh(1), passwd(1), groupdel(8), groupmod(8), useradd(8), userdel(8), usermod(8)AUTHOR
Julianne Frances Haugh (jockgrrl@ix.netcom.com)
GROUPADD(8)