Sponsored Content
Operating Systems Solaris entry in /etc/group too long - problem using sudo with %group Post 59483 by poli on Tuesday 21st of December 2004 08:50:12 AM
Old 12-21-2004
hi perderabo,
yeah, I just got the statement from SUN, that it's actually ok to edit /etc/group and add more users to a line. the system limit is 16 kByte which should be enough :-)
thanks again!
poli
 

9 More Discussions You Might Find Interesting

1. UNIX and Linux Applications

Edit/update an /etc/group database entry (c/c++)

Hello I'm writing a program for managing accounts and groups in a linux system. My problem is how to update the members of a group in the /etc/group file,if i have to add/remove those members. total 3 variables for adding some new members to the group : char **oldmembers=grp->gr_mem; ... (1 Reply)
Discussion started by: mekos
1 Replies

2. Shell Programming and Scripting

Merge group numbers and add a column containing group names

Hi All I do have a file like this with 6 columns. Groups of data merge together and the group number is indicated above each group. 1 1 12 26 289 3.2e-027 GCGTATGGCGGC 2 12 26 215 6.7e+006 TTCCACCTTTTG 3 9 26 175 ... (1 Reply)
Discussion started by: Lucky Ali
1 Replies

3. Shell Programming and Scripting

Sort the file contents in each group....print the group title as well

I've this file and need to sort the data in each group File would look like this ... cat file1.txt Reason : ABC 12345-0023 32123-5400 32442-5333 Reason : DEF 42523-3453 23345-3311 Reason : HIJ 454553-0001 I would like to sort each group on the last 4 fileds and print them... (11 Replies)
Discussion started by: prash184u
11 Replies

4. Solaris

Can't sudo Using Group Permission

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

5. UNIX for Advanced & Expert Users

script regarding listing long group names

Hello, When listing the file systems (using ls -ltr) , if the group names are longer the group name is getting truncated. Can someone help with the script which would display the truncated group name? I appreciate if someone could help in this regard. (1 Reply)
Discussion started by: mike12
1 Replies

6. Shell Programming and Scripting

need a one liner to grep a group info from /etc/group and use that result to search passwd file

/etc/group tiadm::345:mk789,po312,jo343,ju454,ko453,yx879,iy345,hn453 bin::2:root,daemon sys::3:root,bin,adm adm::4:root,daemon uucp::5:root /etc/passwd mk789:x:234:1::/export/home/dummy:/bin/sh po312:x:234:1::/export/home/dummy:/bin/sh ju454:x:234:1::/export/home/dummy:/bin/sh... (6 Replies)
Discussion started by: chidori
6 Replies

7. Solaris

Sudo Privileges & Sudoers Group

I'm looking for some suggestions to accomplish what a specific user needs, without adding them to the "sudoers" group. I have X user, that is requesting to be able to change file permissions on items owned by others and search directories where X user doesn't have access. I'm open to any... (2 Replies)
Discussion started by: Nvizn
2 Replies

8. SuSE

How to add a new user to sudo group in openSuse 12.3?

Hi All, I have created a openSUSE 12.3 VM in my VirtualBox. I have created one user and added that user to my group. Is there any command by which I can add that user to sudoers user group like we do in ubuntu? #sudo adduser user1 sudo I checked the /etc/groups file, but there is no sudo... (1 Reply)
Discussion started by: sanzee007
1 Replies

9. Programming

Sql ORA-00937: not a single-group group function

I'm trying to return only one row with the highest value for PCT_MAX_USED. Any suggestions? When I add this code, I get the ORA-00937 error. trunc(max(decode( kbytes_max, 0, 0, (kbytes_alloc/kbytes_max)*100))) pct_max_used This is the original and returns all rows. select (select... (3 Replies)
Discussion started by: progkcp
3 Replies
group(5)							File Formats Manual							  group(5)

Name
       group - group file

Description
       The file is an ASCII file that contains the following information for each group:

       Group name
       Encrypted password
       Numerical group ID
       Comma-separated list of all users allowed in the group

       Each  group name is separated from the next by a new line.  The fields are separated by colons.	If the password field is null, no password
       is demanded.

       Because of the encrypted passwords, it can and does have general read permission and can be used, for example, to map numerical	group  IDs
       to names.

       The  database  can be distributed in a network by a naming service, such as Yellow Pages or BIND/Hesiod.  See the Guide to the Yellow Pages
       Service or the Guide to the BIND/Hesiod Service for setup information.

Restrictions
       The command will not change the passwords.

       Increasing the number of groups that a user is in beyond 8 can affect services that use SUN RPC.  The version of SUN RPC shipped with ULTRX
       V4.2  supports up to 32 groups.	Prior versions supported users being in up to 8 groups.  Users who increase the number of groups that they
       are a member of to more than 8 will not be able to NFS mount file systems from ULTRIX servers older than V4.2.  If root group membership is
       increased to more than 8 groups on a V4.2 system, the YP service may not work if that V4.2 system is in a mixed YP server environment where
       there are both V4.2 and previous releases of YP servers.  Again, this incompatibility can only occur if a user's or root's group membership
       is increased to more than 8 groups.

Files
See Also
       passwd(1), setgroups(2), crypt(3), getgrent(3), initgroups(3x), passwd(5)
       Guide to the BIND/Hesiod Service
       Guide to the Yellow Pages Service

																	  group(5)
All times are GMT -4. The time now is 05:48 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy