Forum Replies Created

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • in reply to: changing users’ passwords via command line #366528
    Darkomen
    Participant

    I want to do the same things 😮

    Script the make aof a new user, and so, put a password on his account.

    [code]
    –creation du dossier Home (vide)

    do shell script (“mkdir ” & “~/” & text returned of varlogin)

    –creation de l’utilisateur dans la base NetInfo

    do shell script (“sudo dscl localhost -create /NetInfo/root/Users/” & text returned of varlogin & ” UserShell /bin/bash”)
    do shell script (“sudo dscl localhost -create /NetInfo/root/Users/” & text returned of varlogin & ” HomeDirectory ~/” & text returned of varlogin)
    do shell script (“sudo dscl localhost -create /NetInfo/root/Users/” & text returned of varlogin & ” UniqueID 800″)[/code]

    that’s not really my finished script, its on test, i want to make several new account with it.
    yes in apple script, i do other thing after and before that…

    [b]do shell script (“sudo passwd ???? <- what i do here ?[/b] so.... how can i put in the script a password on that new account ?

    in reply to: DNS Zones not shown in Server Admin anymore #365883
    Darkomen
    Participant

    I have the same problem… but more embarassing for me… ALL my DNS setting be erased when i use the GUI. I have nothing in the /Var/named.

    How can i reset all DNS gui settings and/or zone/named.conf file ?

    Can anyone send me default system 10.4.4 zone and conf file ?

    Thanks

    (sorry for my bad english…. i’m french 😀 )

Viewing 2 posts - 1 through 2 (of 2 total)