From: Jon Lim Date: 2006-11-08T00:54:24+09:00 Subject: Re: Linux authentification check? ruby-pam might be what you're looking for. On 07/11/06, Roman Hausner wrote: > Is there a library or some other way to simply check whether a > user/password combination is valid for the Linux machine I am > running on? No need to actually switch the current user, change > the effective group or user id etc. All I want is to make sure that > the username exists and that the password is valid for that user. > (I want to allow only those users to use a certain service running > within a restricted server that have a userid defined on that machine) > > > -- > Posted via http://www.ruby-forum.com/. > > -- http://www.snowblink.co.uk/