How to revert commands with "command-S" to cancel system reset

I've entered the following commands with "command-S" to reset the system:
mount -uw /
rm /var/db/.AppleSetupDone
shutdown -h now
So now I have the original "welcome" in all languages everytime I turn on the computer. But I want to use my friends original password (he gave me his computer). Is there any way to revert these commands so that it goes to the normal login page when I turn the computer on? Thanks

You cannot recover a password.  What you can do is create a new administrator account using the process you did, then reset the other password to one you choose.  Log into that account.
If the computer was protected with Filevault then you can completely forget about recovering anything from that account, unless you have the resources of the CIA or NSA.

Similar Messages

  • How to create report with status killed and cancel ?

    Hi Guys,
    From the report query filter, i only able to pull a certain status of job ? anyone know how to pull the report for the job with status killed and cancel ?
    regards,
    Chris

    Hi Mano,
    You are in the filter editor for job definitions (Definitions > Job definitions). Job definitions do not have a status (they simply define what to do, optionally when).
    Go to "Monitoring > Jobs" (First item in the first group), you can also click on the button in the tool bar. See screenshots below on my English system:
    Regards,
    HP

  • How to revert to older patch version on fresh system

    I have got fresh install Solaris 9 , 117171-07 how can i revert to older patch version.
    I need this for the purpose of testing, i cant find previous release DVD ? any help ?

    I don't think you can.
    You'll have to jumpstart it from an older distribution.
    If you have a support contract, sun should be able to give you the older iso's.

  • It started out with freezing, but now, the system resets automatically...

    ...everytime I start Vortex. Consiquently, not only is it a game I actually had to pay for, but it's my favorite game on the iPod next to Zuma. Everytime I click on Vortex now, it loads for a little, and resets. I want to play Vortex...
    WHEN WILL APPLE RELEASE THE VORTEX UPDATE THAT DOESN'T CRASH??
    80GB Video 5.5 Generation   Windows XP   Vortex rocks, too bad it crashes.

    Have you tried all the troubleshooting steps that are available for this kind of problem?
    For example, re-syncing/resetting your iPod, reinstalling the game, restoring it, logging off all other users and restarting your computer with your iPod conected (to name a few things off the top of my head):
    have you tried all/any of those kind of things?
    By the way, if you're wanting Apple representitives to read about this issue, then this wouldn't be the place to post it, as Apple employees rarely look or post on these boards.
    I would suggest to fill out the iPod Feedback form, listing what the "Bug Report" is; Apple will read every iPod Feedback note that is sent to them, so that's a way of notifying them.
    -Kylene
    If any post helps or solves your issue, please mark it that way accordingly. Thank you for helping the boards!

  • How to export data with column headers in sql server 2008 with bcp command?

    Hi all,
    I want know "how to export data with column headers in sql server 2008 with bcp command", I know how to import data with import and export wizard. when i
    am trying to import data with bcp command data has been copied but column names are not came.
    I am using the below query:-
    EXEC master..xp_cmdshell
    'BCP "SELECT  * FROM   [tempdb].[dbo].[VBAS_ErrorLog] " QUERYOUT "D:\Temp\SQLServer.log" -c -t , -T -S SERVER-A'
    Thanks,
    SAAD.

    Hi All,
    I have done as per your suggestion but here i have face the below problem, in print statment it give correct query, in EXEC ( EXEC master..xp_cmdshell @BCPCMD) it was displayed error message like below
    DECLARE @BCPCMD
    nvarchar(4000)
    DECLARE @BCPCMD1
    nvarchar(4000)
    DECLARE @BCPCMD2
    nvarchar(4000)
    DECLARE @SQLEXPRESS
    varchar(50)
    DECLARE @filepath
    nvarchar(150),@SQLServer
    varchar(50)
    SET @filepath
    = N'"D:\Temp\LDH_SQLErrorlog_'+CAST(YEAR(GETDATE())
    as varchar(4))
    +RIGHT('00'+CAST(MONTH(GETDATE())
    as varchar(2)),2)
    +RIGHT('00'+CAST(DAY(GETDATE())
    as varchar(2)),2)+'.log" '
    Set @SQLServer
    =(SELECT
    @@SERVERNAME)
    SELECT @BCPCMD1
    = '''BCP "SELECT 
    * FROM   [tempdb].[dbo].[wErrorLog] " QUERYOUT '
    SELECT @BCPCMD2
    = '-c -t , -T -S '
    + @SQLServer + 
    SET @BCPCMD
    = @BCPCMD1+ @filepath 
    + @BCPCMD2
    Print @BCPCMD
    -- Print out below
    'BCP "SELECT 
    * FROM   [tempdb].[dbo].[wErrorLog] " QUERYOUT "D:\Temp\LDH_SQLErrorlog_20130313.log" -c -t , -T -S servername'
    EXEC
    master..xp_cmdshell
    @BCPCMD
      ''BCP' is not recognized as an internal or external command,
    operable program or batch file.
    NULL
    if i copy the print ourt put like below and excecute the CMD it was working fine, could you please suggest me what is the problem in above query.
    EXEC
    master..xp_cmdshell
    'BCP "SELECT  * FROM  
    [tempdb].[dbo].[wErrorLog] " QUERYOUT "D:\Temp\LDH_SQLErrorlog_20130313.log" -c -t , -T -S servername '
    Thanks, SAAD.

  • How to get command history with timestamp ?

    how to get command history with timestamp ?

    If you are using bash:
    HISTTIMEFORMAT If this variable is set and not null, its value is used as a format string for strftime(3) to print the time stamp associated with each history entry displayed by the history builtin. If this variable is set, time stamps are written to the history file so they may be preserved across shell sessions.
    [SunOS 5.10/bash] [email protected]:/etc/ftpd
    # HISTTIMEFORMAT="%h/%m - %H:%M:%S ";export HISTTIMEFORMAT;history
        1  Aug/08 - 19:07:52 chmod a+rwx /root
        2  Aug/08 - 19:07:52 ll /
        3  Aug/08 - 19:07:52 tail -f /root/mylog.log
        4  Aug/08 - 19:07:52 vi /usr/dt/bin/Xsession
        5  Aug/08 - 19:07:52 cat /root/mylog.log
        6  Aug/08 - 19:07:52 ls /export/home/p661210/.dt
        7  Aug/08 - 19:07:52 ls -la  /export/home/p661210/.dt
        8  Aug/08 - 19:07:52 cat  /export/home/p661210/.dt/errorlog
        9  Aug/08 - 19:07:52 vi /usr/dt/config/C/sys.dtwmrc
       10  Aug/08 - 19:07:52 ls
       11  Aug/08 - 19:07:52 cat Xresources.jds
       12  Aug/08 - 19:07:52 vi /usr/dt
    [SunOS 5.10/bash] [email protected]:/etc/ftpd
    [SunOS 5.8/bash] root@wgls03:/root
    # HISTTIMEFORMAT="%h/%m - %H:%M:%S ";export HISTTIMEFORMAT;history
        1  Jul/07 - 09:02:21 vi /etc/vfstab
        2  Jul/07 - 09:02:21 mount /store
        3  Jul/07 - 09:02:21 cd /store/bnz
        4  Jul/07 - 09:02:21 ls
        5  Jul/07 - 09:02:21 ./BNZ_installBaseSoftware
        6  Jul/07 - 09:02:21 find /usr -name gunzipCheers,
    Andreas

  • How to run command SQLLoader Oracle in c#

    Hello,
    How to run command SQLLoader Oracle in c#. I try my sourcode for run this SQLLoader, but nothing happen and error "No process is associated with this object.". Please tell me how i fix it. Thanks.
    This is my code:
    System.Diagnostics.Process process1;
    process1 = new System.Diagnostics.Process();
    process1.EnableRaisingEvents = false;
    string strCmdLine;
    strCmdLine = @"/C SQLLDR XL/secreat@O11G CONTROL=E:\APT\LoadXL.ctl";
    System.Diagnostics.Process.Start("CMD.exe", strCmdLine);
    process1.WaitForExit();
    process1.Close();

    jesperdj ,thanks:)
    actually,i am using eclipse to run my ant tasks programmatically,but I got trouble with the AntRunner class.it seems that i should config a proper classloader for it,but i just don't know how.please lend a hand:)thanks
    robin

  • How to excute commands in DOS ?

    I want to execute DOS commands like "shutdown -i" in my Java application but I'm not able to get it done.
    I've used the method as follows but it does not work(does not throw any exceptions as well):
    try
    Process child=Runtime.getRuntime().exec("shutdown -i");
    catch(Exception e)
    e.printStackTrace();
    Also plz. shed some light on how to execute commands with multiple parameters like:
    attrib -s -h -r "*.*" /s /d

    This forum is for info on helping make Java accessible to people with disabilities. I fear you won't get an answer to your question via this forum. I recommend you post your question to a different forum, such as the "Java Programming" forum

  • How to copy command group

    hi all,
             can anyone please tell me how to copy a command group into our namespace
    Regards,
    Samuel

    hi
    You need to create a advance copy of the command group  navigate to  system administration>systemconfiguration>Knowledgemanagement>content Management>user interface>Commands> ui command Group-->navigate to command and duplicate it or advance copy.hope this helps you.please do not forget to give points
    with regards
    subrato kundu

  • I accepted/installed an update for iMovie and it turns out that this version is not compatible with my graphics card. So now I can no longer open or use iMovie.  Any ideas on how to get around this - how to revert to the previous version.

    I accepted/installed an update for iMovie and it turns out that this version is not compatible with my graphics card. So now I can no longer open or use iMovie.  Any ideas on how to get around this - how to revert to the previous version??

    Look in your Applications folder.  If your system behaved as expected, you should have an iMovie 9.0 folder in your Applications folder.  Apple moved the old version there as even they suspected the new versions was a train wreck.

  • Linux server(how to save command out put to another file. )

    hi all,
    i have Q ?
    how to save command out put to another file.
    Ex: #ps -ef
    that particular cmd output i need to save another file.
    is it possible ...if possible ..please let me know
    And how to save command history in Linux.

    df -h >> /oracle/output.log
    /oracle -- mount point name
    Regards
    Asif Kabir

  • How to implement command pattern into BC4J framework?

    How to implement command pattern into BC4J framework, Is BC4J just only suport AIDU(insert,update,delete,query) function? Could it support execute function like salary caculation in HR system or posting in GL(general ledger) system? May I create a java object named salaryCalc which use view objects to get the salary by employee and then write it to database?
    Thanks.

    BC4J makes it easy to support the command pattern, right out of the box.
    You can write a custom method on your application module class, then visit the application module wizard and see the "Client Methods" tab to select which custom methods should be exposed for invocation as task-specific commands by clients.
    BC4J is not only for Insert,Update,Delete style applications. It is a complete application framework that automates most of the typical things you need to do while building J2EE applications. You can have a read of my Simplifying J2EE and EJB Development Using BC4J whitepaper to read up on an overview of all the basic J2EE design patterns that the framework implements for you.
    Let us know if you have more specific questions on how to put the framework into practice.

  • How to give command line arguments

    does anyone help me out in how to give command line arguments after run my program
    m using netbeans6.0.1

    If you want your program to take console input while it's running (as opposed to command line arguments, which are passed once, when you start your program), you can wrap a BufferdInputStream or a Scanner around System.in.
    [http://java.sun.com/docs/books/tutorial/essential/io/index.html]

  • How to revert to original, the extracted Audio Tracks with SoundBooth?

    How to revert to original, the extracted Audio Tracks with SoundBooth?
    I have installed the Adobe "MasterCollectionSuite-CS5"-ITA with PremiereProCS5 and SoundboothCS5.
    I made a few test with PremierePro Audio clips and used the option "Make a rendering and extract" with Soundbooth.
    I want know, after that operation:
    - Exists an option (a shortcut) to revert automatically the audio tracks from the extracted Soundbooth clips to the original audio footage?
    - In other words, I want return to the original audio timeline situation, prior to make the extraction with Soundbooth. Is it possible?
    - I know just one method:
    Click and drag the video clip from timeline and release the clip in the "Source"Monitor window. After that I can drag the video+audio at the same start-and-end point of the source and put it into timeline, at the same place...
    But with this method I loose the applied effects and transitions from the edited clips in the timeline...
    Exists another method?
    Thanks!
    Horsepower0171.

    Dear  <http://forums.adobe.com/people/Shai+Schcolnik> Shai Schcolnik
    After you have edited the Audio file in Soundbooth, you should:
    1)      Select the Original Footage in PremierePro > Project Folder
    2)      Select with RIGHT Click the Video+Audio Clip in PremierePro Timeline, and in RIGHT Click Menu choose “Replace/Substitute with clip” > “From Folder”
    3)      Now you can delete in PremierePro > ProjectFolder, the named Audio File “…_Extracted.wav” edited previously with Soundbooth!
    The new one is your original footage!
    Best regards!
    Dario Cavallo  (Horsepower0171).
    “3DC multimedia Productions”
    www.3dc.joomlafree.it
    Italy.
    Da: Shai Schcolnik [email protected]
    Inviato: lunedì 7 gennaio 2013 12:13
    A: Horsepower0171
    Oggetto: How to revert to original, the extracted Audio Tracks with SoundBooth?
    Re: How to revert to original, the extracted Audio Tracks with SoundBooth?
    created by Shai Schcolnik <http://forums.adobe.com/people/Shai+Schcolnik>  in Premiere Pro CS5, CS5.5, & CS6 - View the full discussion <http://forums.adobe.com/message/4973889#4973889

  • How to issue commands c shell

    hi buddy.....
    i need help again.....
    how to issue commands c shell in Linux(Ubuntu 9.10) for example:
    *% source ./.login*

    how to issue commands c shell in Linux(Ubuntu 9.10) for example:by default C shell is not included in Ubuntu (see below)
    bcm@bcm-laptop:~$ csh
    The program 'csh' can be found in the following packages:
    * csh
    * tcsh
    Try: sudo apt-get install <selected package>
    csh: command not found
    bcm@bcm-laptop:~$ uname -a
    Linux bcm-laptop 2.6.31-19-generic #56-Ubuntu SMP Thu Jan 28 01:26:53 UTC 2010 i686 GNU/Linuxpost results of following commands
    env | sort

Maybe you are looking for

  • A/R Invoice Closed but Status not Changed

    Hi All, I have Prepared one A/R Invoice Value of Material, Freight, Taxes. To reverse this Invocie, I have passed on A/R Credit Memo but still invoice is showing status as Open-Printed. I have checked JE for both are showing same value. Can any body

  • Process order cancellation error

    Dear all, I was not able to delete the process order due to the status of ORRQ, Kindly please let me know how to process. Regards Rajasekaran

  • Publication for Deski report with multiple data providers

    Hi, Has anyone been able to get a publication working that uses a Deski report with multiple data providers as the source? I'm trying to get a publication working that uses dynamic recipients and personalization. When I try to schedule the publicatio

  • Subscribers can't download certain episodes but rss is fine

    Im hosting a podcast that has about 20 episodes currently on the server. Through my webpage and rss file, everything works AOK. There are also people that have told me they are able to download most of the episodes through iTunes. However, I keep get

  • Unusual Battery Behavior

    Hi, I have a white macbook that I recently bought this past June, and I am having some battery problems. My battery has always lasted ~6 hours with a full charge and the brightness on the lowest level, if I have airport on, it drops to ~5 hours. Howe