Sponsored Content
Full Discussion: User Group
Top Forums UNIX for Dummies Questions & Answers User Group Post 12556 by errolg on Thursday 3rd of January 2002 09:28:24 AM
Old 01-03-2002
User Group

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?
 

10 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

user/group

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)
Discussion started by: sdharmap
2 Replies

2. UNIX for Dummies Questions & Answers

User and Group Structure

I was asked to set up a unix system and i am at a loss. i need to know the best one for a small to medium sized business and how to go about setting up the uids and the guids for the network. what permissions i have available and such. (1 Reply)
Discussion started by: dwchapman
1 Replies

3. Solaris

Adding User to group

Hi all, I have a existing user user1 its group id dba i have created a new user named: uta and added to group dba my task for creating uta ( to ftp solaris server from /oracle/pcmia/dry1 & oracle/pcmia/dry2 and get some rdf ( database patch) and saved in one windows folder named d:\patch... (2 Replies)
Discussion started by: saurabh84g
2 Replies

4. Shell Programming and Scripting

Find all files with group read OR group write OR user write permission

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)
Discussion started by: shunter63
5 Replies

5. Shell Programming and Scripting

user and its group

Hello, is there any command which can show a particular user "xyz" is belongs to how many groups thanks (3 Replies)
Discussion started by: lookinginfo
3 Replies

6. Ubuntu

Create New User with the same group nd privileges of the other user

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)
Discussion started by: fspalero
0 Replies

7. Debian

Group/User

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)
Discussion started by: sawyer
3 Replies

8. Shell Programming and Scripting

user without group

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

9. Linux

Nobody user group in Linux

Hi I am facing problem of taking backup of file system as username1. There are some files in system which is having group ownership as nobody. and username1 is not able to open this file and backup is failing .Even as a root user I can not open this file. File which is creating problem is ... (1 Reply)
Discussion started by: devesh123
1 Replies

10. Red Hat

User is a Part of a Group But Group Details Do Not Show the User

Hi, In the following output you can see the the user "richard" is a member on the team/group "developers": # id richard uid=10247(richard) gid=100361(developers) groups=100361(developers),10053(testers) but in the following details of the said group (developers), the said user... (3 Replies)
Discussion started by: indiansoil
3 Replies
initgroups(3)						     Library Functions Manual						     initgroups(3)

NAME
initgroups - Initializes concurrent group set LIBRARY
Standard C Library (libc.a) SYNOPSIS
int initgroups ( char *user, gid_t base_gid ); PARAMETERS
Specifies the user whose groups are to be used to initialize the group set. Specifies an additional group to include in the group set. DESCRIPTION
The initgroups() function reads the defined group membership of the specified user and sets the concurrent group set of the current process to that value. The base_gid parameter is always included in the concurrent group set, and is normally the principal user's group. If the user is in more than NGROUPS_MAX groups, only NGROUPS_MAX groups are set, including the base_gid group. CAUTION
The initgroups() function uses the sia_get_groups() function to set up the group array. If the program that invokes initgroups() uses any of these functions, then calling initgroups() overwrites the static group structure. RETURN VALUES
Upon successful completion, the initgroups() function returns 0 (zero). If the initgroups() function fails, 1 is returned and errno is set to indicate the error. ERRORS
If the initgroups() function fails, errno may be set to the following value: The calling process does not have the appropriate privilege in its current effective privilege set. RELATED INFORMATION
Functions: getgroups(2), setgroups(2), getgid(2) sia_get_groups(3) Commands: groups(1) delim off initgroups(3)
All times are GMT -4. The time now is 06:47 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy