How to move files using Single User Mode

I messed up this one task that i didn't read all the way through and messed up. I Moved SecurityAgent.app (not SystemAgent.app my bad) and instead i moved my desktop to the CoreServices folder and renamed it SecurityAgent.app
How do i put the Desktop Back and put SystemAgents back into the CoreServices. Actually just the CoreServices. I have more than one account on my comp. so i will just fix my Desktop using that account.
Message was edited by: Connor.K

Run the following commands:
mount -uw /
cd /System/Library/CoreServices/
mv SecurityAgent.app Desktop
mv Desktop/SecurityAgent.app SecurityAgent.app
exit
(50685)

Similar Messages

  • How to copy files using single user option command??

    i want to copy all fonts in library/fonts to the original fonts folder in system/library/fonts becouse i cut all fonts in the original folder to font folder under library and the mac doesn't work,but still i can access the system from single user options, and i need to know the command to copy the fonts

    Files can be moved with mv or copied using cp or ditto. Use commands such as 'man mv' for usage instructions, or check Apple's developer documentation.
    (54261)

  • How do I reset Tiger Mac OS X 10.4 admin password by using single-user mode

    bought a used PowerBook G4 on Ebay. The administrator's password was locked. The Powerbook still can run to the normal screen. However, I am unable to update and install software without a password.
    I don't have the original install CD either the second mac for firmware reset. So I wonder if anyone knows how to reset the password by using single user mode or any other methods to do so?
    Any input will be greatly appreciate it. Thanks.
    Powerbook G4   Mac OS X (10.4)  

    This morning we lost power and my iMac G5 (10.4) system got messed up. Specifically, when it restarted, all text in all Finder and application menus were blank (e.g. Click the Apple menu and a long empty white box stretching to the bottom of the screen would appear with no text. The whole box turns blue when you click in it. Ditto for all other finder menus and dialog boxes. Event the User menu was empty. The Disk Utility application shows only icons and empty buttons--no text.)
    Restarting in Safe Mode was no better.
    I then connected the G5 as a target disk to my iMac G4, and ran the OS X install that came with the G5 (10.3.2). It told me that in order to install an earlier OS X version, I must select certain options: I checked "Archive and Install" and "Preserve Users and Network Settings" (I have 4 accounts set up in addition to my onw admin account) and proceeded with the installation.
    At the end of installation, the G4 started (G5 is still in target disk mode) with the G5 as the startup disk. It presented the User Login screen (although it normally does auto-login on my account) but the password for each of the 5 accounts was rejected. The original hints still appear, but it seems that all passwords have been changed.
    I then tried the G5 on its own (not as a Target disk) but when it starts up the grey Apple turns into a grey "do not enter" (circle/slash) icon and goes no further.
    Can you suggest what I should do now?
    iMac G5 2.0GHz   Mac OS X (10.4.7)  

  • How to put database in single user mode?

    hi
    how to put database in single user mode?and what could be the impact of this to EBS R12 RUP 6.DB 10.2.0.0
    rgrds

    hsawwan wrote:
    Hi,
    Are you referring to restricted mode? If yes, please see these links/docs.
    Restricting Access to an Open Database
    http://download.oracle.com/docs/cd/E11882_01/server.112/e10595/start002.htm#ADMIN11155
    Note: 1059291.6 - How to Put a Database into Restricted Mode and Verify Restricted Mode
    The impact is none of the users will be able to connect to the database/application (except for the sys user which can connect to the database). Usually, you would need to put the database in restricted mode when doing upgrade/migrate (i.e. you do not want to have active user sessions in the database during that time).
    Thanks,
    HusseinHi
    i want to mean:
    ALTER SYSTEM QUIESCE RESTRICTEDThe ALTER SYSTEM QUIESCE RESTRICTED statement may wait a long time for active sessions to become inactive. You can determine the sessions that are blocking the quiesce operation by querying the V$BLOCKING_QUIESCE view. This view returns only a single column: SID (Session ID). You can join it with V$SESSION to get more information about the session, as shown in the following example:
    select bl.sid, user, osuser, type, program
    from v$blocking_quiesce bl, v$session se
    where bl.sid = se.sid;I suspect all apps user can.t login to db?
    Edited by: new2appsdba on Aug 19, 2010 1:54 AM

  • Back up files through Single user mode

    Hello there,
    it seems that I have problem with my hard drive. I tried to repair it with disk utility and the fsck command in Single user mode with no luck. The fsck command gives me the "Exited with signal 8" message and it won't start up the usual way or under Safe boot so I came to the conclusion to back up my files on an external drive and reinstall the system. I need step by step instructions how to back up the entire hard drive onto the external drive in Single User mode.

    Do you have another mac with firewire?
    Try target disk mode.
    If you have a second Mac computer, you may want to try to copy over as many files you can. One way is to use target disk mode.
    http://support.apple.com/kb/HT1661
    http://lowendmac.com/misc/06/0710.html
    This requires you to use your installation disk. With errors from fdsk, I do not think you will be able to copy all directories. I used a flash drive. A harddrive should be the same. To copy everything, use the directory /Volumes/Macintosh-HD
    You may try to recover your data by booting up an installation cd/dvd and using the terminal.
    You could try getting into the Unix command line interface and copy some files or directories.
    You can copy files on the Unix command line interface if you placed the flash drive the USB port before powering on your machine.
    Boot up your installation CD or DVD. To do this, place to the CD or DVD its drive. Power off the the machine. Hold down the c key then power on your machine. After you specify the language you will come to the installation panel. Do not install. Go to the top of the screen and click on the tools menu item. Click on Terminal to use the command line interface.
    You should verify that the files have been copied correctly by trying them in another Mac before it the deleting the original.
    *Here is an overview of the commands.*
    Lets assume that the problem account has a short user name of mac.
    #Copy directory "/Applications/Applescript files" to
    # directory "/Volumes/Spotless/Applescript files".
    # "Spotless" is my flash drive.
    ditto -X -rsrc /Applications/Applescript\ files /Volumes/Spotless/Applescript\ files
    #cd is change directory
    cd /Volumes/COPYIT/answers/
    # pwd is print working directory
    pwd
    #the ls command is for list
    # l is long
    # a to show hidden files. not shown in this example.
    # F is type of file where / is directory
    sh-2.05b# # Please note ls is the list command. l is a lower case L
    sh-2.05b# ls -lF
    Here is what these commands mean:
    cd is change directory
    pwd is a print working directory
    ls is list
    sudo is Super user do
    # The sudo command will ask for your administration password. No characters will appear when typing your password. Press return when done typing.
    cp is copy
    copy a file example:
    sh-2.05b#
    sh-2.05b# cd /Volumes/Macintosh-HD/Users/mac/desktop
    sh-2.05b# pwd
    /Volumes/Macintosh-HD/Users/mac/desktop
    sh-2.05b# cp -i answers.txt /Volumes/SpotMore
    Will copy the file answers.txt in the directory SpotMore.
    Some files have a space in the name. You need to escape. see example:
    mac $ ls -l ~/"see it"
    -rw-r--r-- 1 mac staff 3171 Oct 26 23:38 /Users/mac/see it
    mac $
    mac $ cd /Users/mac/Desktop/ttt\ html\ copy/
    Do you know about tabing? Type in a few letters of a name then press the tab key. The computer will type out the rest of the name if it is unique.
    The up arrow key will retrive the previous command. You the left arror and right arror keys to move around. Use the delete key to delete a character to the left.
    <eol>
    *More examples and moving around*
    sh-2.05b# pwd
    sh-2.05b# ls /Volumes
    .Trashes        Classic                Macintosh-HD
    ._.Trashes      Mac OS X Install DVD   SpotMore
    sh-2.05b#
    sh-2.05b# df -h
    Filesystem      Size   Used  Avail Capacity  Mounted on
    /dev/disk4s3    2.6G   2.5G    89M    97%    /
    devfs           121K   121K     0B   100%    /dev
    fdesc           1.0K   1.0K     0B   100%    /dev
    <volfs>         512K   512K     0B   100%    /.vol
    /dev/disk5      467K   9.0K   435K     2%    /Volumes
    /dev/disk6       95K    64K    27K    70%    /private/var/tmp
    /dev/disk7       95K    14K    77K    15%    /private/var/run
    /dev/disk3s1    3.7G   1.3G   2.5G    34%    /Volumes/SpotMore
    /dev/disk0s10   1.1G   1.1G   3.4M   100%    /Volumes/Classic
    /dev/disk0s12    70G    45G    25G    65%    /Volumes/Macintosh-HD
    sh-2.05b#
    sh-2.05b# cd /Volumes/SpotMore/
    sh-2.05b# pwd
    /Volumes/SpotMore
    sh-2.05b# # Please note ls is the list command.  l is a lower case L
    sh-2.05b# ls -l
    total 880
    -rw-r--r--    1 unknown  unknown    6148 Sep 10  2010 .DS_Store
    drw-------    4 unknown  unknown     136 Aug 25  2010 .Spotlight-V100
    drwxrwxrwt    3 unknown  unknown     102 Sep  3  2010 .TemporaryItems
    d-wx-wx-wt    3 unknown  unknown     102 Sep 10  2010 .Trashes
    drwx------    3 unknown  unknown     102 Sep  3  2010 Desktop
    -rw-r--r--    1 unknown  unknown   18944 Aug 27  2010 Desktop DB
    -rw-r--r--    1 unknown  unknown       2 Jul 29  2010 Desktop DF
    -rwxrwxrwx    1 unknown  unknown   26281 Oct 27  2009 Warranty Information.PDF
    drwxr-xr-x   13 unknown  unknown     442 Aug  4  2010 backup
    drwxr-xr-x   13 unknown  unknown     442 Aug  4  2010 backupPrior
    drwxr-xr-x    7 unknown  unknown     238 Aug 27  2010 cons
    drwxr-xr-x   65 unknown  unknown    2210 Sep  4  2010 iMac-back
    ... clipped ...
    sh-2.05b#
    sh-2.05b# cd /Volumes/Macintosh-HD/Users/mac/desktop
    sh-2.05b# pwd
    /Volumes/Macintosh-HD/Users/mac/desktop
    sh-2.05b# # Please note ls is the list command.  l is a lower case L
    sh-2.05b# ls
     Z2300               iMac
    .DS_Store            move
    .FBCIndex            new Belward
    .FBCLockFolder       primary-comments-new copy.doc
    Consolidate-rc       primary-comments-new.doc
    Downloads            psc 1200
    ... clipped ...
    sh-2.05b# ditto -X -rsrc iMac /Volumes/SpotMore/iMac-back
    sh-2.05b#
    sh-2.05b# # Please note ls is the list command.  l is a lower case L
    sh-2.05b# ls -h /Volumes/SpotMore/iMac-back/
    total 2800
    -rw-r--r--    1 unknown  unknown    24K Sep 12  2010 .DS_Store
    -rw-r--r--    1 unknown  unknown     2K Apr 18  2010 Differentiate Between Models .html
    ... clipped ...
    sh-2.05b# pwd
    /Volumes/Macintosh-HD/Users/mac/desktop
    sh-2.05b# ls
     Z2300               iMac
    .DS_Store            move
    .FBCIndex            new Belward
    .FBCLockFolder       primary-comments-new copy.doc
    ... clipped ...
    sh-2.05b#

  • Copying a file in Single User Mode

    Hi all,
    I was in the hospital, trying to backup files from my 15 inch Macbook Pro (new in November, running the latest OS), when I knocked over a cup of coffee, burning me.  I knocked the computer onto the floor as I jumped up and now it is locked and read only, no matter what I do (original attempts to fix can be found here: https://discussions.apple.com/message/21633118#21633118).  I can boot into single user mode, or holding down 'option' when I push the power button, but not boot normally to save my life.
    I need to copy the entire user file ("Liz") from the damaged HD in single user mode to an external drive ("passport").  Is this possible?  I tried using disk utility to copy the files, but it gives me an IO error. Being a novice, I am unsure if this is possible.  It's the last chance I think I have to save the files I was *trying* to backup when I spilled the coffee.  Some of it is critically important, so if you have any ideas, PLEASE let me know.
    Thank you in advance.
    Liz

    There are several ways to back up a Mac that is unable to fully boot. You need an external hard drive to hold the backup data.
    1. Boot into Recovery (command-R at startup) or from a local Time Machine backup volume (option key at startup.) Launch Disk Utility and follow the instructions in the support article linked below, under “Instructions for backing up to an external hard disk via Disk Utility.”
    How to back up and restore your files
    2. If you have access to a working Mac, and both it and the non-working Mac have FireWire or Thunderbolt ports, boot the non-working Mac in target disk mode by holding down the key combination command-T at the startup chime. Connect the two Macs with a FireWire or Thunderbolt cable. The internal drive of the machine running in target mode will mount as an external drive on the other machine. Copy the data to another drive. This technique won't work with USB, Ethernet, Wi-Fi, or Bluetooth.
    How to use and troubleshoot FireWire target disk mode
    3. If the internal drive of the non-working Mac is user-replaceable, remove it and mount it in an external enclosure or drive dock. Use another Mac to copy the data.

  • Transfer file in Single User Mode (Command S)

    Can I mount my iPod as external drive and transfer my documents in Single User Mode? or any other mode? I just cannot login as normal. I want to backup my docs before refresing the OS.

    You say 'Documents' not 'Music' so I hope you mean files stored on there using it in Disc Mode not iTunes files?
    Boot in Single User Mode
    at the root# prompt enter
    CD /Volumes
    ls
    And see if a) the iPod shows and b) your backup drive shows
    If so, the basic command is cp source destination but you must give the complete and correct paths here so post the drive names if you need clarification.

  • Cannot edit sudoers file in single user mode.

    I did not back up my sudoers file on my pro.
    I made a change to it, adding my "test" user to be able to use sudo, but upon restarting, it didn't work, and I cannot edit the file via cd in single user mode.
    I mounted the drive, changed permissions, but it seems that I don't have the option to use vi, visudo, vim.
    Thanks for the help.

    I mounted the hdd using the command below.
    I then made sure I could get to the file by cd to it.
    Then once I was there, i would attempt to type vis <tab> to complete, and visudo does not show up. Typed in visudo, nothing. This was on a brand new mb pro. I can wipe it out, but I would rather figure out why its not working.
    The reason for all this is I have to give it to a user at my job. We don't want them to have admin rights to install anything they want, but they need to use sudo in X11 for compiling and such. I read online that I can edit/add their username to the sudoers file, and allow them the right to sudo for compiling, starting apache on their laptops, etc.
    Thanks.

  • HT1492 Start-up disk is full and can't go past the blue screen; can't delete read-only files on single-user mode. Please help.

    I have had my Mac mini for about 6 years and I guess it had enough of me (haha), so the start-up disk got full and it shut down before I could empty files on my drive. Unfortunately, all these years I hadn't backed up anything and now I can't access anything since it won't boot past the apple logo (and the blue screen for that matter). I have tried rebooting (holding shift as the mac mini loads), but that didn't help since the start-up disk will still be full and stuck on the blue screen. I am now trying the single-user mode (holding command key+s), and I tried to delete files in the trash bin but all of the files are read-only and access is denied! so I basically can't delete anything on the mac mini (it says "Root device is mounted read-only"). So the key here is to change the permissions but I don't know how to exactly do that. Can someone help me figure this out? (and type the command in the unix language please!!) [ Note: We have two users on this mac mini if that helps.]

    Run the following command:
    mount -uw /
    This isn't a permissions issue.
    (87807)

  • How to restart computers in single user mode?

    I 'd like to use ARD to send a command to reboot target computers in Single User mode (and then run line of command).

    have you considered just using safeboot? safeboot dose many of the same things applejack dose, and it's built into the mac os x.
    Safeboot using ARD:
    You can start a safeboot by send unix command, as root, command:
    nvram boot-args="-x -v"
    send command reboot computer
    After the reboot, you could then send unix command, as user root, command:
    sudo nvram boot-args=""
    send command reboot computer
    NOTE: some features do not work while the computer is in safeboot, so it's a good idea to have the computer plugged in by ethernet, because most macs still work over ethernet in safeboot.
    Or you could just tell the user to reboot the computer holding the shift key, and when they get to the login window with the words "safeboot" to reboot the computer again.
    FYI: in the past i've ran safeboot, and watching the output, I could see it repaired the disk and permistions. soo if I had a disk that needed repairing, you could in thory try safeboot to fix the issue. The computer already runs a RAM test every time you power on the computer.

  • How to eject DVD in single user mode

    Hi All,
    When starting my iMac, I get a white screen, the apple logo and the spinning wheel. After a while it goes away and I have just a white screen.
    I've reset PRAM, to no avail (it did do something, the computer start up sound now occurs each restart).
    I can't start-up on the Mac OS install DVD because I have a DVD in the computer already and I can't seem to eject it.
    I can't get into Open Firmware mode to eject the disk there, I'm hoping someone can give me the command to eject the disc from Single-User mode.
    Chris

    Try the methods listed in this page:
    http://reviews.cnet.com/8301-13727_7-10333570-263.html
    The method for Terminal may also work in single-user mode.

  • How to move files from one user to another?

    I have an account for my wife on my iMac and started up in her account and then backed up her iBook into this account (on my computer). I wasn't thinking that this would mean her files would not be accessible to me. Is there a way to be able to transfer some of these files to my Documents folder?
    Thanks for any suggestion.
    Richard

    Richard,
    Don't worry. It is kind of complicated and kind of redundant. There are little buttons at the top right of each poster's post that say helpful and solved and reply and email. You can award the post as either helpful or solved in addition to marking your whole question as solved. It takes a little getting used to but you'll see how it works.
    Good luck in '07!
    Steve M.

  • HT1338 I forgot my administrative password and login. I do not have the CD and every time i try to use single user mode it does not work either.  Is their anything i can do to reset this? I don't care about losing the information.

    Please help me ive been trying to do this all day by googling it and using apple.  HELP PLEASE

    Hello, is it an admin Login, or possibly a Firmware Protection Password???
    Firmware password protection in Mac OS X ...
    http://support.apple.com/kb/HT1352
    It would block usage of all the startup keys, like C, N, T, D, CMD+s, CMD+Option+p+r, CMD +v, Option, and Shift, as well as booting from anything but the Hard Drive.
    Force Removing Password Protection
    1) Add or remove DIMMs to change the total amount of RAM in the computer.
    2) Then, the PRAM must be reset 3 times. (Command + Option + P + R).
    http://www.securemac.com/openfirmwarepasswordprotection.php

  • Saving from Single User Mode???

    ok, so my computer *****, and i just want to reformat the drive and start from scratchville.
    is there any way to have a USB Thumbdrive or external hard drive attached and move files from single user mode to the thumb drive to store it. and then once i get my system disk reformat or reinstall the operating system.
    i cannot login to my computer any other way besides single user. i have run FSCK and nothing.
    all im trying to do is move files so i dont have to worry about losing all of my music, photos, and documents.

    WeeManG4:
    i cannot login to my computer any other way besides single user.
    Have you tried Firewire Target Disk Mode?
    cornelius

  • Start SQL Server Service in Remote Server using Command Prompt with Single User Mode

    Hi Folks, 
    I am able to STOP/START the Remote SQL Server Service using the following Command.
    sc \\RemoteServerName  START ServiceName 
    How to Start the Remote SQL Server Service using Single User Mode.
    sc \\RemoteServerName  START ServiceName  -m
    Narendran

    Hello,
    sqlservr.exe -m
    or
    sqlservr.exe -m -s       
    (for named instances)
    For more information:
    http://technet.microsoft.com/en-US/library/ms180965(v=SQL.105).aspx
    Configure Windows Firewall or security software properly.
    Hope this helps.
    Regards,
    Alberto Morillo
    SQLCoffee.com

Maybe you are looking for