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


Groups > linux.debian.user > #229662

Re: Guest Samba shares

From Paul M Foster <paulf@quillandmouse.com>
Newsgroups linux.debian.user
Subject Re: Guest Samba shares
Date 2020-12-11 13:20 +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>
Organization linux.* mail to news gateway

Show all headers | 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