Mailing Lists: Apple Mailing Lists

Image of Mac OS face in stamp
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Automating changing the root password



Title: Re: Automating changing the root password
Hi,

To change root password try to use just: passwd root

Regards,
Rodrigo



On 3/2/05 5:39 PM, "Martha I. Espinosa" <email@hidden> wrote:

Hello,

I am trying to use nicl or dscl or niutil to change the root password and disable the account.

This worked on 10.3.6

       --encypting password using openssl
      set rootPassword to (do shell script "openssl passwd '" & rootpwd1 & "'")
       do shell script "sudo niutil -createprop . /users/root passwd '*" & rootPassword & "'"

Any suggestions are appreciated.




_______________________________________________
Do not post admin requests to the list. They will be ignored.
Applescript-users mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/applescript-users/email@hidden

This email sent to email@hidden

 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Applescript-studio mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/applescript-studio/email@hidden

This email sent to email@hidden

References: 
 >Automating changing the root password (From: "Martha I. Espinosa" <email@hidden>)



Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2007 Apple Inc. All rights reserved.