Actions
Bug #17903
closedarvados-login-sync fails on centos 7
Status:
Resolved
Priority:
Normal
Assigned To:
Category:
Login
Target version:
Story points:
-
Release:
Release relationship:
Auto
Description
On Centos7 arvados-login-sync
fails to manage the users correctly because the commands used to manage the user (adduser
, deluser
) either do not exist or take different parameters formats:
- When managing groups:
adduser
is used in the script to add the user to groups, with the syntax:system("adduser", username, addgroup)
which translates toadduser username addgroup
This format is invalid in Centos, and results on the script returning the help page for each commanddeluser
is used to remove the user from groups. This command does not exist in Centos.system("deluser", username, removegroup)
returns with an error.
Actions