Supporting both pam and none authentication
Supporting both pam and none authentication