Re: Shell Script Loop
Re: Shell Script Loop
- Subject: Re: Shell Script Loop
- From: "Mark J. Reed" <email@hidden>
- Date: Mon, 27 Aug 2007 10:55:22 -0400
Sorry, could you back up and describe the problem you're trying to
solve? You're renaming users, so you have to rename the home folders
to match? How are you doing the renaming of the actual user accounts?
And if the whole thing is a shell script, why are you asking the
question on the Applescript list?
On 8/27/07, Gibson, Christopher M. (LARC-B704)[EMCO Technologies]
<email@hidden> wrote:
> Everyone,
>
> I have to change the local account names on our end user workstations via a
> shell script and then have the permissions set correctly so that when the
> users logs in, they get everything they had before without and any apparent
> changes in environment.
>
> I will have to query the local database for the names of the home folders
> based on a certain pattern. Example: Every home folder that starts with a
> CA perform the script actions.
>
> The questions I have, is how do I get the script the to repeat this until
> all local home folders have had the operation performed on them? Or how do
> I tell the script to take all home directories that start with CA and
> perform the script actions...
>
> Didn't know if anyone out there may have a script or know the commands that
> I can put in a shell script that queries multiple instances and performs the
> same actions for each instance automatically...
>
> --
> Chris Gibson
> Macintosh Systems Engineer
> ODIN Sustaining Engineering
> 15 Langley Blvd., MS 157B
> Hampton, VA 23681
> (757)-864-2849
> Cell: (757)-746-2219
> --
>
> CONFIDENTIALITY NOTICE: This e-mail message, including any attachments, is
> for the sole use of the intended recipient(s) and may contain confidential
> and privileged information. Any unauthorized review, use, disclosure or
> distribution is prohibited. If you are not the intended recipient, please
> contact the sender by reply e-mail and destroy all copies of the original
> message.
>
> _______________________________________________
> Do not post admin requests to the list. They will be ignored.
> AppleScript-Users mailing list (email@hidden)
> Help/Unsubscribe/Update your Subscription:
> Archives: http://lists.apple.com/archives/applescript-users
>
> This email sent to email@hidden
>
--
Mark J. Reed <email@hidden>
_______________________________________________
Do not post admin requests to the list. They will be ignored.
AppleScript-Users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
Archives: http://lists.apple.com/archives/applescript-users
This email sent to email@hidden
References: | |
| >Shell Script Loop (From: "Gibson, Christopher M. (LARC-B704)[EMCO Technologies]" <email@hidden>) |