[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: non-root password lookups?



On Sun, Jan 17, 1999 at 07:37:05PM -0800, R Garth Wood wrote:
> On Mon, 18 Jan 1999, Chris Leishman wrote:
> 
> > The main problem, however, is that it needs to validate the people connecting,
> > thus needs to check username/password (like pop).  Is there a way to do this
> > and still avoid using root privileges for the daemon?
> 
> The passwd file is in the shadow group so you could run it sgid.
> 
> 
> +---------------------------------+-------------------------------------+
> | R Garth Wood                    | Lottery: A tax on people who are    |
> | Net Nation Communications Inc.  |  bad at math.                       |
> | rgwood@netnation.com            |                                     |

I guess this is a way, but I was hoping there might be some sort of suid
program or syscall that I can use to interface between me and the shadow file.

Chris


-- 

----------------------------------------------------------------------
The box said "Windows 95, NT or better" .. so I installed Debian Linux
----------------------------------------------------------------------
Reply with subject 'request key' for PGP public key.  KeyID 0xA9E087D5


Reply to: