The UNIX and Linux Forums  
Hello and Welcome from United States to the UNIX and Linux Forums! Thank You for Visiting and Joining Our Global Community.

Go Back   The UNIX and Linux Forums > Operating Systems > SUN Solaris
.
google unix.com



SUN Solaris The Solaris Operating System, usually known simply as Solaris, is a free Unix-based operating system introduced by Sun Microsystems .

More UNIX and Linux Forum Topics You Might Find Helpful
Thread Thread Starter Forum Replies Last Post
Edit/update an /etc/group database entry (c/c++) mekos UNIX and Linux Applications 1 06-02-2008 07:10 PM
max size of a group in /etc/group antalexi AIX 4 05-11-2008 09:01 AM
Group Problem redlotus72 UNIX for Dummies Questions & Answers 1 01-18-2008 05:52 PM
Monkcast #12: IBM HW group OEMs Solaris to chagrin of SW group & a ... - ZDNet.com bl iBot UNIX and Linux RSS News 0 08-17-2007 04:30 PM
NIS group vs local group vjsony UNIX for Dummies Questions & Answers 3 05-19-2003 09:54 AM

Closed Thread
English Japanese Spanish French German Portuguese Italian Dutch Swedish Russian Norwegian Hungarian Hebrew Danish Powered by Powered by Google
 
LinkBack Thread Tools Search this Thread Rate Thread Display Modes
  #1 (permalink)  
Old 12-20-2004
poli poli is offline
Registered User
  
 

Join Date: May 2004
Location: Germany
Posts: 3
entry in /etc/group too long - problem using sudo with %group

hi folks,
I've been googling for quite some time, but still can't find anything near it...my problem is the following:
for useradministration in our company we are using ssh/sudo, now whenever I try to add users (we have quite a number of users) with useradd -G groupname for secondary group I can only get up to 512 bytes in a line for a group entry, or in other words the secondary group can only hold up to 512 characters, which is not really enough for the amount of users we are using. the problem is also, that sudo relies in our landscape on %group entries for different secondary groups, but since the secondary groups can't hold enogh users, not all the users who normally should can run sudo!
did anyone come across this problem before?
how do you manage the user authentification with a large number of users using sudo?
thanks a lot!
poli
  #2 (permalink)  
Old 12-20-2004
Perderabo's Avatar
Perderabo Perderabo is offline Forum Staff  
Unix Daemon
  
 

Join Date: Aug 2001
Location: Ashburn, Virginia
Posts: 9,111
Edit /etc/group by hand. On SunOS 5.8, I have one line in /etc/group that is 1346 characters.
  #3 (permalink)  
Old 12-21-2004
poli poli is offline
Registered User
  
 

Join Date: May 2004
Location: Germany
Posts: 3
hi perderabo,
thanks a lot! we are using this workaround currently but I am not quite sure, whether solaris 8 is facing some internal limitations with it so that we might end up with a screwed up system. I opened a case with SUN, but no answer yet.
have you had any problems with the long line yet?
thanks!
poli
  #4 (permalink)  
Old 12-21-2004
Perderabo's Avatar
Perderabo Perderabo is offline Forum Staff  
Unix Daemon
  
 

Join Date: Aug 2001
Location: Ashburn, Virginia
Posts: 9,111
It works fine.
  #5 (permalink)  
Old 12-21-2004
poli poli is offline
Registered User
  
 

Join Date: May 2004
Location: Germany
Posts: 3
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
Sponsored Links
Closed Thread

Bookmarks

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On




All times are GMT -4. The time now is 11:09 AM.


Powered by: vBulletin, Copyright ©2000 - 2006, Jelsoft Enterprises Limited. Language Translations Powered by .
vBCredits v1.4 Copyright ©2007 - 2008, PixelFX Studios
The UNIX and Linux Forums Content Copyright ©1993-2009. All Rights Reserved.Ad Management by RedTyger

Content Relevant URLs by vBSEO 3.2.0