Command Line Scripting XP

  • Thread starter Thread starter Guest
  • Start date Start date
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
 
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).
 
It will still be a manual process and give the user the ability to change the
username
 
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.
 
Back
Top