R: Adding users with a script
Andrea Cirulli
acirulli at gmail.com
Tue Dec 29 13:42:40 EST 2009
> Hi,
>
> it is very simple to automatize such a task:
>
>
> kadmin -r REALM -p kadmin/admin -w PASSWORD -q "add_principal -pw
> PASSWORD principal"*
>
>
> and then repeat such command for every user you have to insert in.
>
> If you don't want to use the administration password you can use the keytab
> for administration with -k option.
>
> Be aware that your password does not contain special characters ( ! & ..) in
> that case you have to insert the password between 'PASSWORD'.
>
> Bye,
> Andrea
> *
> *
> *
> *
> Message: 1
> Date: 27 Dec 2009 01:08:00 GMT
> From: Jaap Winius <jwinius at umrk.nl>
> Subject: Adding users with a script
> To: kerberos at mit.edu
> Message-ID: <4b36b370$0$8410$e4fe514c at dreader25.news.xs4all.nl>
> Content-Type: text/plain; charset=UTF-8
>
> Hi all,
>
> If you have 1,000 user names and passwords to add to an MIT Kerberos V
> database on a Linux system, you could add them all manually with kadmin,
> but that would be a terrible waste of time. The proper way would be to
> automate this process with a script, but I have no idea how.
>
> Any ideas?
>
> Thanks,
>
> Jaap
> --
> Andrea Cirulli
More information about the Kerberos
mailing list