Tips for finding Knowledge Articles

  • - Enter just a few key words related to your question or problem
  • - Add Key words to refine your search as necessary
  • - Do not use punctuation
  • - Search is not case sensitive
  • - Avoid non-descriptive filler words like "how", "the", "what", etc.
  • - If you do not find what you are looking for the first time,reduce the number of key words you enter and try searching again.
  • - Minimum supported Internet Explorer version is IE9
Home  >
article

KB-5188: adgpupdate shows license issue for non root user

Centrify DirectControl ,  

12 April,16 at 11:14 AM

Applies to: All versions of Centrify DirectControl for UNIX/Linux/Mac

Problem: 
Running adgpupdate as a non root user shows license required message:

[frank.liu@RHEL64Frank ~]$ adgpupdate
Running of adgpupdate is only permitted with a licensed copy of DirectControl.
Get a license or learn more about Centrify Suite at
http://www.centrify.com/express


License features have already been enabled by running adlicense -l as root / sudo and have been verified in the output of adinfo:


[frank.liu@RHEL64Frank ~]# adinfo
...
Licensed Features: Enabled


Running adgpupdate as root user does not see the same license message.


Cause: 
/var/centrifydc/kset.licensemode file is not readable by non root users:

[frank.liu@RHEL64Frank ~]$ ls /var/centrifydc/kset.licensemode
-rw-------. 1 root root 8 Mar 19 02:16 /var/centrifydc/kset.licensemode


Resolution: 
Change the file permission to be readable by non root users:

[frank.liu@RHEL64Frank ~]$ sudo chmod 644 /var/centrifydc/kset.licensemode

[frank.liu@RHEL64Frank ~]$ ls /var/centrifydc/kset.licensemode
-rw-r--r--. 1 root root 8 Mar 19 02:18 /var/centrifydc/kset.licensemode

After the change, running adgpupdate as non root user should not see the same license message again:


[frank.liu@RHEL64Frank ~]$ adgpupdate
Refreshing Computer Policy...
Success
Refreshing User Policy...
User Policy disabled on this machine.

Still have questions? Click here to log a technical support case, or collaborate with your peers in Centrify's Online Community.