In Kylo documentation 0.83, page "CREATE SERVICE ACCOUNT": http://kylo.readthedocs.io/en/v0.8.3/installation/CreateServiceAccounts.html
The command provided to create a new users are:
useradd -U -r -m -s /bin/bash nifi && useradd -U -r -m -s /bin/bash kylo && useradd -U -r -m -s /bin/bash activemq
or
useradd -U -r -m -s /bin/bash nifi
useradd -U -r -m -s /bin/bash kylo
useradd -U -r -m -s /bin/bash activemq
However, we should not expect UMASK is always set in /etc/default/useradd, my understanding is this parameter is deprecated in the /etc/default/useradd setting, so it is likely this is no longer there.
In this case, when UMASK is not set in /etc/default/useradd, the following will be returned:
cdh59e1:~ # useradd -U -r -m -s /bin/bash nifi && useradd -U -r -m -s /bin/bash kylo && useradd -U -r -m -s /bin/bash activemq
useradd: Invalid numeric argument `-r' for `-U'.
cdh59e1:~ # useradd -U -r -m -s /bin/bash nifi
useradd: Invalid numeric argument `-r' for `-U'.
...
We need to manually specify the umask value for the above command to work:
i.e:
useradd -U 0022 -r -m -s /bin/bash nifi
The -U parameter is not being specified as per 0.82 documentation anyway ...
Thanks.
Regards,
LG
SLES 11 SP3
Kylo 0.83
Teradata Hadoop Appliance 6
I removed the -U option to make it like it was before