Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.debian.user > #229678
| From | David <bouncingcats@gmail.com> |
|---|---|
| Newsgroups | linux.debian.user |
| Subject | [OT] Re: Guest Samba shares |
| Date | 2020-12-11 23:20 +0100 |
| Message-ID | <BkYVz-1SF-7@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> <BkPyV-4BZ-5@gated-at.bofh.it> |
| Organization | linux.* mail to news gateway |
On Fri, 11 Dec 2020 at 23:19, Paul M Foster <paulf@quillandmouse.com> wrote: > On Fri, Dec 11, 2020 at 05:35:37PM +1100, Keith Bainbridge wrote: > > On 11/12/20 1:42 pm, Paul M Foster wrote: > 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. In case you don't know, the 'pi' user can be renamed to whatever you want, so that might be an alternative way to reach your goal instead of creating a separate 'paulf' user. Method I used is here: https://raspberrypi.stackexchange.com/a/14902 I used it successfully a while ago on a RPi 4, first release of its OS. Below are my notes from doing that, I don't recall any other information, I did it a while ago and am unaware of any problems. exec sudo -s (now root) cd / usermod -l david -d /home/david -m pi /lib/systemd/systemd --user kill 480 # looks like the above failed until I killed some process and retried usermod -l david -d /home/david -m pi groupmod -n david pi reboot now cant sudo exec sudo -s prompts for david password and accepts it passwd to change david password, accepted
Back to linux.debian.user | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll 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