How to launch a finder with password requested, not using  sudo in terminal

Hi,
   I would like to have a finder with password requested in Mac like we move the the driver in /System/Library/extensions folder to trash by command lines.  Using "sudo delete"  in terminal will have the DOS-style and not good-looking for users.  That is, I would like to have the GUI with password by some commands(or scripts) before I removing the driver.
Thanks for your help.
Jason

You shouldn't be doing anything with system files. Those don't belong to you. If you need to install or update software in /Library, create an installer package. It will run as root, after prompting for administrator credentials.

Similar Messages

  • HT1689 How can I retrieve/change iPOD password after not using it for a year and not remembering it? (Actual device, not Apple ID)

    Been in Afghanistan for the past year, can't remember the password I put on the iPOD touch before I left.  Tried all I thought it could be.  Does anyone know how I can retrieve the password?  Or, who I can contact to unlock it so I can either use the old one or change it if they can't figure out what it was?  Thanks.

    Thanks roaminggnome...
      I am currently in demobilization and have no manual...is there someone I can look that up on the web?  Thanks.

  • Does any one can guide how to lock particular App with password?

    Does any one can guide how to lock particular App with password?

    CaptinSprinklez wrote:
    Yes, do these steps,
    Have you tested this throughly?
    As an example 'lock' Safari via your method.
    Now use Spotlight to search for Safari, tap it - is it 'locked'?
    Now go to your email & find a link to click - Safari opens again.
    Guided access is not a 'lock' in any sense of the word, it is a tool designed to stop things happening, but many apps have multiple ways to be found or launched you can't easily block them all.
    Mallik_Hyderabad, iOS doesn't have this feature & Apple do not seem interested in adding it (7.5 years & it still isn't an option) - use a passcode with a lock screen timeout if you have any sensitive data on the device or get an Android device.

  • How to lock a folder with password ?

    Please tell me how to lock a folder with password (to keep personal files)

    Keep looking it can be done. I have a folder on my hard drive that requires a password everytime I try to open it. I found how to do this in an old "Mac OS - The missing manual" but don't remember off the top of my head how I did it. I remember you have to partition a portion of the hard drive, I think I did like 10 Gig of my 1 Teribite external drive and then you give it a name and make up a password. The password is NOT changeable and if you lose it you can't get back in that folder. It appears as a standard folder but needs a password to open it.
    Email me direct if you can't find any info and I will try to look it up - [email protected]

  • FIND with MATCH OFFSET not working

    Hi,
    I have a statement:
    FIND '/' IN <ls_data_package>-/bic/zbib_sysn MATCH OFFSET off2.
    this works in all the case except for when <ls_data_package>-/bic/zbib_sysn = SSULTANA-VMC/.
    (i.e. when /bic/zbib_sysn = USERID-VMC/, here SSULTANA is the user ID)
    *In this case off2 = .
    Value of sy-subrc is 0 after this statement is executed
    Can some one please point out what I am doing wrong.
    Thank you,
    CD
    Edited by: CSD . on Sep 26, 2008 9:53 PM

    >FIND with MATCH OFFSET not working  
    Most unlikely.  More likely is that it isn't doing what you think it should be doing.  Or you're using it incorrectly!
    I can't really follow what your problem is.  I assume you mean that you are getting off2 with value 0, when /bic/zbib_sysn contains USERID-VMC/
    Can you be a little clearer in what the issue is?
    DATA: off2 TYPE i.
    FIND '/' IN 'this string /' MATCH OFFSET off2.
    WRITE: / sy-subrc, off2.
    This little program returns 0 and 12 
    matt

  • Hi, i have zte open c with Fos 1.3 and there is no russian keyboard in settings, how can i install it? (i do not use linux) may be there is firmware update?

    hi, i have zte open c with Fos 1.3 and there is no russian keyboard in settings (rus locale working fine), how can i install it? (i do not use linux) may be there is firmware update or something in market?

    To give an update on this issue, here is the latest information I have:
    "Indeed the current eBay Open C doesn't come with root privilege. Now ZTE is going to put an engineering build on their website for users to download and flash."
    I will update this thread as I know more information. Thank you for your patience.
    - Ralph

  • How do I resolve "Error processing your request", when using Download link in My Orders (photoshop 5

    How do I resolve "error processing your request" when using the download link in My Orders for photoshop 5

    As Jeff already hinted at, try a different browser. Such issues almost always are local problems on your end. Something is either changing or blocking the HTTP headers used for forwarding (could be your router, a desktop firewall or other security tools) or a JavaScript is not running/ being blocked.
    Mylenium

  • How to create sharepoint Group with read only permissions using powershell for entire site ?

    How to create sharepoint Group with read only permissions using powershell for entire site (including subsites and top level site)

    Hi
    using (SPSite site = new SPSite(url))
    using (SPWeb web = site.OpenWeb())
    SPUserCollection users = Web.AllUsers;
    SPUser owner = users[string.Format("{0}{1}", "Domain", "Owner Username")];
    SPMember member = users[string.Format("{0}{1}", "Domain", "Default Member Username")];
    SPGroupCollection groups = Web.SiteGroups;
    string GroupName = “Super Exclusive”;//your group name
    string GroupDescription = “Super exclusive group description.”;
    groups.Add(GroupName, owner, member, GroupDescription);
    SPGroup NewSPGroup = groups[GroupName];
    SPRoleDefinition role = Web.RoleDefinitions["Read"];
    SPRoleAssignment roleAssignment = new SPRoleAssignment(NewSPGroup);
    roleAssignment.RoleDefinitionBindings.Add(role);
    Web.RoleAssignments.Add(roleAssignment);
    Web.Update();
    Please 'propose
    as answer' if it helped you, also 'vote
    helpful' if you like this reply.

  • How I can delete set of book that not use, it is creating wrongly?

    Dear Valued Consultant ,
    How I can delete set of book that not use, it is creating wrongly?
    Is there a way to delete Set of Book that not use, it is created wrongly?
    The Goal:
    This wrongly set of book it is appears always in any where that need select the Set of Book that may be cause select the wrongly one
    Thanks for alawys Helping

    Pl see if ML Doc 160623.1 (How to Delete a Set of Books from General Ledger?) helps.
    HTH
    Srini

  • I have just lost all my contacts from my Mac and my I Phone. Don't know how.  Can I get them back?  Not using Time Machine

    I have just lost all my contacts from my Mac and my I Phone. Don't know how.  Can I get them back?  Not using Time Machine

    If you have no backups, and data has been lost, then it's lost forever. The rest of your data will inevitably follow if you don't back up.

  • Eliminate popup with information 'Do not use "Back" button'

    Hello,
    when your cursor is not focused in a ui-Element than in case of typing the back key, a popup open with message: please not use it. It is the same information in case of using the back button.
    Q. Is there a possibility to prevent the popup. Not the function behind, only that the popup will not open?
    Thanks a lot.
    Regards,
    Christian
    Message was edited by:
            Christian Breitenbach

    Hi Christian,
    There is no way to suppress the pop-up for your case . it is comming from the WD controllere. Just put the focus on any UI element then click on BACK manually.
    Warm Regards,
    Vijay

  • TS1702 how do i find all passwords i have used with my apple id

    how do i find all passwords that i have used for my apple id

    Other than remembering them, you can't.

  • How to consume Web Service with Password digest from PLSQL

    We have Oracle 10g (10.2.0.3.0) 64 bit. We have a situation where we need to consume web service whose security header looks like as follow,
    <soapenv:Header>
    <wsse:Security soapenv:mustUnderstand="1" xmlns:wsse="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-secext-1.0.xsd" xmlns:wsu="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-utility-1.0.xsd">
    <wsse:UsernameToken wsu:Id="UsernameToken-50">
    <wsse:Username>weblogic</wsse:Username>
    <wsse:Password Type="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-username-token-profile-1.0#PasswordDigest">d2enK45chjBPVvvukbYU6OX56kI=</wsse:Password>
    <wsse:Nonce EncodingType="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-soap-message-security-1.0#Base64Binary">YAhEtLJfp4lzycLd3hZYjQ==</wsse:Nonce>
    <wsu:Created>2013-01-22T06:28:38.897Z</wsu:Created>
    </wsse:UsernameToken>
    </wsse:Security>
    </soapenv:Header>
    Here we need passowrd digest, Nonce and Timestamp.
    How to create password digest from PLSQL? or if any other alternatives available please response soon.

    I do not see why it will not be possible to do digest authentication with a web server using PL/SQL.
    As for the digest password - the web server supplies a token (a nonce) which you need to use for creating the hashed authentication token (the digest password). The URL I posted explains this authentication process.
    As for the technical how-to in PL/SQL - as I mentioned, never had to do this (only dealt with Basic and NTLM authentication thus far). But as other auth methods (such as Microsoft's NTLM) can be implemented, I do not see why digest authentication could not.
    Suggest you spend some time googling for technical articles/sample code on the subject - and try to find specific PL/SQL related sample code too.

  • How to stop frequent keychain login password requests

    This problem is very irritating, I’m getting asked frequently by OS X to enter a keychain login password.  What I’ve read suggests this is related to a problem with Keychain Access.  One explanation says it can be caused by an administrator account password change where the default keychain password does not change, resulting in an inconsistency.  I have NOT changed my account password so I don’t think this is the cause of my problem.
    I’ve also tried using Keychain Access First Aid, but it currently finds no problems.
    In my case, this appears to have started after an upgrade from OS X Mavericks to Yosemite.  When I did the upgrade, the first problem I encountered was Mail stopped working – I was unable to send or receive mail.  I could, however, go to my mail provider at their web site and view mail there just fine.  That problem was resolved by using Keychain Access First Aid - I can now use Apple Mail on my "Air" just fine, but I’m still being inundated with frequent requests to enter a keychain login password.  I get these requests from Mail, AddressBookSourceSync, Messages Agent, Safari, Local Items, CalendarAgent, and com.apple.MailServiceAgent.xpc. 
    Once I enter my login password to 3-5 of these requests, I’m able to continue working on my Macbook Air, however once I close and reopen the lid of my Air, the requests start anew.
    Any help would be greatly appreciated.  Thanks.

    Keychain - OS X Mavericks v10.9.1: Repeated prompts to unlock "Local Items"
    Try  resetting the original keychain.
    Keychain Reset
    Keychain Issues - Resolve  see post by Kappy

  • How to launch an application with elevated administrator account privilege from windows service even if the account has not yet logon

    Here is the case:
    OS environment: Windows 7
    There are two user accounts in my system, standard user "S" and administrator account "A", and there is a windows service running with "Local System" privilege.
    Now i logged-in with account "S", and i want to launch an application with elevated administrator account "A" from that service program, so here is the code snippet:
    int LaunchAppWithElevatedPrivilege (
    LPTSTR lpszUsername, // client to log on
    LPTSTR lpszDomain, // domain of client's account
    LPTSTR lpszPassword, // client's password
    LPTSTR lpCommandLine // command line to execute e.g. L"C:\\windows\\regedit.exe"
    DWORD dwExitCode = 0;
    HANDLE hToken = NULL;
    HANDLE hFullToken = NULL;
    HANDLE hPrimaryFullToken = NULL;
    HANDLE lsa = NULL;
    BOOL bResult = FALSE;
    LUID luid;
    MSV1_0_INTERACTIVE_PROFILE* profile = NULL;
    DWORD err;
    PTOKEN_GROUPS LocalGroups = NULL;
    DWORD dwLength = 0;
    DWORD dwSessionId = 0;
    LPVOID pEnv = NULL;
    DWORD dwCreationFlags = 0;
    PROCESS_INFORMATION pi = {0};
    STARTUPINFO si = {0};
    __try
    if (!LogonUser( lpszUsername,
    lpszDomain,
    lpszPassword,
    LOGON32_LOGON_INTERACTIVE,
    LOGON32_PROVIDER_DEFAULT,
    &hToken))
    LOG_FAILED(L"GetTokenInformation failed!");
    __leave;
    if( !GetTokenInformation(hToken, (TOKEN_INFORMATION_CLASS)19, (VOID*)&hFullToken,
    sizeof(HANDLE), &dwLength))
    LOG_FAILED(L"GetTokenInformation failed!");
    __leave;
    if(!DuplicateTokenEx(hFullToken, MAXIMUM_ALLOWED, NULL,
    SecurityIdentification, TokenPrimary, &hPrimaryFullToken))
    LOG_FAILED(L"DuplicateTokenEx failed!");
    __leave;
    DWORD dwSessionId = 0;
    WTS_SESSION_INFO* sessionInfo = NULL;
    DWORD ndSessionInfoCount;
    bResult = WTSEnumerateSessions(WTS_CURRENT_SERVER_HANDLE, 0, 1, &sessionInfo, &ndSessionInfoCount);
    if (!bResult)
    dwSessionId = WTSGetActiveConsoleSessionId();
    else
    for(unsigned int i=0; i<ndSessionInfoCount; i++)
    if( sessionInfo[i].State == WTSActive )
    dwSessionId = sessionInfo[i].SessionId;
    if(0 == dwSessionId)
    LOG_FAILED(L"Get active session id failed!");
    __leave;
    if(!SetTokenInformation(hPrimaryFullToken, TokenSessionId, &dwSessionId, sizeof(DWORD)))
    LOG_FAILED(L"SetTokenInformation failed!");
    __leave;
    if(CreateEnvironmentBlock(&pEnv, hPrimaryFullToken, FALSE))
    dwCreationFlags |= CREATE_UNICODE_ENVIRONMENT;
    else
    pEnv=NULL;
    if (! ImpersonateLoggedOnUser(hPrimaryFullToken) )
    LOG_FAILED(L"ImpersonateLoggedOnUser failed!");
    __leave;
    si.cb= sizeof(STARTUPINFO);
    si.lpDesktop = L"winsta0\\default";
    bResult = CreateProcessAsUser(
    hPrimaryFullToken, // client's access token
    NULL, // file to execute
    lpCommandLine, // command line
    NULL, // pointer to process SECURITY_ATTRIBUTES
    NULL, // pointer to thread SECURITY_ATTRIBUTES
    FALSE, // handles are not inheritable
    dwCreationFlags, // creation flags
    pEnv, // pointer to new environment block
    NULL, // name of current directory
    &si, // pointer to STARTUPINFO structure
    &pi // receives information about new process
    RevertToSelf();
    if (bResult && pi.hProcess != INVALID_HANDLE_VALUE)
    WaitForSingleObject(pi.hProcess, INFINITE);
    GetExitCodeProcess(pi.hProcess, &dwExitCode);
    else
    LOG_FAILED(L"CreateProcessAsUser failed!");
    __finally
    if (pi.hProcess != INVALID_HANDLE_VALUE)
    CloseHandle(pi.hProcess);
    if (pi.hThread != INVALID_HANDLE_VALUE)
    CloseHandle(pi.hThread);
    if(LocalGroups)
    LocalFree(LocalGroups);
    if(pEnv)
    DestroyEnvironmentBlock(pEnv);
    if(hToken)
    CloseHandle(hToken);
    if(hFullToken)
    CloseHandle(hFullToken);
    if(hPrimaryFullToken)
    CloseHandle(hPrimaryFullToken);
    return dwExitCode;
    I passed in username and password of account "A" to method "LaunchAppWithElevatedPrivilege", and also the application i want to launch, e.g. "C:\windows\regedit.exe", but when i run the service program, i found it do launch
    "regedit.exe" with elevated account "A", but the content of regedit.exe is pure back. screenshot as below:
    Can anyone help me on this?

    You code is not dealing with the DACL access to Winsta0\Default.  Only the LocalSystem account will have full access and the interactively logged on user which is why regedit is not displaying properly.  You'll need to grant access to your user. 
    You also need to deal with UAC since that code is going to give you a non-elevated token via LogonUser().  You need to get the full token via a call to GetTokenInformation() + TokenLinkedToken.
    thanks
    Frank K [MSFT]
    Follow us on Twitter, www.twitter.com/WindowsSDK.

Maybe you are looking for

  • Can I have two Time Capsules and back up to both?

    Would it be possible to have two TC, one at each end of the house and have them share the same network wirelessly? And allow backup to each one independently, so as to have duplicate backups on two units? Thanks, Richard

  • Ipad min problem with Safari connection

    I recently bought an ipad mini.  Whilst away from home I tried to access the internet via Safari and "no internet connection" came up.  What am I doing wrong?

  • QT 7.5.5 AVI to MP4?

    Hello I have converted a AVI to MP4 via QT and there's no sound at all after conversion and why is this? Do I just go back and use VH as usual or is there a way around this Thanks

  • URL Error - Configuring watched folder end point in Adobe LC

    I am trying to configure watched folder end point in Adobe LC and it is giving me below error Invalid url \\server1\PDFLiveCycleFolder. Please check for invalid filename characters in the url.  Same path can be accessed from windows explore. What cou

  • Printing to PDF– printer offline

    I'm trying to print a document to PDF. In the dock is a printer icon labeled Adobe PDF 8.0 @ My Computer When I click on the icon a box opens, showing the cue. It says "Printing '2012 AlumBulletin.indd.' Looking for printer... Printer offline. How do