[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[HTCondor-users] Error or lacking feature of userHome() function?
- Date: Wed, 16 Nov 2016 12:57:00 +0100
- From: Bert DeKnuydt <Bert.Deknuydt@xxxxxxxxxxxxxxxx>
- Subject: [HTCondor-users] Error or lacking feature of userHome() function?
I wanted to get the home directory of users and was happy to find userHome() function:
String userHome(String userName [ , String default ])
Returns the home directory of the given user as configured on the current
system (determined using the getpwdnam() call). (Returns default if the
default argument is passed and the home directory of the user is not defined.)
That works as expected for 'userName' of type name@xxxxxxxxxxxxxx but barfs on
nice-user.name@xxxxxxxxxxxxxx (which is what User returns for anyone running
NiceUser = True).
Is that supposed to be and should I use
BTW, is there a way to get the Unix group id of a user?