Brandon, Do you maybe have an example of that script that I could use as a starting point? Thanks!
Jonathan Hooker Desktop Support - Engineering Garmin International [email protected] -----Original Message----- From: [email protected] [mailto:[email protected]] On Behalf Of Brandon Perkins Sent: Tuesday, April 20, 2010 10:47 AM To: [email protected] Subject: Re: [Spacewalk-list] Spacewalk web portal and ldap authentication -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Colin Coe wrote: > http://www.redhat.com/docs/en-US/Red_Hat_Network_Satellite/5.3/Installation_Guide/html/s1-maintenance-pam-auth.html > > You still need to 'create' the users in Spacewalk/Satellite and tick > the 'Use PAM' checkbox. > > CC > Or, I *strongly* suggest using the frontend API to create these users: http://www.redhat.com/docs/en-US/Red_Hat_Network_Satellite/5.3/API_Overview/html/handlers/UserHandler.html#create When I need to create a bunch of users, I have a rudimentary perl script that takes all of the parameters as arguments, then I just have some fun with ypcat passwd, sed, awk, etc. and pipe through bash to get all my users created. Way better than doing the web interface if you have ten or more users to create. You just need to make sure to set: # int usePamAuth - 1 if you wish to use PAM authentication for this user, 0 otherwise. Thanks. Brandon -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.5 (GNU/Linux) Comment: Using GnuPG with Red Hat - http://enigmail.mozdev.org/ iD8DBQFLzcyKhwQhj8l1t/cRAimFAJ4mYSAz13b5wJxI5RmYWD+SDbXn0QCgwKXV 8N8KL4hmzYlMjwm5kRgBino= =SrYY -----END PGP SIGNATURE----- _______________________________________________ Spacewalk-list mailing list [email protected] https://www.redhat.com/mailman/listinfo/spacewalk-list -------------------------------------------------------------------------------- This e-mail and any attachments may contain confidential material for the sole use of the intended recipient. If you are not the intended recipient, please be aware that any disclosure, copying, distribution or use of this e-mail or any attachment is prohibited. If you have received this e-mail in error, please contact the sender and delete all copies. Thank you for your cooperation. _______________________________________________ Spacewalk-list mailing list [email protected] https://www.redhat.com/mailman/listinfo/spacewalk-list
