ARD - Enable Root and Set Password

Is there a way to enable root through ARD using a unix command? I need to set root on a couple hundred computers rather quickly.
I tried using the commands below and it failed I think because I needed to confirm the password.
sudo passwd root
password

Well, I've gone round and round with this and have been unable to find a working solution. dsenableroot should in theory work, but it fails on my system under ARD (either it lies and reports that the root was enabled when it wasn't, or it reports failure to enable). If you want to give it a try, though, here's the syntax that in theory should work (it does in Terminal on the workstation):
dsenableroot -u youradminusersname -p thatuserspassword -r therootpassword
with the command sent as a user with admin privileges.
May I ask why you feel you need to enable the root user on a couple of hundred systems? This is normally a really risky thing to do. Perhaps if we understand what it is you need to accomplish, we can come up with a different way of achieving the same thing.
Regards.

Similar Messages

  • Creating user account and setting password in Solaris9 through shell script

    I need to create and set password of user through shell scripts.
    User can be added successfully through "useradd" command but password cant be set through "passwd" command in script.
    Is there any other alternative for the same.

    Hi,
    Did you get the answere for this ? I have the same problem as urs , like I want to creat the users by using useradd and want to hardcode there password in one script.
    But I cant use expect utility which would have made my work easier

  • How to enable root on mac on 10.9.2 and how to set the password for the same ?

    how to enable root on mac on 10.9.2 and how to set the password for the same ?

    http://support.apple.com/kb/ht1528
    Follow the steps for Lion.
    But, why are you doing this? I've never found the need to do that.

  • Can't set password for Root account

    I have rebuilt my macbook from scratch not from a backup ,  I then opened Terminal and typed sudo passwd root  (got the message) entered a password, I got Sorry try again.  tryed again same thing, I definately reinstalled from scratch therefore my root password should have been empty.  How do I set my root password???? Thank you

    I got it - Apple Menu- System preferences-Accounts - Login Option - Join -Open Directory Utility ...- Edit (menu)
    enable root password

  • AUDIT action (create, delete, privilege escalation, set and change password from users account and group) users and admins in Solaris 10

    Hello.
    in Solaris 10 i need auditing process create, delete, privilege escalation, set and change password and etc... from users account and group.
    I set settings:
    in file syslog.conf:
    *.info;mail.none;cron.none;audit.notice            @IP-Remote-syslog-server-SIEM
    in file   /etc/security/audit_control:
    dir:/var/audit
    flags:lo,ad,ex,cc,am,no,fc,fd
    minfree:20
    naflags:lo
    plugin:name=audit_syslog.so;p_flags=lo,ad,ex,cc,am,no
    in file   /etc/security/audit_user:
    root:lo,ad:no
    Now I see in the logs only the fact of a connection via SSH and run processes on behalf of users. Creation. delete users, change passwords for some reason do not is logged.
    Many users. For each individual write permissions in the file /etc/security/audit_user not possible, it is likely to forget any new user (or there is a possibility in this file one line to describe the audits for all accounts?)
    Where is the mistake?

    You are most likely hitting Bug 15779000 user/role/groupadd/mod/del don't audit their use.
    And the fix is only available in S11.2.
    -- Renaud

  • How can I set enable HTTP and/or HTTPS Proxies through command line?

    I know the exact key/value to be changed; it's in
    /Library/Preferences/SystemConfiguration/preferences.plist -> NetworkServices -> 46A40FA8-6E7C-xxxx-xxxx-xxxxxxxxxxx -> Proxies -> HTTP(S)Enable ->  should be set to 1
    I immdediately thought of using defaults write to carry this out in the command line but I don't know how (or if at all!) that works with multi-level key/values. I only have access to the first level (NetworkServices) with defaults read.
    Any help would be much appreciated,
    thanks \.

    The networksetup utility is the program OS X uses to change the network configuration.  The Network Preference Pane in system preferences is just a front end to networksetup; networksetup can do everything the preference pane can do (and possibly more).
    The parameters you are interested in (from the man page):
    -getwebproxy networkservice
    Displays Web proxy (server, port, enabled value) info for <networkservice>.
    -setwebproxy networkservice domain portnumber authenticated username password
    Set Web proxy for <networkservice> with <domain> and <port number>. Turns proxy on. Optionally, specify <on> or <off> for <authenticated> to enable and disable authenticated proxy support.  Specify <username> and <password> if you turn authenticated proxy support on.
    -setwebproxystate networkservice on | off
    Set Web proxy on <networkservice> to either <on> or <off>.
    -getsecurewebproxy networkservice
    Displays Secure Web proxy (server, port, enabled value) info for <networkservice>.
    -setsecurewebproxy networkservice domain portnumber authenticated username password
    Set Secure Web proxy for <networkservice> with <domain> and <port number>. Turns proxy on.  Optionally, specify <on> or <off> for <authenticated> to enable and disable authenticated proxy support. Specify <username> and <password> if you turn authenticated proxy support on.
    -setsecurewebproxystate networkservice on | off
    Set SecureWeb proxy on <networkservice> to either <on> or <off>.

  • I have set a strong password for my iPhone 5s, now I want to get rid of it and set a numeric 4 digit password. How to do that ??

    I have set a strong password for my iPhone 5s, now I want to get rid of it and set a numeric 4 digit password. How to do that ??

    go to settings>general>passcode lock and "enable simple passcode"

  • How do you Enable/Disable a user's ScreenSaver and set it's time

    How do you Enable/Disable a user's ScreenSaver and set it's "Start Screen Saver" time.
    I am writting an application in java which uses JNI and a screen saver to lock users out of the computer unless they enter the correct username and password.
    If they enter the correct password I need to Enable the ScreenSaver at a specific about of time (time can be changed remotely) so I can "log out" the user.
    I need to disable the screen saver after the screen saver runs so that it doesn't run while the java login program is running.
    I have this working already on Windows XP but can't find any way to program this on Mac OS X.
    Thank you for any help!

    http://forums.macosxhints.com/showthread.php?t=61525
    Disable
    defaults -currentHost write com.apple.screensaver idleTime 0
    Enable for 180 seconds
    defaults -currentHost write com.apple.screensaver idleTime 180

  • Set Password and Lock w/ content protection

    I had always been under the impression that when content protection is enabled on a device and an admin sends the "set password and lock" functionality from the BlackBerry Manager, it only works with device OS v 4.5 and above.  However, I was able to successfully execute it on a Sprint Curve with version 4.3.0.127 and with content protection enabled.  How can this be?
    KB12826 states that it only works as I described: http://www.blackberry.com/btsc/search.do?cmd=displayKC&docType=kc&externalId=KB12826&sliceId=1&docTy...
    Does anyone have any insight into this?

    Not that I am aware of, it will mirror exactly what you see on your screen. As this is a user forum you will not get a response from Apple and there is little chance they will see this here.
    Best to provide any feedback directly
    http://www.apple.com/feedback/

  • I have enabled iTunes and App Store fingerprint authentication on the iPhone 5s.  However I still receive a prompt for my Apple ID password vs my Fingerprint.  Any way to resolve this?

    I have enabled iTunes and App Store fingerprint authentication on the iPhone 5s.  However I still receive a prompt for my Apple ID password vs my Fingerprint.  Any way to resolve this?

    Ok thanks - that explains it:
    From the Apple article: "
    Note: Touch ID cannot be used for purchases if Require Password in Settings > General > Restrictions is set to Immediately."
    Not sure why - but clearly intentional.

  • I'm trying to recover the network password for my Time Capsule so that I can connect another device (a PC) to it.  I have my Macbook pro set to connect automatically and the password is hidden.  How can I find out what it is.

    My issue is that I'm trying to connect a PC to my wireless network run off of a Time capsule/airport router.  My macbook pro connects fine but the network password is hidden and set to autoconnect.  I thought I wrote the password down but when I try to connect the PC laptop and type in the timecapsule network PW is doesn't work.  Trying to verify if the passwird I wrote down is correct but there doesn't seem to be a way to recover this.
    Does anyone out there in the community know how to do this? (or do I just have to do a reset on the time capsule

    Reset the TC.

  • HT204053 I did not know my kids had set up an Itunes account for me with one user name and password.  then i got an i phone and set it up with a different email address and new password.  how can i get my accounts to merge so i can have all of my music on

    I did not know my kids had set up an Itunes account for me with one user name and password.  then i got an i phone and set it up with a different email address and new password.  how can i get my accounts to merge so i can have all of my music on my iphone

    Quote: "You cannot merge two or more Apple IDs into a single one. You can, however, use one Apple ID for iCloud services and another Apple ID for store purchases (including iTunes in the Cloud and iTunes Match). See “Using one Apple ID for iCloud and a different Apple ID for Store Purchases” above for details." See also Apple ID & iCloud FAQ: http://support.apple.com/kb/HT4895?viewlocale=en_US&locale=en_US
    You can set up your iCloud account on your iOS device under: "Settings > iCloud" and a other account for store purchases under "Settings > iTunes & App Stores". Unfortunately merging accounts is not possible but you could transfer all of your music manually via iTunes from your Mac or PC.

  • How to find out when 'enable secret' and username secret' was set/changed

    Hi,
    I was wondering if it is possible to find out when 'enable secret' and username secret' was set or changed last time on an IOS based machine.
    Is there any show command or kind of timestamp or MIB which can be read out?
    tnx Ralf

    Probably your syslog server would give you that info.

  • I re-set password using specific user ID but when I put new password in it does not say incorrect password  it just spins and spins never accepting it.  What is the problem?

    I re-set password using specific user ID but when I put new password in it does not say incorrect password  it just spins and spins never accepting it.  What is the problem?

    Update on my problem connecting in Itunes with my Airport Express. Not sure if anything I tried made a difference
    but I finally got the Pop up window saying this device requires a Password. I entered the password and I can once again use the Airport Express as a remote speaker.

  • HT1202 I have just bought a new I pad 3 and want to give my I pad 2 to a friend. What will I have to do to clear my info on the old I pad and set it up on my new one? How are apple I D effected and passwords cleared?

    I have just bought a new I pad 3 and want to give my I pad 2 to a friend. What will I have to do to clear my info on the old I pad and set it up on my new one? How are apple I D effected and passwords cleared?
    Any advice welcome.

    To clear to old before passing it on, open the Settings app and tap on General (left hand menu). Scroll down and tap on settings, then tap on Erase All Content and Settings.
    If you have been synching the iPad to iTunes on a computer, you should also have backed it up. If you havn't backed it, you will want to do so before clearing the settings and use the back up to set up your new iPad.
    You may dinf soem of the articles here useful:
    http://www.apple.com/support/ipad/syncing/

Maybe you are looking for

  • Getting Error While Displaying web page in Oracle Report 11g

    Hi, I am new to Oracle reports 11g. I have stuck into an error. While I'm trying to display the web page it says "No such Web command ()". I am using following URL to call the report. http://hostname:port/reports/rwservlet/?server=repserver&report=a.

  • Printing to prn:, to a matrix printer don't work sometimes

    If I do for example under windows: FileOutputStream os = new FileOutputStream ("PRN:Okidata"); in order to print directly to a matrix point printer called exactly "Okidata" in the pc, I have seen that sometimes doesn't work (more or less 30% of the p

  • Petition to bring back "Print PDF" to InDesign

    Would anyone else like to join a petition for bringing back "Print PDF" as an option in the InDesign Print menu? I am on CS4 and my colleagues are on CS5 and they have no end of problems getting their PDFs the way they want them from the command near

  • URL Session Mapping

    Hi, i want to make a group of JSP pages in a Web App, but assuming that the browser doesn't accept cookies. Is there anyway that i don't have to indicate every link as response.encodeUrl("index.jsp")I've heard something about a <url-session-tracking/

  • WOKE UP THIS MORNING AND IPHONE WOULD NOT WORK!

    I was using OS 3.0 very effeciently last night before I went to bed. It is the Beta 5 edition. Picked it up from some developer for $20.00 online. A message told me to hook to Itunes, that is all I could get. So I hooked to Itunes. It tells me I need