RSS feed

Fwd: $hostname returns the FQDN

[Date Prev][Date Next] [Thread Prev][Thread Next]

Fwd: $hostname returns the FQDN


I need host based authorization on RHEL7.1 and the (cn=$hostname) part of the following entry returns the FQDN instead of the short hostname

pam_authz_search (&(uniqueMember=$dn)(cn=$hostname))

is there any reference variable that one can use to extract the hostname without the domain in this scenario ?

To unsubscribe send an email to or see