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
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.
You could use Java Runtime-object to run the command line commands that suit your needs. Runtime API
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With