Run this from the Unix command in ARD as root. It will set the user's access privileges in ARD to "all".
cd /System/Library/CoreServices/RemoteManagement/ARDAgent.app/Contents/Resources/
^M
./kickstart -configure -access -on -users [USER SHORT NAME] -privs -all
Monday, December 1, 2008
OS X: create user account from command line and ARD
For Tiger:
Run the following as "root" in ARD:
dscl / -create /Users/toddharris
dscl / -create /Users/toddharris UserShell /bin/bash
dscl / -create /Users/toddharris RealName "Dr. Todd Harris"
dscl / -create /Users/toddharris UniqueID 503
dscl / -create /Users/toddharris PrimaryGroupID 1000
dscl / -create /Users/toddharris NFSHomeDirectory /Local/Users/toddharris
dscl / -passwd /Users/toddharris PASSWORD
dscl / -append /Groups/admin GroupMembership toddharris
Replace "toddharris" with the user name and "PASSWORD" with the password you want to use.
For Leopard use:
dscl . -create /Users/toddharris
dscl . -create /Users/toddharris UserShell /bin/bash
dscl . -create /Users/toddharris RealName "Dr. Todd Harris"
dscl . -create /Users/toddharris UniqueID 503
dscl . -create /Users/toddharris PrimaryGroupID 1000
dscl . -create /Users/toddharris NFSHomeDirectory /Local/Users/toddharris
dscl . -passwd /Users/toddharris PASSWORD
dscl . -append /Groups/admin GroupMembership toddharris
Run the following as "root" in ARD:
dscl / -create /Users/toddharris
dscl / -create /Users/toddharris UserShell /bin/bash
dscl / -create /Users/toddharris RealName "Dr. Todd Harris"
dscl / -create /Users/toddharris UniqueID 503
dscl / -create /Users/toddharris PrimaryGroupID 1000
dscl / -create /Users/toddharris NFSHomeDirectory /Local/Users/toddharris
dscl / -passwd /Users/toddharris PASSWORD
dscl / -append /Groups/admin GroupMembership toddharris
Replace "toddharris" with the user name and "PASSWORD" with the password you want to use.
For Leopard use:
dscl . -create /Users/toddharris
dscl . -create /Users/toddharris UserShell /bin/bash
dscl . -create /Users/toddharris RealName "Dr. Todd Harris"
dscl . -create /Users/toddharris UniqueID 503
dscl . -create /Users/toddharris PrimaryGroupID 1000
dscl . -create /Users/toddharris NFSHomeDirectory /Local/Users/toddharris
dscl . -passwd /Users/toddharris PASSWORD
dscl . -append /Groups/admin GroupMembership toddharris
Friday, November 28, 2008
Starting ARD from command line
http://docs.info.apple.com/article.html?artnum=108030
This is the Apple tech reference for turning on ARD from the command line if you can ssh into a box. NOTE: Apple fails to note that you have to put ./ in front of the "kickstart" command.
For turning on ARD using ssh and enabling it for all users type:
/System/Library/CoreServices/RemoteManagement/ARDAgent.app/Contents/Resources root# ./kickstart -activate -configure -access -on -restart
-agent -privs -all
MUST BE SUDO or ROOT
This is the Apple tech reference for turning on ARD from the command line if you can ssh into a box. NOTE: Apple fails to note that you have to put ./ in front of the "kickstart" command.
For turning on ARD using ssh and enabling it for all users type:
/System/Library/CoreServices/RemoteManagement/ARDAgent.app/Contents/Resources root# ./kickstart -activate -configure -access -on -restart
-agent -privs -all
MUST BE SUDO or ROOT
Outlook: registry change to allow connection ot a differnt mail server
After a migration, if you need to switch the user's mail back to the old server you need to delete a reg setting or Outlook will not connect to the old server. Do this:
HKEY_CURRENT_USER
Software
Microsoft
Exchange
Exchange Provider
Delete the Closest GC key
Go back into Outlook and connect to the old mail server
HKEY_CURRENT_USER
Software
Microsoft
Exchange
Exchange Provider
Delete the Closest GC key
Go back into Outlook and connect to the old mail server
Subscribe to:
Posts (Atom)