Re: System call on Solaris 2.8 to retrieve current user's password
From: Rich Teer (rich.teer_at_rite-group.com)
Date: 05/17/04
- Next message: Neil W Rickert: "Re: System call on Solaris 2.8 to retrieve current user's password"
- Previous message: Lew Pitcher: "Re: System call on Solaris 2.8 to retrieve current user's password"
- In reply to: Jitendra Sharma: "System call on Solaris 2.8 to retrieve current user's password"
- Next in thread: Huge: "Re: System call on Solaris 2.8 to retrieve current user's password"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
Date: Mon, 17 May 2004 19:01:26 GMT
On Mon, 17 May 2004, Jitendra Sharma wrote:
> I have to implement a "C" program which retrieves current user
> password and compares it with current input user password and do some
> kind of checking on it like it's same as the current stored user
> password etc. This program will be a wrapper on unix passwd program
> and wrapper program will run as setuid-bit-set as root. So please let
> me know if there is someway I can retrieve current stored password of
> a user on Solaris 2.8 through some system call.
man getspnam.
Note that you have to compare encrypted passwords; there's no way
of decrypting an ecrypted password.
-- Rich Teer, SCNA, SCSA President, Rite Online Inc. Voice: +1 (250) 979-1638 URL: http://www.rite-online.net
- Next message: Neil W Rickert: "Re: System call on Solaris 2.8 to retrieve current user's password"
- Previous message: Lew Pitcher: "Re: System call on Solaris 2.8 to retrieve current user's password"
- In reply to: Jitendra Sharma: "System call on Solaris 2.8 to retrieve current user's password"
- Next in thread: Huge: "Re: System call on Solaris 2.8 to retrieve current user's password"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
Relevant Pages
|
|