From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id F16751382C5 for ; Thu, 1 Apr 2021 07:14:07 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id B4EC1E0ADE; Thu, 1 Apr 2021 07:14:02 +0000 (UTC) Received: from EUR04-DB3-obe.outbound.protection.outlook.com (mail-oln040092074022.outbound.protection.outlook.com [40.92.74.22]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id E3726E0AD0 for ; Thu, 1 Apr 2021 07:14:01 +0000 (UTC) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=PQUyF0L/ELD4waBvrtMpYzdBZSGbTs44ASK1i8ZM0VqBSsoXYtxLCf2e1qmpYXbQxnIJm4ddqz13Lv5WdWQ8kxVtKaw1jO5ayQOwhb/ZXJQTWuy97QWVI6vcESNYh317CXDJv1BP4mYX9LeeVH1uwt4I1RbWOHqinZNk5F6ewR4Mns6SLZ01+si29hUwhwz1MswljbmEDDswBXAE5YSSog+RBDR2RaWq4B/yUv0721JPmA5Lm2SM8kEosYjLvV8AZMFjCVheun8VBmgLpM3mUkmXqGCJSY8uX0FlCOrCJ7VhiIpPnQGcTPsKmQjW6VS66Oys/l3qKjferKJ2NH/zew== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=B5z0MU+h9Fk5FV+1vzPquQPOzj/xoBRc6r0KBi9dQhM=; b=LrBu08j2uBDDBYBuf3uWDjJg9G8dMCZD/ZLIF5rAiUYFfddPPxMJe9ObjSdlqkNeZ8FeHitiWrx4r5/1RhZfEZImeYM4/M7pK6f+V9LS2N7Op2EuvkxVeZ+fPinaFLU1IsHdZ/DSDC47V9bOX/nRUF7ftESSUEU6NVYTz1Vbb+bGO4+8rZIyGnqgQTChX+pxeVSU6twGpRLJD3hjnR7MQq410h20PdrRqIy9W5hpLTGtV/NN+OiC+GMkRGSYM3m6OhnpZoHXF4KtV4PKMPu6dc3zAcG4hK9KWrrI3Qrq7qUtYWf8ICexxD8zpAHiSGn79yKBPudN3eIsW9Ht+14Kgw== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=none; dmarc=none; dkim=none; arc=none Received: from HE1EUR04FT022.eop-eur04.prod.protection.outlook.com (2a01:111:e400:7e0d::40) by HE1EUR04HT181.eop-eur04.prod.protection.outlook.com (2a01:111:e400:7e0d::393) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.3977.25; Thu, 1 Apr 2021 07:13:58 +0000 Received: from AM6PR10MB2440.EURPRD10.PROD.OUTLOOK.COM (2a01:111:e400:7e0d::4e) by HE1EUR04FT022.mail.protection.outlook.com (2a01:111:e400:7e0d::281) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.3977.25 via Frontend Transport; Thu, 1 Apr 2021 07:13:58 +0000 X-IncomingTopHeaderMarker: OriginalChecksum:AEABD78E40B196F069B7366B7B76C198ED5867093E8FD5EE4992FC025B241748;UpperCasedChecksum:B67A480A00B2E320E7D4750816E812B4A671158CC7956920A13E57E5F68A25CC;SizeAsReceived:8778;Count:45 Received: from AM6PR10MB2440.EURPRD10.PROD.OUTLOOK.COM ([fe80::9869:bf6b:2ddc:cb0a]) by AM6PR10MB2440.EURPRD10.PROD.OUTLOOK.COM ([fe80::9869:bf6b:2ddc:cb0a%5]) with mapi id 15.20.3955.033; Thu, 1 Apr 2021 07:13:57 +0000 To: gentoo-user@lists.gentoo.org References: <1d823216-2cee-8cec-68d2-c4d5831f04a9@iinet.net.au> From: Ramon Fischer Subject: Re: [gentoo-user] Disable password required to mount removable hard disk. Message-ID: Date: Thu, 1 Apr 2021 09:13:52 +0200 User-Agent: Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1) In-Reply-To: <1d823216-2cee-8cec-68d2-c4d5831f04a9@iinet.net.au> Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="wu5DZbL17JKcBmrIgAdf00jOYLZjWxRUr" X-TMN: [0DeAabcaw1i0m+eASzK7yY/UrgwCKwpmsgw620SLgH3PMlRMfC9P0qNoJIJ2IBI+] X-ClientProxiedBy: AM5P194CA0009.EURP194.PROD.OUTLOOK.COM (2603:10a6:203:8f::19) To AM6PR10MB2440.EURPRD10.PROD.OUTLOOK.COM (2603:10a6:20b:4c::30) X-Microsoft-Original-Message-ID: Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-user@lists.gentoo.org Reply-to: gentoo-user@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply MIME-Version: 1.0 X-MS-Exchange-MessageSentRepresentingType: 1 Received: from [IPv6:2001:4dd6:23c:0:53e1:e9e9:6ef3:e1fa] (2001:4dd6:23c:0:53e1:e9e9:6ef3:e1fa) by AM5P194CA0009.EURP194.PROD.OUTLOOK.COM (2603:10a6:203:8f::19) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.3999.27 via Frontend Transport; Thu, 1 Apr 2021 07:13:57 +0000 X-MS-PublicTrafficType: Email X-IncomingHeaderCount: 45 X-EOPAttributedMessage: 0 X-MS-Office365-Filtering-Correlation-Id: f07bcd9d-1842-44ec-bd53-08d8f4ddb734 X-MS-TrafficTypeDiagnostic: HE1EUR04HT181: X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: J74COD5GwMfS7okKp9TJ6/2xRH22iSl7RYU1EATh3s+zFJ2FMULqxpR+7xhn8PHNr8/lmDWWofRqVFDLQstIfWbCKaXZBEIVG/lw9YKISw2dLIr/3OAqsEqz+RcqtSNikldnbCwVdJ/hPjCc/IoW9d+yqJnDZP/BQ1vt3HgYUT2dhuzoPSsF4xegEvjJMCFwfxDzCtoT9SYeYRYVWX0uYyj7TM/+q+lnYIKzBPmWmTIFLz9etGOoyjNgyKNIELnlILGAhAhbltooq75vZ1Abd/opXnS2DwiHkT75HGsf3J/GqeXtf7+fSebo0hhkldwaQE84TaqxgFLILzizsrYsyONw/wY5Jl9F0L8PG0i8cXjFT1YZKX6YkwTaG6AEN00UOVw+UjakwRCdXU+kCxZ87g== X-MS-Exchange-AntiSpam-MessageData: SxwX8+Y9T9JModsWioJvW7TibmOubAFwQhkfziCGr8dx4FOksus/w50iqgo5xjyfbkqYEdighV+QOio10xQ/O+oqny7OOUFwqfQ5yz59SI7H9IyZKtNywRl7kdklwXaZ0n7xh/nEus5Z7hK5oXcWF7FoyIvCaTq3oW9oj5BeOEB00B/CSurqO7kyr6MKdyt5UQEXGC+xGaMv1t5TMp/XGQ== X-OriginatorOrg: outlook.com X-MS-Exchange-CrossTenant-Network-Message-Id: f07bcd9d-1842-44ec-bd53-08d8f4ddb734 X-MS-Exchange-CrossTenant-OriginalArrivalTime: 01 Apr 2021 07:13:57.6748 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: 84df9e7f-e9f6-40af-b435-aaaaaaaaaaaa X-MS-Exchange-CrossTenant-AuthSource: HE1EUR04FT022.eop-eur04.prod.protection.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Anonymous X-MS-Exchange-CrossTenant-FromEntityHeader: Internet X-MS-Exchange-Transport-CrossTenantHeadersStamped: HE1EUR04HT181 X-Archives-Salt: 2c1eae86-d1cb-4410-9d79-544cf7568093 X-Archives-Hash: f8fa0b3c50539537a1adc52dcabc333d --wu5DZbL17JKcBmrIgAdf00jOYLZjWxRUr Content-Type: multipart/mixed; boundary="cayDA6CJWmNB96ogYOqPjgvylLEoCNRVC"; protected-headers="v1" From: Ramon Fischer To: gentoo-user@lists.gentoo.org Message-ID: Subject: Re: [gentoo-user] Disable password required to mount removable hard disk. References: <1d823216-2cee-8cec-68d2-c4d5831f04a9@iinet.net.au> In-Reply-To: <1d823216-2cee-8cec-68d2-c4d5831f04a9@iinet.net.au> --cayDA6CJWmNB96ogYOqPjgvylLEoCNRVC Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: quoted-printable Content-Language: en-US Hello BillK, I guess, that you are looking for the mount option "user": /etc/fstab /dev/sdx =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 / =C2=A0= =C2=A0=C2=A0=C2=A0=C2=A0 ext4 noauto,user,relatime 0=C2=A0=C2=A0=C2=A0=C2= =A0=C2=A0=C2=A0 2 In this way, I can mount "/dev/sdx" with an unprivileged user: $ mount / See also "man 8 mount" ("Non-superuser mounts"). I am not sure, if this also works with "automount" from "net-fs/autofs", = if this is what you meant with "automounter". -Ramon On 01/04/2021 06:51, William Kenworthy wrote: > Hi, > > =C2=A0=C2=A0=C2=A0=C2=A0 I use a sata drive caddy with 2Tb hard disks = for offline backups. > Almost everytime (within sessions are ok?) it asks for a password befor= e > automounting.=C2=A0 This is just annoying and has no security benefit i= n my > environment (why just hard disks when USB keys and SD cards don't ask > for one?). > > So, how can I disable the automounter asking for a password either in > general, or just for my backup drives? > > BillK > > > --=20 GPG public key: 5983 98DA 5F4D A464 38FD CF87 155B E264 13E6 99BF --cayDA6CJWmNB96ogYOqPjgvylLEoCNRVC-- --wu5DZbL17JKcBmrIgAdf00jOYLZjWxRUr Content-Type: application/pgp-signature; name="OpenPGP_signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="OpenPGP_signature" -----BEGIN PGP SIGNATURE----- wsF5BAABCAAjFiEEWYOY2l9NpGQ4/c+HFVviZBPmmb8FAmBlcrAFAwAAAAAACgkQFVviZBPmmb9/ Bw//ZFs7AX0OLlv5eYOZ8h9HMmN7m/Jg1uk/4bD6DJIP4zdu4EaAqtej59bLkHK50hwe+22Tp7Au XUusfTReuC7qn9Xo8mLYIrqQTE4zia+X95S2jmRvIGaZxgYxVn68ElfReq39csAm9nWpnikPDZBF ciESRK1cFxsCUZhHxf3arYZ4KsejLAJ90W0dQt1kyfUZTvaXi8EWRRGbvPUjlMcVU5QRTho6cyK5 9QzGYzTQMUosgQy09MSU5yfCLyfLAyb0AD0p9+T5efeW2DzLqXeA/NCLfkfOLZZrgUdSeVI/Hf02 yr/YhORBSJQIvKE06b0N0cpChnz1JouPY3HJOuNzDjBJp2oZsBIyARThj+Q5rY/bSqKLQZ6iga7u juDTlRFjrHwH4VUDJpuUtqX80ganIcjO8dxPY2ssF+sRAt26PNfBFI6kCy2a2voE+GT6Xj6f/43S EUlYBVRi1YPNYtAgs7mJunZLSlHrwblQ5Er6RZcaFM+z4NsesQGdWlypgt30Bw9rp5z2hEL5G/P+ m2OjwRg0l8zGKFUQZdg8tmhCEjAy69gBuQXsthvtVi2gFwPc1iosjqof6PnIf7mZ6HMtjgFqSXA+ J43qY5BYQdvYhRUWHFJ2qcNZVvzD4WV4DYQltT+uMzm4ZKr02wxLrXytCpvz7Jg47aTO3qnpPh+o iyI= =V0oP -----END PGP SIGNATURE----- --wu5DZbL17JKcBmrIgAdf00jOYLZjWxRUr--