Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.debian.user > #229662

Re: Guest Samba shares

Path csiph.com!3.eu.feeder.erje.net!feeder.erje.net!newsreader4.netcologne.de!news.netcologne.de!news.mixmin.net!aioe.org!bofh.it!news.nic.it!robomod
From Paul M Foster <paulf@quillandmouse.com>
Newsgroups linux.debian.user
Subject Re: Guest Samba shares
Date Fri, 11 Dec 2020 13:20:01 +0100
Message-ID <BkPyV-4BZ-5@gated-at.bofh.it> (permalink)
References <BkD4J-5e7-1@gated-at.bofh.it> <BkEtP-6bw-1@gated-at.bofh.it> <BkGFj-7ph-3@gated-at.bofh.it> <BkKfT-1hk-3@gated-at.bofh.it>
X-Original-To debian-user@lists.debian.org
X-Mailbox-Line From debian-user-request@lists.debian.org Fri Dec 11 12:19:01 2020
Old-Return-Path <paulf@quillandmouse.com>
X-Amavis-Spam-Status No, score=-7.201 tagged_above=-10000 required=5.3 tests=[BAYES_00=-2, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, LDO_WHITELIST=-5, RCVD_IN_DNSWL_NONE=-0.0001, RCVD_IN_MSPIKE_H2=-0.001] autolearn=ham autolearn_force=no
X-Policyd-Weight using cached result; rate: -3.5
X-Sender-ID dreamhost|x-authsender|paulf@quillandmouse.com
X-Sender-ID dreamhost|x-authsender|paulf@quillandmouse.com
X-Mc-Relay Neutral
X-Mailchannels-Senderid dreamhost|x-authsender|paulf@quillandmouse.com
X-Mailchannels-Auth-ID dreamhost
X-Imminent-Illustrious 3c4387bb49dafa2f_1607689121497_2786515384
X-Mc-Loop-Signature 1607689121496:3062080172
X-Mc-Ingress-Time 1607689121496
Dkim-Signature v=1; a=rsa-sha1; c=relaxed; d=quillandmouse.com; h=date :from:to:subject:message-id:references:mime-version:content-type :in-reply-to; s=quillandmouse.com; bh=Ok0CYuY/+mwjREvC8dxfOxPPe9 U=; b=hPbeEcGzjGBruVoFLurkffeogbE0R7t3G+X1raEN0LmIply56oAY/H5Yw4 Y8Fc03RF3vtyxtpjBBZRDytkUbEdfv4C/c2Rd8Qh4qaeUH7XCHz0/dKm4tAPrxX/ xjjVtxCnik3ESFU0kfkjPtGiOez5VQRxRm5ci4BgP1TS+FJl4=
X-Dh-Backend pdx1-sub0-mail-a70
Mail-Followup-To debian-user@lists.debian.org
MIME-Version 1.0
Content-Type text/plain; charset=us-ascii
Content-Disposition inline
User-Agent Mutt/1.10.1 (2018-07-13)
X-Mailing-List <debian-user@lists.debian.org> archive/latest/770095
List-ID <debian-user.lists.debian.org>
List-URL <https://lists.debian.org/debian-user/>
List-Archive https://lists.debian.org/msgid-search/20201211121838.GE20670@dudley.mars.lan
Approved robomod@news.nic.it
Lines 40
Organization linux.* mail to news gateway
Sender robomod@news.nic.it
X-Original-Date Fri, 11 Dec 2020 07:18:38 -0500
X-Original-Message-ID <20201211121838.GE20670@dudley.mars.lan>
X-Original-References <20201210225317.GA20670@dudley.mars.lan> <rqueak$fko$1@ciao.gmane.io> <20201211024249.GB20670@dudley.mars.lan> <ae3eed31-8521-5fd6-c3b6-7f57bbd55581@gmx.com>
Xref csiph.com linux.debian.user:229662

Show key headers only | View raw


On Fri, Dec 11, 2020 at 05:35:37PM +1100, Keith Bainbridge wrote:

> On 11/12/20 1:42 pm, Paul M Foster wrote:
> > For various reasons, I've set the perms on this mount as 777. Anything
> > on a Raspberry Pi gets mounted in the /media/pi hierarchy by default. I
> > couldn't see a reason to change it, if I set the permissions
> > appropriately.
> 
> G'day Paul
> 
> pi being the default user under raspbian/raspOS. At least with the
> recent installer, you are required to give pi a password. It used be
> that there was a default password, and you had to know to change that
> yourself.
> 
> My 2c worth: as you have already set up a personal user, disable auto
> log-in to user pi and make sure user pi has a strong password.  Having
> user pi available is likely the prime target of any attack, simply
> because it used have a default.
> 
> 
> Once you start logging in as paul, you'll find that automount USB item
> go to /media/paul.
> 
> Keith Bainbridge
> 

On boot, the system only knows paulf as a user. When it boots and mounts
the drive, it mounts it under the pi user. I don't know what wizardry
they use to accomplish this, but that's how it works. I'm not sure what
wizardry is used to make this happen, but I've now enshrined it in the
fstab file. Again, where the drive mounts is incidental to the original
question.

Paul

-- 
Paul M. Foster
http://noferblatz.com
http://quillandmouse.com

Back to linux.debian.user | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread


Thread

Guest Samba shares Paul M Foster <paulf@quillandmouse.com> - 2020-12-11 00:00 +0100
  Re: Guest Samba shares deloptes <deloptes@gmail.com> - 2020-12-11 01:30 +0100
    Re: Guest Samba shares Paul M Foster <paulf@quillandmouse.com> - 2020-12-11 03:50 +0100
      Re: Guest Samba shares Stefan Monnier <monnier@iro.umontreal.ca> - 2020-12-11 04:20 +0100
        Re: Guest Samba shares Paul M Foster <paulf@quillandmouse.com> - 2020-12-11 04:50 +0100
        Re: Guest Samba shares Paul M Foster <paulf@quillandmouse.com> - 2020-12-11 05:50 +0100
          Re: Guest Samba shares john doe <johndoe65534@mail.com> - 2020-12-11 06:20 +0100
      Re: Guest Samba shares Keith Bainbridge <ke1thozgroups@gmx.com> - 2020-12-11 07:40 +0100
        Re: Guest Samba shares Paul M Foster <paulf@quillandmouse.com> - 2020-12-11 13:20 +0100
          [OT] Re: Guest Samba shares David <bouncingcats@gmail.com> - 2020-12-11 23:20 +0100
            Re: [OT] Re: Guest Samba shares Joe <joe@jretrading.com> - 2020-12-12 10:10 +0100
      Re: Guest Samba shares Andrei POPESCU <andreimpopescu@gmail.com> - 2020-12-11 10:20 +0100
        Re: Guest Samba shares Paul M Foster <paulf@quillandmouse.com> - 2020-12-11 13:30 +0100
          Re: Guest Samba shares Andrei POPESCU <andreimpopescu@gmail.com> - 2020-12-11 15:20 +0100
            Re: Guest Samba shares deloptes <deloptes@gmail.com> - 2020-12-11 16:20 +0100
              Re: Guest Samba shares "Andrew M.A. Cater" <amacater@einval.com> - 2020-12-11 18:20 +0100
                Re: Guest Samba shares deloptes <deloptes@gmail.com> - 2020-12-11 20:30 +0100
                Re: Guest Samba shares Keith Bainbridge <ke1thozgroups@gmx.com> - 2020-12-12 00:10 +0100
                Re: Guest Samba shares Keith Bainbridge <ke1thozgroups@gmx.com> - 2020-12-12 00:20 +0100
              Re: Guest Samba shares Paul M Foster <paulf@quillandmouse.com> - 2020-12-11 19:20 +0100
                Re: Guest Samba shares deloptes <deloptes@gmail.com> - 2020-12-11 20:20 +0100
                Re: Guest Samba shares Paul M Foster <paulf@quillandmouse.com> - 2020-12-11 22:40 +0100
                Re: Guest Samba shares Joe <joe@jretrading.com> - 2020-12-11 22:50 +0100
                Re: Guest Samba shares Dan Ritter <dsr@randomstring.org> - 2020-12-11 23:00 +0100
                Re: Guest Samba shares Paul M Foster <paulf@quillandmouse.com> - 2020-12-12 00:00 +0100
                Re: Guest Samba shares Andrei POPESCU <andreimpopescu@gmail.com> - 2020-12-12 09:40 +0100
                Re: Guest Samba shares Keith Bainbridge <ke1thozgroups@gmx.com> - 2020-12-12 00:50 +0100
                Re: Guest Samba shares Dan Ritter <dsr@randomstring.org> - 2020-12-12 15:20 +0100
                Re: Guest Samba shares Paul M Foster <paulf@quillandmouse.com> - 2020-12-12 17:50 +0100
                Re: Guest Samba shares Paul M Foster <paulf@quillandmouse.com> - 2020-12-12 17:40 +0100
                Re: Guest Samba shares Andrei POPESCU <andreimpopescu@gmail.com> - 2020-12-12 20:00 +0100
                Re: Guest Samba shares deloptes <deloptes@gmail.com> - 2020-12-13 00:40 +0100
                Re: Guest Samba shares Keith Bainbridge <ke1thozgroups@gmx.com> - 2020-12-12 00:20 +0100

csiph-web