KLOGIN
buflen = strlen(profile_dir) + sizeof(KLOGIN) + 2; /* 2 for .d */
strlcat(buf, KLOGIN, buflen);