You are not logged in.

#1 2004-04-19 22:52:24

From: New Jersey
Registered: 2004-02-15
Posts: 707

ADM -- Suggestions

If you remember, a while back I started a Arch display manager project.  I've been making progress smoothly, but I've run into a problem.  Login.  After I get all login information, how can I check this information and log the user in?  Any C functions/libraries that you know of?  Maybe a bash script?  Thanks a lot!!

If I have the gift of prophecy and can fathom all mysteries and all knowledge, and if I have a faith that can move mountains, but have not love, I am nothing.   1 Corinthians 13:2


#2 2004-04-19 23:18:44

Schwag Merchant
From: Medicine Hat, Alberta, Canada
Registered: 2004-01-18
Posts: 5,986

Re: ADM -- Suggestions

Did you get rasat's message for a forum dedicated to ADM? … b314076bd4

I've been looking through the agetty and login code in the util-linux package. I can't make a lot of sense out of it, but I'm not very fluent in C.

I suppose you could also take a look at the kdm/gdm code... not to emulate, but to improve on. :-D

Its easy to deal with passwords in python... unless you use shadow utils. :-D



#3 2004-04-20 08:16:39

Forum Fellow
From: Victoria, BC
Registered: 2003-01-17
Posts: 1,797

Re: ADM -- Suggestions

Have a look at the PAM stuff.  That's what we use now and there have to be a lot of relavent docs.

I have discovered that all of mans unhappiness derives from only one source, not being able to sit quietly in a room
- Blaise Pascal


Board footer

Powered by FluxBB