How is possible change an administrator user to standar via terminal?

HI to all!
How is possible change an administrator user to standar via terminal (unix command)?
thanks a lot
Simone

Thank you Mr Hoffman!
i have found this command:
dscl . -append /Groups/admin GroupMembership shortname
it's working, what do you think about it?

Similar Messages

  • How can we change local administrator password in 500 machines in a domain from a centralized location?

    How can we change local administrator password in 500 machines in a domain from a centralized location?

    This was moved out of the Profile forum.
    You should ask this question at
    www.answers.microsoft.com.
    Or I can move it into another forum if you'd like.
    Thanks!
    Ed Price a.k.a User Ed, Microsoft Experience Program Manager (Blog,
    Twitter,
    Wiki)

  • How can I change the administrator name?

    I'm getting ready to sell my old I-mac. How do I change the administrator name or delete it?

    Follow these instructions step by step to prepare a Mac for sale:
    Step One - Back up your data:
           A. If you have any Virtual PCs shut them down. They cannot be in their "fast saved" state. They must be shut down from inside Windows.
           B. Clone to an external drive using using Carbon Copy Cloner.
              1. Open Carbon Copy Cloner.
              2. Select the Source volume from the Select a source drop down menu on the left side.
              3. Select the Destination volume from the Select a destination drop down menu on the right
                  side.
              4. Click on the Clone button. If you are prompted about creating a clone of the Recovery HD be
                  sure to opt for that.
                   Destination means a freshly erased external backup drive. Source means the internal
                   startup drive.
    Step Two - Prepare the machine for the new buyer:
              1. De-authorize the computer in iTunes! De-authorize both iTunes and Audible accounts.
              2, Remove any Open Firmware passwords or Firmware passwords.
              3. Turn the brightness full up and volume nearly so.
              4. Turn off File Vault, if enabled.
              5. Disable iCloud, if enabled: See.What to do with iCloud before selling your computer
    Step Three - Install a fresh OS:
         A. Snow Leopard and earlier versions of OS X
              1. Insert the original OS X install CD/DVD that came with your computer.
              2. Restart the computer while holding down the C key to boot from the CD/DVD.
              3. Select Disk Utility from the Utilities menu; repartition and reformat the internal hard drive.
                  Optionally, click on the Security button and set the Zero Data option to one-pass.
              4. Install OS X.
              5. Upon completion DO NOT restart the computer.
              6. Shutdown the computer.
         B. Lion and Mountain Lion (if pre-installed on the computer at purchase*)
             Note: You will need an active Internet connection. I suggest using Ethernet if possible because
                       it is three times faster than wireless.
              1. Restart the computer while holding down the COMMAND and R keys until the Mac OS X
                  Utilities window appears.
              2. Select Disk Utility from the Mac OS X Utilities window and click on the Continue button.
              3. After DU loads select your startup volume (usually Macintosh HD) from the left side list. Click
                  on the Erase tab in the DU main window.
              4. Set the format type to Mac OS Extended (Journaled.) Optionally, click on the Security button
                  and set the Zero Data option to one-pass.
              5. Click on the Erase button and wait until the process has completed.
              6. Quit DU and return to the Mac OS X Utilities window.
              7. Select Reinstall Lion/Mountain Lion and click on the Install button.
              8. Upon completion shutdown the computer.
    *If your computer came with Lion or Mountain Lion pre-installed then you are entitled to transfer your license once. If you If your computer came with Lion or Mountain Lion pre-installed then you are entitled to transfer your license once. If you purchased Lion or Mountain Lion from the App Store then you cannot transfer your license to another party. In the case of the latter you should install the original version of OS X that came with your computer. If this is not possible then simply erase the drive. You need to repartition the hard drive as well as reformat it; this will assure that the Recovery HD partition is removed. See Step Three above. You may verify these requirements by reviewing your OS X Software License.

  • How do i change the administrator name and password when i forgot both of them

    how do i change the administrator name and password when i forgot both of them?

    Find the user name and then reset the password.
    Start the computer,then press and hold down command and R keys to start into recovery partition.
    When you see the Apple logo, release the keys.
    Wait until  OS X Utilities window shows up.
    Move the mouse to the menubar at the top and click "Utilities", then select "Terminal"
    from the drop down.
    Terminal window will appear.
    Type in   resetpassword   and press enter on the keyboard.
    Leave the Terminal window open.
    Reset Password Utility window will open with Macintosh HD selected.
    Select the user account from the popup menu box under “Select user account”.
    Note down the user account name.
    Enter a new password.
    Reenter the new password for the user.
    Note it down.
    Enter a hint.
    Click the "Save" button.
    Click  in the menubar and select Restart.
    Log in.
    If Keychain dialog box appears, select “Create New Keychain”.

  • How do I change the itunes user name on my iphone?

    How do I change the itunes user name on my iphone? When I attempt to purchase an app or update the existing ones, the previous owner of this iphone has their information displayed and asks for the password as their user name is automatically prompted?

    The apps are tied to the account from which they were purchased.  If the apps were purchased from the previous owners account, then they would have to be updated from that account.  you should not have these apps anyway.  You need to buy your own.
    Read the manual.  it will tell you how to sign into your account to buy apps.
    iPhone User Guide (For iOS 4.2 and 4.3 Software)
    I would suggest restoring as new.

  • HT204053 Can I have two Iphones connected to one icloud account and if so, how do I change the icloud user name on the phone

    Can I have two Iphones connected to one icloud account and if so, how do I change the icloud user name on the phone

    Welcome to the Apple Community.
    Yes you can use one iCloud account between multiple devices.
    What do you mean 'change the iCloud user name'.

  • How I can change the ID user

    How I can change the ID user & Pass

    on your iphone settings - app store - apple id - logout
    on the web look at the link
    http://support.apple.com/kb/he37

  • How i can change to standard user, an admin user

    Hi,
    How I can change to standard user an admin user, if the check box can not be unchecked.
    I have opened the lock to allow for future changes.
    I have more than one admin user.
    As root user, I can't do it.
    Thanks.

    Hi,
    I have, but looks the same, unable to change.
    I finally decided to create a new standard user and delete this.
    Thanks for the support.

  • How do I change the administrator name and password?

    I am trying to put some needed applications on my G3 Lombards and it won't let me because the previous administrator of the computer failed to erase all of his info before I bought it.
    How do I change the administrator name and password?
    This is the most ridiculous thing I have ever seen yet.
    Please help. FAST
    Edited by an Apple Discussions Host

    Robert:
    May I strongly urge you to get a set of installer CDs. They will come in handy as you need them for much more than just installing the OS. From time to time, e.g. you may need to boot from the installer disk to Repair Disk (you can Repair Disk Permissions from Disk Utility on the HDD, but to Repair Disk, you must boot from a different volume). And if you had installer CDs changing the password and creating a new Admin Account would be a breeze.
    You can get universal installer disks at applerescue. Another option in your situation is to do a complete re-install. That will not only enable you to create your own admin account, but it will automatically change the computer short name. However, for that you need installer disks.
    Meanwhile, <a href=""http://discussions.apple.com/thread.jspa?threadID=121786&tstart=0>here is another article that should help.
    Good luck.
    cornelius
    Message was edited by: cornelius

  • How do i change a managed user to an administrator on mavericks?

    I thought that I had two users that were both administrators on a MBP.
    But one of them is a "Managed" user and if I'm signed is as the administrator, I'm not able to change the "Managed" user to an "Administrator"
    I don't see "Managed" as a type of user when creating users.
    I'm obviously, confused.
    Help appreciated....
    Jim P.

    I looked into this a little more carefully.  It's not the Guest account.  It clearly indicates "Managed".
    Searching for more information, this is something related to Parental Control, but I can't seem to get this account to take on the characteristics of either an administrator or user role.

  • How can I change my login user name to my current new email

    I need to change mu iCloud user name from my old email to me new one but it won't let me because it is the same as my rescue email address. How do I get around this if it is the only email address I have?

    Create another non-Apple email address to use and either use it as your new primary email address, or change the rescue address to the new address and then use the current rescue address as your new primary address.

  • As a Hyperion Admin how to track changes if one user changes / creates user

    1) in Hyperion how Admin can find if one user
    Password resets logged.
    2)In hyperion how Admin an fine if one user
    Creation, change and deletion of User accounts logged.

    Shared Services allows the auditing of provisioning and life-cycle management activities to track changes to security objects and the artifacts that are exported or imported using Lifecycle Management Utility.
    For Shared Services auditing, refer Page 129 of http://download.oracle.com/docs/cd/E12825_01/epm.111/epm_security.pdf
    Planning Administrators can select aspects of the application for change tracking. For example, you can track changes to metadata, such as when users change a member property or add a currency. You can also track changes in data forms, business rules, workflow, users, access permissions, and so on.
    For Planning auditing, refer Page 56 of http://download.oracle.com/docs/cd/E12825_01/epm.111/hp_admin.pdf
    HTH-
    Jasmine.

  • How do I change concurrently connected users?

    One of the first questions dbassist asks for a custom, hybrid database (others too?) is the number of concurrently connected users.
    Question: How is that number used?
    Question: How do I change that number?
    Thanks,
    Jerry

    I don't think that the information is used directly. I suspect it's used to calculate a reasonable size for the SGA, etc.
    This means that you can't directly change it, but by tweaking the settings in init.ora you can get the same effect.

  • Cant restore after installing updates how do I change the home user/account

    I installed 3 updates, opps, this morning, and when I restarted the computer it had reverted back to old setting from 2004. I purchased the computer from a friend, and had worked hard to remove his stuff, now my settings mail etc are gone and the old stuff is back. How do I restore the computer to what it was before the updates took it all off? also how do I change the home from his back to ours? sorry, I am new at this and very very frustrated with the mac so far.

    Changing the home folder name caused the problems, not the updates. The problems won't show up until you restart, which, in your case, was just
    after the updates. See:
    <http://docs.info.apple.com/article.html?artnum=107854>
    <http://docs.info.apple.com/article.html?artnum=106824>
    When you get a used computer, it is safest to erase the disk (with zeroing option), then reinstall OSX, update it, and get the latest versions of all the software you need. You should also run Extended Tests from the Apple Hardware Test disc to be sure there are no hardware problems.

  • How do you retrieve a folder from a website via Terminal?

    Heya,
    I'm a web developer and I'm trying to learn how to download a website's related files and folders via Terminal instead of using a GUI based FTP application such as Coda, Transmit, Cyberduck, etc..
    Can anyone clearly explain how to accomplish this? Thanks!

    You could try curl
    curl ftp://web.site.addr/path/to/file/to/download -o output.file
    curl http://web.side.addr/whatever -o output.file
    see the "man curl" man page for all the details.
    And if you download and install a version of wget you will have the ability to recursively download a folder and all its files and subfolders. If you decide you need something like wget you could use something like MacPorts.org to get a copy. Or you could Google search for "Mac OS X wget".

Maybe you are looking for

  • Java Components and Look and Feel

    Can anyone suggest a free look and feel that does not resemble the standard stuff that comes with the JDK? Also, Swing seems to be missing some important components like dockable windows, and toolbars. Can anyone suggest some resource that offers int

  • New bios for T420 Updated the CPU microcode

    Hi, Bios 1.46 (New) Updated the CPU microcode. (Fix) Corrected the help message for enabling the microphone in the BIOS Setup. The CPU microcode update: It will support Ivy Bridge? Thanks Solved! Go to Solution.

  • Getting the time of a particular keyframe

    Hi There, I took a look at the Scripting Guide, but after a cursory search + read couldn't find the answer to my question there, so I thought I would reach out here.  How can I get the time value for a keyframe in any given property?  I know I can it

  • Oracle login

    Hi, After I installed Oracle 10g, I cannot login as an regular user (pcidev) with "connected as normal" nor with "connected as sysoper" but I can login successfully with "connect as sysdba". What did I do wrong at the installation? How can I change s

  • Can't digitize or export QT files to our SAN (metaSAN)

    We've suddenly hit a huge problem where we can't digitize or export QuickTime files of any size to our SAN volumes (under metaSAN v.4.6) but we can digitize/export them to local drives or networked drives. This seems specific to QT files (other file