• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Automating changing the root password
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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

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

  • Prev by Date: Re: About integers
  • Next by Date: Who's writing Automator Actions?
  • Previous by thread: Automating changing the root password
  • Next by thread: Indesign CS to PDF question
  • Index(es):
    • Date
    • Thread