Re: Automating changing the root password
Re: Automating changing the root password
- Subject: Re: Automating changing the root password
- From: Rodrigo Ávila Ferreira <email@hidden>
- Date: Thu, 03 Mar 2005 11:33:14 -0300
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:
This email sent to 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:
This email sent to email@hidden