Re: firewalls

2020-08-04 Thread mick crane
On 2020-08-05 00:51, Dan Ritter wrote: mick crane wrote: I've never really understood firewalls. I think the idea is that they don't let anything in that wasn't requested but if you go on a website there are so many hundreds of scripts looking at this and that who knows what happens. I notic

Re: [OT] sudo: restrict to physical console only?

2020-08-04 Thread Reco
Hi. On Tue, Aug 04, 2020 at 04:20:58PM -0400, Dan Ritter wrote: > Reco wrote: > > On Tue, Aug 04, 2020 at 09:47:24AM +0200, Marco M?ller wrote: > > > Is it possible (how?) to restrict a user to only be allowed to make use > > > of its sudo usage permission if working at the physical cons

Re: delimiters with more than one character? ...

2020-08-04 Thread John Crawley
On 2020-07-14 21:52, Albretch Mueller wrote: I have a string delimited by two characters: "\|" _S=" 34 + 45 \| abc \| 1 2 3 \| c\|123abc " which then I need to turn into a array looking like: _S_AR=( " 34 + 45" " abc" " 1 2 3" " c" "123abc" ) Is it possible to do such things in ba

Announcing the version 1.0 hexpeek release!

2020-08-04 Thread hexpeek
-BEGIN PGP SIGNED MESSAGE- Hash: SHA512 Announcing the version 1.0 hexpeek release! I am pleased to announce the first stable release of hexpeek, which seeks to be an efficient, powerful, and portable hex editor for files of all kinds and sizes. This release improves on the beta release

Re: Homebuilt NAS Advice

2020-08-04 Thread Leslie Rhorer
On 8/4/2020 10:18 AM, Andrei POPESCU wrote: On Ma, 04 aug 20, 01:17:13, deloptes wrote: I don't backup music and video - too big and not changing. The raid is enough for that. I'm guessing it depends on the music and videos. If you made them yourself they are basically irreplaceable and RAID

Re: Homebuilt NAS Advice

2020-08-04 Thread Leslie Rhorer
On 8/4/2020 8:52 AM, Celejar wrote: On Tue, 4 Aug 2020 10:26:32 +0100 Jonathan Dowland wrote: On Tue, Aug 04, 2020 at 01:32:24AM -0700, David Christensen wrote: jdupes looks interesting, and should work on any file system that supports hard links. I expect BorgBackup either calls jdupes or i

Debian-Live-10.5.0 'Buster'-GNOME-nonfree.iso Installation failed.

2020-08-04 Thread Tzion cole
Respected sir/madam, I downloaded Debian-Live-10.5.0-Gnome-nonfree.iso From official website. And Made a live usb stick using RUFUS 3.11. When I boot from stick to live session from the boot menu. It gave me `/vmimage error. So I directly went with the graphical Installation. All things went well

Re: Homebuilt NAS Advice

2020-08-04 Thread Leslie Rhorer
On 8/3/2020 6:17 PM, deloptes wrote: Leslie Rhorer wrote: My main server's data is backed up every morning by a nearly identical backup server using rsync, which in turn is backed up in its entirety on a multi-volume offline, off-site hard drive set using DAR every few months.  All the boot sys

Re: firewalls

2020-08-04 Thread riveravaldez
On 8/4/20, Dan Ritter wrote: > mick crane wrote: >> I've never really understood firewalls. I think the idea is that they >> don't >> let anything in that wasn't requested but if you go on a website there >> are >> so many hundreds of scripts looking at this and that who knows what >> happens. > >

Re: firewalls

2020-08-04 Thread Dan Ritter
mick crane wrote: > I've never really understood firewalls. I think the idea is that they don't > let anything in that wasn't requested but if you go on a website there are > so many hundreds of scripts looking at this and that who knows what happens. I notice you didn't ask a question, but I'll

Re: firewalls

2020-08-04 Thread deloptes
mick crane wrote: > I've never really understood firewalls. I think the idea is that they > don't let anything in that wasn't requested but if you go on a website > there are so many hundreds of scripts looking at this and that who knows > what happens. this is a good point :) especially with a b

firewalls

2020-08-04 Thread mick crane
I've never really understood firewalls. I think the idea is that they don't let anything in that wasn't requested but if you go on a website there are so many hundreds of scripts looking at this and that who knows what happens. mick -- Key ID4BFEBB31

Re: [OT] sudo: restrict to physical console only?

2020-08-04 Thread Dan Ritter
Reco wrote: > Hi. > > On Tue, Aug 04, 2020 at 09:47:24AM +0200, Marco M?ller wrote: > > Is it possible (how?) to restrict a user to only be allowed to make use of > > its sudo usage permission if working at the physical console, not granting > > to this > > user sudo permission when i.e.

Re: PATH question

2020-08-04 Thread Gene Heskett
On Tuesday 04 August 2020 15:46:05 Gene Heskett wrote: > On Tuesday 04 August 2020 14:57:49 Greg Wooledge wrote: > > On Tue, Aug 04, 2020 at 02:49:00PM -0400, Gene Heskett wrote: > > > > If so, are you logging in via sddm, > > > > which is what KDE on Debian normally uses? > > > > > > probably not

Re: PATH question

2020-08-04 Thread Gene Heskett
On Tuesday 04 August 2020 14:57:49 Greg Wooledge wrote: > On Tue, Aug 04, 2020 at 02:49:00PM -0400, Gene Heskett wrote: > > > If so, are you logging in via sddm, > > > which is what KDE on Debian normally uses? > > > > probably not, but I'm talking about my own shell, which is probably > > started

Re: [OT] Remote SSH (dynamic IP) without third-party server

2020-08-04 Thread Gene Heskett
On Tuesday 04 August 2020 12:43:58 Curt wrote: > On 2020-08-01, riveravaldez wrote: > > Is this possible? > > > > Hi, to clarify: I would like to connect to a remote home-machine > > (dynamic IP) through SSH session but without using a third-party > > server (free or paid), just with software run

Re: PATH question

2020-08-04 Thread Greg Wooledge
On Tue, Aug 04, 2020 at 02:49:00PM -0400, Gene Heskett wrote: > > If so, are you logging in via sddm, > > which is what KDE on Debian normally uses? > probably not, but I'm talking about my own shell, which is probably > started by the tde version of lightdm. So you've configured lightdm to perf

Re: PATH question

2020-08-04 Thread Gene Heskett
On Tuesday 04 August 2020 12:34:21 Greg Wooledge wrote: > On Tue, Aug 04, 2020 at 12:25:11PM -0400, Gene Heskett wrote: > > I just created a /home/me/AppImage directory, moved some appimages > > into it, and added another stanza to add that to my .profile. Do I > > have to logout the 15 processes

Re: [OT] sudo: restrict to physical console only?

2020-08-04 Thread Reco
Hi. On Tue, Aug 04, 2020 at 09:47:24AM +0200, Marco Möller wrote: > Is it possible (how?) to restrict a user to only be allowed to make use of > its sudo usage permission if working at the physical console, not granting to > this > user sudo permission when i.e. logged in via ssh? To kee

Re: Lenovo S205 boot

2020-08-04 Thread Russell L. Harris
On Tue, Aug 04, 2020 at 07:04:13PM +0200, Sven Hoexter wrote: so far I can only confirm that the grub installation fails with both stable and testing. It seems something is at odds with writing the efivars. I did not yet get around to try again if I can switch the installation back to using grub-

Re: [OT] Remote SSH (dynamic IP) without third-party server

2020-08-04 Thread Charles Curley
On Mon, 3 Aug 2020 21:05:57 -0500 David Wright wrote: > How do you keep this set of dynamic DNS providers informed each time > your home's IP address changes, bearing in mind nobody's at home? I do that with ddclient. Run: apt show ddclient You may want to ensure that ddclient supports the ddn

Re: [OT] Remote SSH (dynamic IP) without third-party server

2020-08-04 Thread Curt
On 2020-08-01, riveravaldez wrote: > Is this possible? > > Hi, to clarify: I would like to connect to a remote home-machine > (dynamic IP) through SSH session but without using a third-party > server (free or paid), just with software running in both machines. If the client machine (the one from

Re: Lenovo S205 boot

2020-08-04 Thread Sven Hoexter
On Thu, Jul 30, 2020 at 10:04:18AM +0200, Sven Hoexter wrote: > On Thu, Jul 30, 2020 at 04:38:20AM +, Russell L. Harris wrote: > > On an older Lenovo S205 on which I never have managed to get Debian > > running, I did a netinstall of > > debian-bullseye-DI-alpha2-amd64-netinst.iso > > Uh it's

Re: [OT] sudo: restrict to physical console only?

2020-08-04 Thread tomas
On Tue, Aug 04, 2020 at 10:24:16AM -0500, John Hasler wrote: > tomas writes: > > OTOH practice has shown: if you're doing sudo, you will have forgotten > > your root password anyway when you need it (I have, it's some horrible > > "pwgen -n 16" or something), and it' back to... > > It should be wr

Re: [OT] sudo: restrict to physical console only?

2020-08-04 Thread Andy Smith
Hi Marco, On Tue, Aug 04, 2020 at 09:47:24AM +0200, Marco Möller wrote: > Is it possible (how?) to restrict a user to only be allowed to make use of > its sudo usage permission if working at the physical console, not granting > to this user sudo permission when i.e. logged in via ssh? I was intri

Re: PATH question

2020-08-04 Thread Greg Wooledge
On Tue, Aug 04, 2020 at 12:25:11PM -0400, Gene Heskett wrote: > I just created a /home/me/AppImage directory, moved some appimages into > it, and added another stanza to add that to my .profile. Do I have to > logout the 15 processes or so I have running now and effectively restart > the system

PATH question

2020-08-04 Thread Gene Heskett
Greeting all; This box is on stretch. I just created a /home/me/AppImage directory, moved some appimages into it, and added another stanza to add that to my .profile. Do I have to logout the 15 processes or so I have running now and effectively restart the system to make that path take effect?

Re: Python 3 Segmentation Fault

2020-08-04 Thread Cindy Sue Causey
On 8/4/20, J.Arun Mani wrote: > Hello. > I'm using Debian Testing (upgraded from Debian 10). Today I started Python > 3, but it was not able to interpret any commands from stdin and resulted in > Segmentation Fault. Luckily modules (python3 -m ) and files (python3 > ) works fine though. > > Observ

Re: Python 3 Segmentation Fault

2020-08-04 Thread Kushal Kumaran
"J.Arun Mani" writes: > Hello. > I'm using Debian Testing (upgraded from Debian 10). Today I started > Python 3, but it was not able to interpret any commands from stdin and > resulted in Segmentation Fault. Luckily modules (python3 -m ) > and files (python3 ) works fine though. > > Observed: > $

Re: [OT] Remote SSH (dynamic IP) without third-party server

2020-08-04 Thread Andrei POPESCU
On Vi, 31 iul 20, 23:03:07, riveravaldez wrote: > Is this possible? > > Hi, to clarify: I would like to connect to a remote home-machine > (dynamic IP) through SSH session but without using a third-party > server (free or paid), just with software running in both machines. If both ends are more o

Multiple keyboard layouts on the Linux console

2020-08-04 Thread Nicolas George
Hi. Some time ago, I explained here how to use different keyboard layouts with X11. https://lists.debian.org/debian-user/2020/02/msg00755.html Now I will explain how to do it with the Linux console. Unfortunately, it also relies on a non-standard tool. The use-case I will take as an example is

Re: [OT] Remote SSH (dynamic IP) without third-party server

2020-08-04 Thread Andrei POPESCU
On Ma, 04 aug 20, 15:57:43, MAS Jean-Louis wrote: > Le 01/08/2020 à 04:03, riveravaldez a écrit : > > Is this possible? > > > If there's any other simpler way (that doesn't imply the use of any > > third party) please let me know, I could use anything that works. > > IPv4 address are becoming rar

Re: [OT] sudo: restrict to physical console only?

2020-08-04 Thread John Hasler
tomas writes: > OTOH practice has shown: if you're doing sudo, you will have forgotten > your root password anyway when you need it (I have, it's some horrible > "pwgen -n 16" or something), and it' back to... It should be written down somewhere secure. Depending on your threat model this can be

Re: Homebuilt NAS Advice

2020-08-04 Thread Andrei POPESCU
On Ma, 04 aug 20, 01:17:13, deloptes wrote: > > I don't backup music and video - too big and not changing. The raid is > enough for that. I'm guessing it depends on the music and videos. If you made them yourself they are basically irreplaceable and RAID will replicate any bitrot to the other

Python 3 Segmentation Fault

2020-08-04 Thread J.Arun Mani
Hello. I'm using Debian Testing (upgraded from Debian 10). Today I started Python 3, but it was not able to interpret any commands from stdin and resulted in Segmentation Fault. Luckily modules (python3 -m ) and files (python3 ) works fine though. Observed: $ python3 Python 3.8.3rc1 (default, A

Upgraded stretch to buster, not booting

2020-08-04 Thread Joe
This is an Acer netbook, a year or two old, no legacy BIOS, bought with Win10 installed. It has a hardwired SSD designated mmcblk0 and I installed another SSD which is /dev/sda. Stretch installed with no problem, and gives me a Windows entry in its menu. It's been OK for about 18 months, so I tho

Re: [OT] sudo: restrict to physical console only?

2020-08-04 Thread Michael Stone
On Tue, Aug 04, 2020 at 04:09:30PM +0200, Marco Möller wrote: The idea of Tomas to look in /etc/sudoers.conf for something like 'requiretty' sounds promising. I will need a couple of days to read and learn about this and then testing it. That won't work. Anything that's based on identifying a

Re: Homebuilt NAS Advice

2020-08-04 Thread Stefan Monnier
> "To actually perform the repository-wide deduplication, a hash of each > chunk is checked against the chunks cache, which is a hash-table of all > chunks that already exist." > > https://borgbackup.readthedocs.io/en/stable/internals.html Same approach as used in `bup` (which all come from `rsync

Re: [OT] Remote SSH (dynamic IP) without third-party server

2020-08-04 Thread Michael Stone
On Tue, Aug 04, 2020 at 03:57:43PM +0200, MAS Jean-Louis wrote: IPv4 address are becoming rare, and expensive for ISP. IPv6 is free, and plenty Maybe where you are, definitely not where I am. just ask for a public IPv6 address My ISP is 10 years into a 2 year plan to make them available. P

Re: [OT] sudo: restrict to physical console only?

2020-08-04 Thread Marco Möller
On 04.08.20 15:50, Henning Follmann wrote: On Tue, Aug 04, 2020 at 11:44:04AM +0200, Marco Möller wrote: On 04.08.20 10:59, to...@tuxteam.de wrote: On Tue, Aug 04, 2020 at 09:47:24AM +0200, Marco Möller wrote: Is it possible (how?) to restrict a user to only be allowed to make use of its sudo

Re: [OT] Remote SSH (dynamic IP) without third-party server

2020-08-04 Thread Celejar
On Mon, 3 Aug 2020 22:52:58 -0500 David Wright wrote: > On Mon 03 Aug 2020 at 22:15:25 (-0400), Stefan Monnier wrote: > > > How do you keep this set of dynamic DNS providers informed each time > > > your home's IP address changes, bearing in mind nobody's at home? > > > > It's called a "dynamic

Re: [OT] Remote SSH (dynamic IP) without third-party server

2020-08-04 Thread MAS Jean-Louis
Le 01/08/2020 à 04:03, riveravaldez a écrit : > Is this possible? > If there's any other simpler way (that doesn't imply the use of any > third party) please let me know, I could use anything that works. IPv4 address are becoming rare, and expensive for ISP. IPv6 is free, and plenty just ask for

Re: Homebuilt NAS Advice

2020-08-04 Thread Celejar
On Tue, 4 Aug 2020 10:26:32 +0100 Jonathan Dowland wrote: > On Tue, Aug 04, 2020 at 01:32:24AM -0700, David Christensen wrote: > >jdupes looks interesting, and should work on any file system that > >supports hard links. I expect BorgBackup either calls jdupes or > >implements similar functiona

Re: [OT] sudo: restrict to physical console only?

2020-08-04 Thread Henning Follmann
On Tue, Aug 04, 2020 at 11:44:04AM +0200, Marco Möller wrote: > On 04.08.20 10:59, to...@tuxteam.de wrote: > > On Tue, Aug 04, 2020 at 09:47:24AM +0200, Marco Möller wrote: > > > Is it possible (how?) to restrict a user to only be allowed to make > > > use of its sudo usage permission if working at

Re: [OT] Remote SSH (dynamic IP) without third-party server

2020-08-04 Thread Celejar
On Tue, 4 Aug 2020 07:49:10 -0400 Greg Wooledge wrote: > Some of you are assuming that the local router offers an API whereby > clients inside the LAN can determine what the local router's external > IP address is, without going outside the LAN. That may or may not be > a thing. I have no idea.

Re: [OT] sudo: restrict to physical console only?

2020-08-04 Thread tomas
On Tue, Aug 04, 2020 at 07:39:53AM -0400, Greg Wooledge wrote: > On Tue, Aug 04, 2020 at 11:44:04AM +0200, Marco Möller wrote: > > As my root account is disabled, I do all administration as the "normal" user > > with the help of sudo for running administrative commands. The user "root" > > shall no

Re: [OT] Remote SSH (dynamic IP) without third-party server

2020-08-04 Thread Michael Stone
On Mon, Aug 03, 2020 at 10:52:58PM -0500, David Wright wrote: My main router doesn't have the facility to run that client. My cascaded router does (to just those two services), but that one has a broken WAN port (hence its rôle). So I presume I'd be expected to run No-IP's own software on my home

Re: [OT] Remote SSH (dynamic IP) without third-party server

2020-08-04 Thread Michael Stone
On Mon, Aug 03, 2020 at 09:05:57PM -0500, David Wright wrote: How do you keep this set of dynamic DNS providers informed each time your home's IP address changes, bearing in mind nobody's at home? A program runs on the local machine which updates the dynamic DNS entries, either periodically or

Re: [OT] sudo: restrict to physical console only?

2020-08-04 Thread Marco Möller
On 04.08.20 13:39, Greg Wooledge wrote: On Tue, Aug 04, 2020 at 11:44:04AM +0200, Marco Möller wrote: As my root account is disabled, I do all administration as the "normal" user with the help of sudo for running administrative commands. The user "root" shall not login nowhere, not at the physic

Re: [OT] Remote SSH (dynamic IP) without third-party server

2020-08-04 Thread Greg Wooledge
On Mon, Aug 03, 2020 at 02:38:13PM -0600, Charles Curley wrote: > On Mon, 3 Aug 2020 15:18:46 -0400 > Greg Wooledge wrote: > > > On Mon, Aug 03, 2020 at 02:15:17PM -0500, David Wright wrote: > > > The home PC that I'd be trying to contact has a 192.168.n.n IP > > > address given to it by my prima

Re: [OT] sudo: restrict to physical console only?

2020-08-04 Thread Greg Wooledge
On Tue, Aug 04, 2020 at 11:44:04AM +0200, Marco Möller wrote: > As my root account is disabled, I do all administration as the "normal" user > with the help of sudo for running administrative commands. The user "root" > shall not login nowhere, not at the physical console and not by ssh, never. Re

Re: [OT] sudo: restrict to physical console only?

2020-08-04 Thread tomas
On Tue, Aug 04, 2020 at 11:44:04AM +0200, Marco Möller wrote: > On 04.08.20 10:59, to...@tuxteam.de wrote: [pam sshd] > Sorry, I will not have been clear enough, or did not understand your > answer clearly, ssh and pam are both new to me, and I also never > configured sudo myself. Ah, got it. Th

Re: [OT] sudo: restrict to physical console only?

2020-08-04 Thread Marco Möller
On 04.08.20 10:59, to...@tuxteam.de wrote: On Tue, Aug 04, 2020 at 09:47:24AM +0200, Marco Möller wrote: Is it possible (how?) to restrict a user to only be allowed to make use of its sudo usage permission if working at the physical console, See pam_securetty(8) for that. Sorry I can't give yo

Re: Homebuilt NAS Advice

2020-08-04 Thread Jonathan Dowland
On Tue, Aug 04, 2020 at 01:32:24AM -0700, David Christensen wrote: jdupes looks interesting, and should work on any file system that supports hard links. I expect BorgBackup either calls jdupes or implements similar functionality: https://linuxcommandlibrary.com/man/jdupes.html I'm fairly s

Re: [OT] sudo: restrict to physical console only?

2020-08-04 Thread Marco Möller
On 04.08.20 10:38, Keith bainbridge wrote: On 4/8/20 5:47 pm, Marco Möller wrote: I have the root account already deactivated, and am using in principal only one main user who also has the sudo permissions for being able to do all the system administration, exactly as Debian was setting this u

Re: [OT] sudo: restrict to physical console only?

2020-08-04 Thread tomas
On Tue, Aug 04, 2020 at 09:47:24AM +0200, Marco Möller wrote: > Is it possible (how?) to restrict a user to only be allowed to make > use of its sudo usage permission if working at the physical console, See pam_securetty(8) for that. Sorry I can't give you some step-by-step account. > not grantin

Re: [OT] sudo: restrict to physical console only?

2020-08-04 Thread Keith bainbridge
On 4/8/20 5:47 pm, Marco Möller wrote: I have the root account already deactivated, and am using in principal only one main user who also has the sudo permissions for being able to do all the system administration, exactly as Debian was setting this up automatically during the system installati

Re: [OT] Remote SSH (dynamic IP) without third-party server

2020-08-04 Thread David Christensen
On 2020-08-03 16:52, Nate Bargmann wrote: Let's say machine 1 always gets 192.168.1.1 and machine 2 gets 192.168.1.2 from the router's DHCP server. To SSH into each from the public Internet set up port forwarding on the router. OpenWRT also allows port translation and some off the shelf routers

[Sid] gvfs & nfs shares icons on desktop

2020-08-04 Thread Grzesiek Sójka
Hi there, I'm using laptop with Xfce and the following in the /etc/fstab: server:/mnt/ex /mnt/ex nfs vers=3,defaults,noauto,users 0 0 Recently I installed gvfs. Before gvfs installtion: I had nfs icon on the desktop, so I could easily mount/unmount nfs (by right click). Since this is mobile d

Re: Homebuilt NAS Advice

2020-08-04 Thread David Christensen
On 2020-08-03 16:17, deloptes wrote: any thoughts on using deduplication? For example I started using borg some time ago. It saves a lot of space and makes it possible to have multiple backups and longer retention. ZFS supports de-duplication, but the documents warn about enabling it. So, of

Re: Systemd leaves uninterruptible processes

2020-08-04 Thread Andrei POPESCU
On Du, 02 aug 20, 21:37:34, Mart van de Wege wrote: > > I traced it down to user-runtime-dir@UID.service crashing on cleaning > up a /run/user/UID directory. I gave relevant information, and Andrei > is asking if I have LibreOffice installed, and points me to ESR's FAQ. > > I'm very sorry, but th

[OT] sudo: restrict to physical console only?

2020-08-04 Thread Marco Möller
Is it possible (how?) to restrict a user to only be allowed to make use of its sudo usage permission if working at the physical console, not granting to this user sudo permission when i.e. logged in via ssh? To keep it simple, I could imagine to even have all sudo for all users deactivated auto