Automating changing the root password
Automating changing the root password
- Subject: Automating changing the root password
- From: "Martha I. Espinosa" <email@hidden>
- Date: Wed, 2 Mar 2005 13:39:39 -0700
Title: Automating changing the root
password
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