Command Line Scripting XP

G

Guest

Hi All,

I writing a command line script using dsadd to create user accounts from the
command line. I want to have the script choose a user name from the first
and last name. Standrad is eight charaters first initial and next seven
characters of last name.

I not sure where to start, does any one know the command I can use, or where
I can start.

Thanks,
Donovan
 
D

David H. Lipman

From: "Donovan Linton" <[email protected]>

| Hi All,
|
| I writing a command line script using dsadd to create user accounts from the
| command line. I want to have the script choose a user name from the first
| and last name. Standrad is eight charaters first initial and next seven
| characters of last name.
|
| I not sure where to start, does any one know the command I can use, or where
| I can start.
|
| Thanks,
| Donovan

If you have a few users then that method is OK.
However if you have *many* users, Jimmy Johnson and and Jane Johnson will cause you
problems.

I have see this happen all too often.

I suggest coming up with a better naming convention (like; First_name.Last_name) and using a
advanced scripting language like KiXtart (http://kixtart.org KiXtart is CareWare).
 
G

Guest

It will still be a manual process and give the user the ability to change the
username
 
D

David H. Lipman

From: "Donovan Linton" <[email protected]>

| It will still be a manual process and give the user the ability to change the
| username
|

The user can and should change their respective password but they should NEVER be allowed to
change their name.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top