Am 15.01.2013 um 13:39 schrieb Arnau Bria:

> Hi all,
> 
> Some of our users belong to groups with white spaces, something like:
> 
> "Common Lab name1 surname1"
> "Common Lab name2 surname2"
> 
> Notice that "common" is the same in all groups.
> 
> With groups names like the above I'm seeing :
> 
> 1.-) SGE collects Common as primary group for many users
> uid:                        32518
> group:                      Common
> gid:                        32000

`man groupadd`:

       The group name must begin with an alphabetic character and the rest of 
the string should be from the POSIX portable char-
       acter class ([A-Za-z_][A-Za-z0-9_-.]*).

I would expect even more problems with spaces in user and/or group names. Did 
you use `groupadd` to create them - I get an error complaining about the name:

# groupadd "Common Lab name2 surname2"
groupadd: Invalid group name `Common Lab name2 surname2'.

Removing the spaces made it work.


> 2.-) I cannot define the entire group name as a valid entry in a ACL.
> 
> 3.-) I cannot use gid as ACL entry (@32000) 
> from access_list man page:
> 
>       entries
>               Only symbolic names are allowed
> 
> So, I have two solutions here, 
> 
> a) define each user as an ACL entry
> b) modify UNIX group name 

Each user is his own group like in RedHat/CentOS?

Replacing the spaces with underscores might be the fastest way to get it 
working.

-- Reuti

> but I'd like c)
> 
> c) use current gid name in SGE
> 
> Anyone know if option c) is possible?
> if yes, what am I doing wrong?
> 
> 
> TIA,
> Arnau
> _______________________________________________
> users mailing list
> [email protected]
> https://gridengine.org/mailman/listinfo/users


_______________________________________________
users mailing list
[email protected]
https://gridengine.org/mailman/listinfo/users

Reply via email to