pam_set_item (re)sets the value of one of the following item_types:
service name
user name
terminal name
The value for a device file should include the /dev/ prefix. The value for graphical, X-based, applications should be the $DISPLAY variable.
remote host name
conversation structure
remote user name
string to be used when prompting for a user's name
The default value for this string is Please enter username: .
For all item_types other than PAM_CONV, item is a pointer to a NULL-terminated character string. In the case of PAM_CONV, item points to an initialized pam_conv structure.