Change 31660

tom_tyler (C. Thomas Tyler)
C. Thomas Tyler committed this change into //guest/perforce_software/sdp/dev/Server/Unix/setup
Request Review
Download .zip
The install_sdp.sh script will no longer attempt to create a
primary group for the OSUSER unless it also creates the OSUSER.

This fixes a problem we observed where LDAP groups can have
spaces in them, but local Linux clients, per POSIX, cannot. Thus
the install_sdp.sh would fail to do a 'groupadd' of a group with
a space in the name (becuase that's not possible).  If the user
is an LDAP users, it will already exist when install_sdp.sh is
executed, so the new behavior simply does the group adds only
if it's also creating the OSUSER.

This fixes SDP-1261 (Bug): install_sdp.sh no longer tries to assign groups if OSUSER is an LDAP user rather than local.
  • Files 1
  • Comments 0
1 edited 0 added 0 deleted
install_sdp.sh#34
Loading...
Tip: Use n and p to cycle through the changes.