Results 1 to 1 of 1
Hi guys,
Looking for a bit of guidance trying to implement something.
My goal is this: Allow a user to connect to a server via SSH with any login name ...
- 05-05-2010 #1Just Joined!
- Join Date
- May 2010
- Posts
- 1
PAM Module Question
Hi guys,
Looking for a bit of guidance trying to implement something.
My goal is this: Allow a user to connect to a server via SSH with any login name or password without checking to see if that account exists on that server. Their account would be captured by a universal account say, 'generic_user', and then they would be directed to one of my python scripts with the username and password they supplied for initial login. At this point my script would capture their SSHD process ID and allow/deny their existence based upon a MySQL/Subscription check.
The part I'm having trouble with is with PAM and allowing the user to login with any credentials and be successfully authenticated under the generic account. Beyond that, everything is great.
Any help would be appreciated!


Reply With Quote