Re: [gentoo-user] Disabling ssh password login on all accounts?

2020-08-11 Thread Neil Bothwick
On Tue, 11 Aug 2020 15:14:35 -0400, Walter Dnes wrote: > Match Address !192.168.1.0/24 > DenyUsers * > > One more question... does sshd_config follow the python convention > that indentinting with spaces or tabs denotes a "block"? No, the Match line defines the start of a block that cont

Re: [gentoo-user] What is faster: amd64 or x86?

2020-08-11 Thread Grant Taylor
On 8/11/20 10:37 AM, Gregor A. „schlumpi“ Segner wrote: it’s total nonsense today to install a 32bit kernel on a 64Bit machine. I can see some value in having a 32-bit /only/ system if you /must/ support 32-bit software with no need for 64-bit and would like to avoid the complexity of multi-l

Re: [gentoo-user] Disabling ssh password login on all accounts?

2020-08-11 Thread Walter Dnes
On Tue, Aug 11, 2020 at 01:51:59PM +0100, Victor Ivanov wrote > Yes that's one of the options you need to disable. The other one is > "ChallengeResponseAuthentication" which will also disable PAM-based > authentication (which may include passwords). So you should have the > following global settin

Re: [gentoo-user] What is faster: amd64 or x86?

2020-08-11 Thread Gregor A. „schlumpi“ Segner
Hi everybody, dafuq what in... not sure what we should answer, it’s total nonsense today to install a 32bit kernel on a 64Bit machine. Really. The difference between 32 and 64Bit architecture is _not_ computing speed. -- Gregor A. „schlumpi“ Segner > On Dienstag, Aug. 11, 2020 at 4:55 PM, Sid

Re: [gentoo-user] What is faster: amd64 or x86?

2020-08-11 Thread Sid Spry
On Tue, Aug 11, 2020, at 11:41 AM, Remco Rijnders wrote: > On Mon, Aug 10, 2020 at 07:46:36PM -0400, Jack wrote in > <46fdde47-4437-5aa4-926d-e42aaed8e...@users.sourceforge.net>: > >>On Mon, Aug 10, 2020, at 1:19 PM, Никита Степанов wrote: > >>>What is faster: amd64 or x86? > > > >Nikita, what a

Re: [gentoo-user] ebuild : how to check for python version

2020-08-11 Thread Mike Gilbert
On Tue, Aug 11, 2020 at 9:38 AM Helmut Jarausch wrote: > > On 08/11/2020 03:08:16 PM, Mike Gilbert wrote: > > On Sun, Aug 2, 2020 at 10:47 AM Helmut Jarausch > > <_ j_ a_ r_ a_ u_ s_ c_ h_ @_ s_ k_ y_ n_ e_ t_ ._ b_ e> wrote: > > Hi, > > in an ebuild I have to apply a patch only if this

Re: [gentoo-user] ebuild : how to check for python version

2020-08-11 Thread Helmut Jarausch
On 08/11/2020 03:08:16 PM, Mike Gilbert wrote: On Sun, Aug 2, 2020 at 10:47 AM Helmut Jarausch <_j_a_r_a_u_s_c_h_@_s_k_y_n_e_t_._b_e> wrote: Hi, in an ebuild I have to apply a patch only if this package is installed   for python3.9. The ebuild should w

Re: [gentoo-user] External hard drive and idle activity

2020-08-11 Thread Dale
Wols Lists wrote: > On 04/08/20 08:42, Wols Lists wrote: >> Both LVM and btrfs offer snapshotting, so you take a snapshot before >> doing an in-place rsync, giving you one full backup per snapshot, but >> the drive is actually only storing the changes between snapshots. >> Probably run the backup m

Re: [gentoo-user] ebuild : how to check for python version

2020-08-11 Thread Mike Gilbert
On Sun, Aug 2, 2020 at 10:47 AM Helmut Jarausch wrote: > Hi, > in an ebuild I have to apply a patch only if this package is installed > for python3.9. > The ebuild should work for PYTHON_COMPAT=( python3_{8,9} ) > > How can I check for Pythons version in src_prepare or similar functions. > > Many

Re: [gentoo-user] Disabling ssh password login on all accounts?

2020-08-11 Thread Gerrit Kuehn
On Tue, 11 Aug 2020 06:21:26 -0400 "Walter Dnes" wrote: > # To disable tunneled clear text passwords, change to no here! > #PasswordAuthentication yes > > Is that correct? If not, what is the correct setting to change? You might also want to set to "No" the following ones: ChallengeRespons

Re: [gentoo-user] Disabling ssh password login on all accounts?

2020-08-11 Thread Victor Ivanov
On 11/08/2020 11:21, Walter Dnes wrote: > The one sevice I have listening for external connections on my laptop > is sshd (192.168.1.0/24). Before taking it anywhere, I want to prohibit > password-based login for *ALL* accounts, not just root. This would > require users to be listed in ~/.ssh/a

Re: [gentoo-user] What is faster: amd64 or x86?

2020-08-11 Thread Remco Rijnders
On Mon, Aug 10, 2020 at 07:46:36PM -0400, Jack wrote in <46fdde47-4437-5aa4-926d-e42aaed8e...@users.sourceforge.net>: On Mon, Aug 10, 2020, at 1:19 PM, Никита Степанов wrote: What is faster: amd64 or x86? Nikita, what are you really asking about? Or, are you just looking to stir the pot? I

[gentoo-user] Disabling ssh password login on all accounts?

2020-08-11 Thread Walter Dnes
The one sevice I have listening for external connections on my laptop is sshd (192.168.1.0/24). Before taking it anywhere, I want to prohibit password-based login for *ALL* accounts, not just root. This would require users to be listed in ~/.ssh/authorized_keys Looking through /etc/ssh/sshd_co