I have a username and password for a particular user in Linux i need to verify that if the user is valid or not using java?
Abdul Khaliq
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
The Java way to do this would be JAAS, but you’ll still need a LoginModule that works with Linux. Here’s a beta implementation that claims to work.