> 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 <jwin...@umrk.nl> > Subject: Adding users with a script > To: kerberos@mit.edu > Message-ID: <4b36b370$0$8410$e4fe5...@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
________________________________________________ Kerberos mailing list Kerberos@mit.edu https://mailman.mit.edu/mailman/listinfo/kerberos