This is a multi-part message in MIME format. ------_=_NextPart_001_01C22928.E44FF49B Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable Useradd doesn't properly set the password. After I add a user the user cannot logon until a passwd command is used to set the tokens. -----Original Message----- From: Aaron Konstam [mailto:akonstam@trinity.edu]=20 Sent: Thursday, July 11, 2002 5:02 PM To: pam-list@redhat.com Subject: Re: Newbie question, creating new account and password On Thu, Jul 11, 2002 at 01:42:09PM -0500, John H. Clark, III wrote: > Is it possible to use PAM to create a new account? In my review of the > list and available documentation I can't find the methods to create a > new account programmatically. Plenty of information on changing account > information but I need to create new linux accounts under program > control. >=20 > Thanks in advance for your help.=20 >=20 >=20 What is the matter with adduser or useradd. --=20 ------------------------------------------- Aaron Konstam Computer Science Trinity University 715 Stadium Dr. San Antonio, TX 78212-7200 telephone: (210)-999-7484 email:akonstam@trinity.edu _______________________________________________ Pam-list@redhat.com https://listman.redhat.com/mailman/listinfo/pam-list ------_=_NextPart_001_01C22928.E44FF49B Content-Type: text/html; charset="us-ascii" Content-Transfer-Encoding: quoted-printable <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN"> <HTML> <HEAD> <META HTTP-EQUIV=3D"Content-Type" CONTENT=3D"text/html; = charset=3Dus-ascii"> <META NAME=3D"Generator" CONTENT=3D"MS Exchange Server version = 6.0.4417.0"> <TITLE>RE: Newbie question, creating new account and password</TITLE> </HEAD> <BODY> <!-- Converted from text/plain format --> <P><FONT SIZE=3D2>Useradd doesn't properly set the password. After I add = a user the user cannot logon until a passwd command is used to set the = tokens.</FONT></P> <P><FONT SIZE=3D2>-----Original Message-----</FONT> <BR><FONT SIZE=3D2>From: Aaron Konstam [<A = HREF=3D"mailto:akonstam@trinity.edu">mailto:akonstam@trinity.edu</A>] = </FONT> <BR><FONT SIZE=3D2>Sent: Thursday, July 11, 2002 5:02 PM</FONT> <BR><FONT SIZE=3D2>To: pam-list@redhat.com</FONT> <BR><FONT SIZE=3D2>Subject: Re: Newbie question, creating new account = and password</FONT> </P> <P><FONT SIZE=3D2>On Thu, Jul 11, 2002 at 01:42:09PM -0500, John H. = Clark, III wrote:</FONT> <BR><FONT SIZE=3D2>> Is it possible to use PAM to create a new = account? In my review of the</FONT> <BR><FONT SIZE=3D2>> list and available documentation I can't find = the methods to create a</FONT> <BR><FONT SIZE=3D2>> new account programmatically. Plenty of = information on changing account</FONT> <BR><FONT SIZE=3D2>> information but I need to create new linux = accounts under program</FONT> <BR><FONT SIZE=3D2>> control.</FONT> <BR><FONT SIZE=3D2>> </FONT> <BR><FONT SIZE=3D2>> Thanks in advance for your help. </FONT> <BR><FONT SIZE=3D2>> </FONT> <BR><FONT SIZE=3D2>> </FONT> <BR><FONT SIZE=3D2>What is the matter with adduser or useradd.</FONT> <BR><FONT SIZE=3D2>-- </FONT> <BR><FONT SIZE=3D2>-------------------------------------------</FONT> <BR><FONT SIZE=3D2>Aaron Konstam</FONT> <BR><FONT SIZE=3D2>Computer Science</FONT> <BR><FONT SIZE=3D2>Trinity University</FONT> <BR><FONT SIZE=3D2>715 Stadium Dr.</FONT> <BR><FONT SIZE=3D2>San Antonio, TX 78212-7200</FONT> </P> <P><FONT SIZE=3D2>telephone: (210)-999-7484</FONT> <BR><FONT SIZE=3D2>email:akonstam@trinity.edu</FONT> </P> <BR> <BR> <P><FONT SIZE=3D2>_______________________________________________</FONT> <BR><FONT SIZE=3D2></FONT> <BR><FONT SIZE=3D2>Pam-list@redhat.com</FONT> <BR><FONT SIZE=3D2><A = HREF=3D"https://listman.redhat.com/mailman/listinfo/pam-list">https://lis= tman.redhat.com/mailman/listinfo/pam-list</A></FONT> </P> </BODY> </HTML> ------_=_NextPart_001_01C22928.E44FF49B--