Importing Users
Posted: Tue Dec 19, 2006 6:28 pm
I have a text file that i have formated. Part of it came form my Imail server with an export tool. The basic layout is as follows:
First, Last, username, password
example
Mark, Pipkin, mpipkin, thisisnotmine
If i use omaddu
formated this way
omaddu -n 'Mark Pipkin/kauffmantire/IA="MarkPipkin" <mpipkin@kauffmantire.com> -p thisisnotmine
That works. Problem is that i have 150+ users. Not as many as most of you though, still a good bit.
If i do an AWK to get the formating to a file i get errors on some of the expressions. I'm new to awk, heck new to linux for the most part. Any way. I'm wondering if there is a utility to cat thought logs and get the users imported with passwords.
Thanks in advance
First, Last, username, password
example
Mark, Pipkin, mpipkin, thisisnotmine
If i use omaddu
formated this way
omaddu -n 'Mark Pipkin/kauffmantire/IA="MarkPipkin" <mpipkin@kauffmantire.com> -p thisisnotmine
That works. Problem is that i have 150+ users. Not as many as most of you though, still a good bit.
If i do an AWK to get the formating to a file i get errors on some of the expressions. I'm new to awk, heck new to linux for the most part. Any way. I'm wondering if there is a utility to cat thought logs and get the users imported with passwords.
Thanks in advance