[SOLVED]How to make udisksctl unmount without prompting for a password

A while ago I pretty much started using commandline for just about everything with file management, to the point where I don't have a file manager installed.  The only problem I've had is that I got tired of manually mounting USBs and I read that fstab was not the proper way to do it.  So I looked into udisks and installed it.  It works wonderfully, except every time I want to unmount a USB I have to type in my password.  I find this rather irritating seeing as I have a button on my keyboard for just that, but it won't work since I can't bind it and enter my password.  Is there any way I can make udisks not require a password?
Edit: Because it seems unclear, at this current point, when I plug in a USB it mounts to my /mnt folder.  When I try this command:
udisksctl unmount -b /dev/sdc1
It asks for a password.  I just need to make it go automatically.
Also, I meant fstab when I typed cfdisk.  My mistake.
Last edited by Dornith (2014-05-13 16:10:47)

berbae wrote:Does the option '--no-user-interaction' prevent the authentication dialog from appearing in your case?
I tried that and got this error:
Error unmounting /dev/sdc1: GDBus.Error:org.freedesktop.UDisks2.Error.NotAuthorizedCanObtain: Not authorized to perform operation
berbae wrote:Do you mount external or internal block device file systems?
External.  This is all for USB flash memory drives.

Similar Messages

  • Invoke Adobe reader in BB10, how to open encrypted files without prompting for password.

    Hello All,
    I am developing a BB10 application that invokes Adobe Reader as a card for viewing my encrypted pdf books, all books have the same password and I don't want to expose the password to the users to prevent copying copyrighted books. Is it possible to pass the password as parameter when invoking Adobe reader ? if not, is there a trick that can be used to prevent the user from using the options "Share" and "Save As" in card-invoked Adobe reader ?
    Thanks to all.
    Mohanad

    PS Touch can't open PSDs locally. They have to be imported via Creative Cloud (and even then, they are flattened when imported).
    I imagine this was a "quality of life" decision since PS Touch can only support up to 16 layers in a particular project. That and maybe the fact that Photoshop (and Photoshop Elements) can use layer masks, which PS Touch doesn't presently have.

  • How to stop the system to ask for a password

    How to make the system from asking for a password for every installation???

    You can't do that.  Apple is very careful to make sure that only an authorized person does installations.

  • How do I prevent auto-login? I never EVER save passwords, yet FF logs me into gmail without prompting for login.

    I never save passwords - never have, never will. Using evil IE, Gmail works correctly in that it prompts me for ID and password for each new browser instance. Yet when I open gmail with FF, it goes straight to my inbox without prompting for ID or password. I use gmail in "always secure" mode. Cookies are enabled, of course, just did not expect my password to be saved and loaded from a cookie. How can I rectify this problem?
    == This happened ==
    Every time Firefox opened

    I have this issue too. I have never asked to be "always signed in" with gmail, yet sometimes it will sign me in automatically when I open my Firefox browser. I try clearing everything I can clear ( even though I've said NOT to save my password or sign in automatically), but it still happens. It's not even consistent - sometimes it will happen and sometimes not. This is very frustrating. I share my computer and I do not want automatic sign in anytime! >:o(

  • How to make a redirect without auto-redirect from the portlet "edit" mode?

    How to make a redirect without auto-redirect from the portlet "edit" mode?
    I use some sofisticated customizing with server-side validation of the form data. I want to redirect to the page of the portlet "show" mode and to the "edit" mode depending on the validation results. How can I do it?

    Heay.....this worked for me.
    I am able to change the mode programatically from edit to show.
    HttpPortletRendererUtil.handleEditAction(portletRenderRequest,"OK");
    I removed Apply , OK and Cancel buttons and applied my own Submit and Back button in Personalize mode and then change the mode to show on click of Back button using the above mentioned statement.
    Thanks
    ~Neeraj Sidhaye
    Try_Catch_Finally @ Y !
    ExtremePortal @ Gmail Dot Com

  • How to make things fly without a greenscreen in Motion 5

    How to make things fly without a greenscreen in Motion 5

    green-screen = color-key is just one method to 'punch out' the wanted parts of a pic from the unwanted.
    other methods:
    • luma-key: object is in front of a plain black (or white) background ...
    • alpha-key: 'object' is a computer-generated image, rendered with an alpha-key
    • rotoscoping: you mask the the object by hand from the unwanted parts.
    ...and 'fly' is just key-framing the scenery so it looks like the object is hovering over all .........
    very unspecific question, hm?

  • Dot1x - network access without prompting for password

    Dear all,
    I have a customer with wired dot1x which appears to no longer prompt for user authentication. The topology is a Radius server, Cat2950 switch and Windows XP clients. Recently, we have discovered that the PCs are not prompting for authentication and users are getting straight onto the network.
    When I delete the Windows registry entry
    HKEY_CURRENT_USER-Software-Microsoft-EAPOL- UserEupInfo
    I am again prompted for the username/password and the registry entry is added back in.
    Does anyone know how I can get the PC to always prompt for username/password without having to edit the registry each time?
    Many thanks in advance,
    Tracey

    Tracy,
    I don't have an answer to your question but I am tyring to do exactly what you have already done.(getting 802.1x working with xp client to acs server) Can you e-mail me the configs you used (client, switch acs)I am also working with tac but are not making progress. One thing i notice is that the switch port I am using is yellow and shows up down. is this normal behavior when the port is configured for 802.1x?
    Thanks, Tom [email protected]

  • How to make F7,F8,F10 disabled for security?

    Hi alll,
    Pls can any boady tell me ; how to make F7,F8,F10 disabled for security purposes?
    Abdetu.

    Hello Gerd
    Thanks for reply,
    i made a search for the file u mentioned
    FMRWEB; i found it on path C:\orant\FORMS60
    having the following :
    # FMRWEB.RES is the key definition file for webforms. The syntax is:
    # JFN : JMN : URKS : FFN : URFD (whitespace ignored)
    # JFN = Java function number
    # JMN = Java modifiers number
    # URKS = User-readable key sequence (double-quoted)
    # FFN = Forms function number
    # URFD = User-readable function description (double-quoted)
    # JAVA FUNCTION NUMBER
    # 33 = PageUp
    # 34 = PageDown
    # 35 = End
    # 36 = Home
    # 37 = LeftArrow
    # 38 = UpArrow
    # 39 = RightArrow
    # 40 = DownArrow
    # 65 - 90 = Ctrl+A thru Ctrl+Z (These will always have the control
    # modifier explicitly included, as well as any other
    # modifiers that might be used.)
    # 112 - 123 = F1 thru F12
    # 9 = Tab (Ctrl+I, without the control modifier)
    # 10 = Return (Ctrl+J, without the control modifier)
    # JAVA MODIFIERS NUMBER
    # Equal to the sum of the values for the modifier keys:
    # 0 = None
    # 1 = Shift
    # 2 = Control
    # 4 = Meta
    # 8 = Alt
    # FORMS FUNCTION NUMBER
    # The Forms function numbers match the function numbers found in a
    # typical Forms key binding file.
    # USER-READABLE STRINGS
    # The double-quoted strings appear when users click [Show Keys], and
    # are used for this purpose only. These strings can be translated as
    # needed. Note that the strings do not affect what actually happens
    # when end users press a particular key sequence.
    9 : 0 : "Tab" : 1 : "Next Field"
    9 : 1 : "Shift+Tab" : 2 : "Previous Field"
    116 : 0 : "F5" : 3 : "Clear Field"
    38 : 0 : "Up" : 6 : "Up"
    40 : 0 : "Down" : 7 : "Down"
    33 : 0 : "PageUp" : 12 : "Scroll Up"
    34 : 0 : "PageDown" : 13 : "Scroll Down"
    69 : 2 : "Ctrl+E" : 22 : "Edit"
    10 : 0 : "Return" : 27 : "Return"
    76 : 2 : "Ctrl+L" : 29 : "List of Values"
    115 : 0 : "F4" : 32 : "Exit"
    75 : 2 : "Ctrl+K" : 35 : "Show Keys"
    83 : 2 : "Ctrl+S" : 36 : "Commit"
    118 : 1 : "Shift+F7" : 61 : "Next Primary Key"
    117 : 0 : "F6" : 62 : "Clear Record"
    38 : 2 : "Ctrl+Up" : 63 : "Delete Record"
    117 : 1 : "Shift+F6" : 64 : "Duplicate Record"
    40 : 2 : "Ctrl+Down" : 65 : "Insert Record"
    119 : 1 : "Shift+F8" : 66 : "Next Set of Records"
    1005 : 0 : "Down" : 67 : "Next Record"
    1004 : 0 : "Up" : 68 : "Previous Record"
    118 : 0 : "F7" : 69 : "Clear Block"
    66 : 2 : "Ctrl+B" : 70 : "Block Menu"
    34 : 1 : "Shift+PageDown" : 71 : "Next Block"
    33 : 1 : "Shift+PageUp" : 72 : "Previous Block"
    116 : 1 : "Shift+F5" : 73 : "Duplicate Field"
    119 : 0 : "F8" : 74 : "Clear Form"
    122 : 0 : "F11" : 76 : "Enter Query"
    122 : 2 : "Ctrl+F11" : 77 : "Execute Query"
    69 : 3 : "Shift+Ctrl+E" : 78 : "Display Error"
    80 : 2 : "Ctrl+P" : 79 : "Print"
    123 : 0 : "F12" : 80 : "Count Query"
    85 : 2 : "Ctrl+U" : 81 : "Update Record"
    121 : 3 : "Shift+Ctrl+F10" : 82 : "Function 0"
    112 : 3 : "Shift+Ctrl+F1" : 83 : "Function 1"
    113 : 3 : "Shift+Ctrl+F2" : 84 : "Function 2"
    114 : 3 : "Shift+Ctrl+F3" : 85 : "Function 3"
    115 : 3 : "Shift+Ctrl+F4" : 86 : "Function 4"
    116 : 3 : "Shift+Ctrl+F5" : 87 : "Function 5"
    117 : 3 : "Shift+Ctrl+F6" : 88 : "Function 6"
    118 : 3 : "Shift+Ctrl+F7" : 89 : "Function 7"
    119 : 3 : "Shift+Ctrl+F8" : 90 : "Function 8"
    120 : 3 : "Shift+Ctrl+F9" : 91 : "Function 9"
    113 : 0 : "F2" : 95 : "List Tab Pages"
    72 : 2 : "Ctrl+H" : 30 : "Help"
    ------------------------------------end of file-----------------------------------------
    Now if this is the file i have How can i make F7,F8,F10 disabled for security?
    can u clarify to me how can handle this,i am afraid i may do something wrong..!!!
    But how do you want to commit without the shortcut?? What do u mean by a shortcut..?
    Thanks in advance..
    Regards,
    Abdetu.

  • I cannot remove songs from iCloud - how can I do it without paying for iTune match subscription?

    I cannot remove songs from iCloud - how can I do it without paying for iTune match subscription? Different answers in this forum make it iTune match enabled. But enabling iTune match cost me $24. Help please.

    You are correct, you cannot delete songs from iTunes in the Cloud. This is where all of your purchases are permanently stored so if you want to re-download something you can. Sometimes purchases will no longer be available, if the merchant pulls them from the iTunes store, but for the most part, all of your past purchases will remain in iTunes in the Cloud.
    This has absolutely nothing to do with iTunes Match.
    What is the issue you are experiencing?
    Cheers,
    GB

  • How can I set my iphone to prompt for a password when viewing a selected email account?

    I can see a lot of people complaining about adhoc password entry when using email but nothing where people actually want to be prompted for a password.  If I have multiple email accounts and a phone where others can pick up and enter the top level security 4 digit number, I would like one of the email accounts to be slightly more secure than the others, hence need it to prompt for a password.  Does anybody have any ideas how I can do this?

    Sorry, there is no way to do this in the current iOS. Suggest such to Apple here:
    http://www.apple.com/feedback/iphone.html

  • After I downloaded the new version of iTunes 11.0.1 and i try to open it it says: ''There is no application set to open the document ''iTunes 11.0.1.dmg.part''. How can i install this without paying for an app to do it?

    After I downloaded the new version of iTunes 11.0.1 and i try to open it it says: ''There is no application set to open the document ''iTunes 11.0.1.dmg.part''. How can i install this without paying for an app to do it? What apps can i download to do this type of work.

    .dmg.part is not a complete file..  It usually indicates that the entire file has not been downloaded yet.  Are you sure you downloaded the entire file?   (i recommend updating itunes through  > Software Update
    Alternatively, you can download it from here: http://support.apple.com/kb/DL1614

  • How to make Add to Favorites Option for website?

    Please Advice how to make Add to Favorites Option for the
    Website.
    Appreciated
    Thank You

    http://www.adobe.com/cfusion/webforums/forum/messageview.cfm?forumid=12&catid=189&threadid =1191543&highlight_key=y&keyword1=favorites

  • I am trying to update my apps. When it prompts for my password my old deleted email address comes up. I don't even rember the password for that old email. How can I get to update my apps with my current email?

    I am trying to update my apps. When it prompts for my password my old deleted email address comes up. I don't even rember the password for that old email. How can I get to update my apps with my current email?

    All apps are tied to the Apple ID they are purchased with and is not transferable.
    Delete app and download app with your new Apple ID.

  • How to make a Colorful Gif Image for Holi

    How to make a colorful Gif Image for Happy Holi 2014

    Okay, I know this doesn't answer your question, but don't get me wrong. A logo is meant to be the way it was designed - upright, no flipping/ swiveling animation. Why exactly do you want to let your logo turn around?
    If its to grab attention, why dont you consider animating the area on which your logo sits (header)? Or maybe add nice transitive slideshows on your main content area to add more interactivity?

  • I need to download LR5 again; how do I do this without paying for it again?

    I need to download LR5 again; how do I do this without paying for it again?
    I had to uninstall due to an error that kept on appearing after I updated to 5.3 (the error is a 0xc000007b error).

    You can go to Adobe's website and download the free trial, and then enter your serial number
    however, downlaoding again is not necessary. You can use the same disk/download that you used before to install LR.
    The 0xc000007b error is fixable via http://helpx.adobe.com/lightroom/kb/error-unable-start-correctly-0xc00007b.html

Maybe you are looking for

  • Button Not Working On Website

    I am somewhat new to Flash and have been teaching myself through tutorials. I am working with Flash CS6 and have created a movie and exported it as an SWF onto my website. In the testing area in the program it works and the buttons link to the web pa

  • Formatting / Styling the Submit button

    Looking to see if its possible to customise the the submit button - either as input image or via css. Also looking to see if it is possible to control the postion of the submit button - right, left, centered.

  • SAP variables via XMLA

    Hi Experts, I would like to know how to retrieve SAP BW variables via XMLA. Full points will be assigned. Thanks, Sapna

  • Central or Distributed Controllers?

    Hi,   I'm looking at a network for a firm with around 20 branches, plus a HQ. At the moment, all sites are dependant on wireless, and all are using basic Belkin APs, individually configured.   I would like something a little more robust, so I am look

  • How To: Upgrading from Windows XP to Windows 7 pro

    I upgrades from windows 7 home to windows 7 pro. I could not use the anytime upgrade option, so I did a full install I had a problem that I notice is common for many people, I came up missing drivers for my lan and wifi cards among others, I followed