Sponsored Content
Top Forums UNIX for Dummies Questions & Answers user control- supplementary group Post 302520970 by nlassiter on Tuesday 10th of May 2011 01:09:35 PM
Old 05-10-2011
user control- supplementary group

What is a supplementary group and how do you make a supplementary group for members of a team? Thanks in advance.

---------- Post updated 05-10-11 at 12:09 PM ---------- Previous update was 05-09-11 at 10:08 PM ----------

anybody?
 

8 More Discussions You Might Find Interesting

1. Shell Programming and Scripting

User control passing parameter

there is a example: sh shell name () { echo $1 echo $2 echo $3 } echo "Enter value:" read a b c d name $a $b here permit user enter 1-4 value to the variables respectively, question is : no restrict for user input...? using only 1 variable to... (3 Replies)
Discussion started by: trynew
3 Replies

2. UNIX for Advanced & Expert Users

control user password

I have two unix server ( eg. they are Server A , Server B ) and want to use LDAP to control the user profile , each of these servers have some database and application are running , assume I have setup Server A as LDAP server . Now I am not too understand the practice of it, could anyone can advise... (0 Replies)
Discussion started by: ust
0 Replies

3. 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

4. Shell Programming and Scripting

Creating a control file for a group of files

Hi, We have almost 45,000 data files created by a script daily. The file names are of format-ODS.POS.<pharmacyid>.<table name>.<timestamp>.dat. There will be one data file like this for each pharmacy and each table.(Totally around 45,000) The requirement is to create a control file for each... (2 Replies)
Discussion started by: Maya_Pillai
2 Replies

5. 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

6. Shell Programming and Scripting

How to make expect to leave control for user?

Hello. I have several domains which are using different LDAP trees. To make life easier i wrote such script !#/bin/bash case $1 in "doman1") login='login1' password='pass1' "doman2") login='login2' password='pass2' "doman3") login='login3' password='pass3' /usr/bin/expect... (2 Replies)
Discussion started by: urello
2 Replies

7. 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

8. Web Development

New Supplementary CSS for Forum Postbit

Working on moving inline style to a supplementary CSS file. This one is postbit.css: .pb-wrapper { border-style: solid; border-width: 1px; border-color: rgba(110, 117, 182, 0.99); padding: 0px 0px 0px 0px; } .pb-wrapper-b { padding: 0px; border-width: 0px 0px 1px... (0 Replies)
Discussion started by: Neo
0 Replies
INITGROUPS(3)						   BSD Library Functions Manual 					     INITGROUPS(3)

NAME
initgroups -- initialize supplementary group IDs LIBRARY
Standard C Library (libc, -lc) SYNOPSIS
#include <unistd.h> int initgroups(const char *name, gid_t basegid); DESCRIPTION
The initgroups() function uses the getgrouplist(3) function to calculate the supplementary group IDs for the user specified in name. This group list is then set up for the current process using setgroups(2). The basegid is automatically included in the group list. Typically this value is given as the group number from the password file. If the groups database lists more than NGROUPS groups for name (including one for basegid), the later groups are ignored. RETURN VALUES
The initgroups() function returns -1 if it was not invoked by the super-user. SEE ALSO
setgroups(2), getgrouplist(3) HISTORY
The initgroups() function appeared in 4.2BSD. BUGS
The getgrouplist() function called by initgroups() uses the routines based on getgrent(3). If the invoking program uses any of these rou- tines, the group structure will be overwritten in the call to initgroups(). BSD
August 10, 2002 BSD
All times are GMT -4. The time now is 06:47 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy