Re: Unlocking (remote/local), was Re: Help with suid (bash)

2022-05-10 Thread tomas
On Tue, May 10, 2022 at 10:08:20PM -0500, David Wright wrote: > On Tue 10 May 2022 at 17:12:25 (-0600), Charles Curley wrote: [...] > IOW, though logging in to root by password is ok at the console, > it's not ok when remote. ➀ I assume you know all that you can set "PermitRootLogin yes" in

Re: Unlocking (remote/local), was Re: Help with suid (bash)

2022-05-10 Thread David Wright
On Tue 10 May 2022 at 17:12:25 (-0600), Charles Curley wrote: > On Tue, 10 May 2022 11:08:23 -0500 > David Wright wrote: > > > That complicates unlocking partitions remotely because, even if you > > can log in as root, you normally can't log in remotely as root. > > ??? I log in as root over

Re: Installation fails to recognize SSD

2022-05-10 Thread David Christensen
On 5/10/22 17:54, Bruno Schneider wrote: I'm trying to install Debian to a Acer Aspire notebook with SSD. Before doing so, I tried to backup the previous Linux Install using SystemRescue. I booted with a SystemRescue flash drive, but only the USB flash drive was recognized and shown on fdisk

Re: Unlocking (remote/local), was Re: Help with suid (bash)

2022-05-10 Thread Greg Wooledge
On Tue, May 10, 2022 at 05:12:25PM -0600, Charles Curley wrote: > David Wright wrote: > > I use a special user called unlock, whose home directory is on > > /var/local/, to unlock my /home partitions: > > Unlock? What does "unlock" mean in this context? It looks like a > synonym for "mount". If

Installation fails to recognize SSD

2022-05-10 Thread Bruno Schneider
I'm trying to install Debian to a Acer Aspire notebook with SSD. Before doing so, I tried to backup the previous Linux Install using SystemRescue. I booted with a SystemRescue flash drive, but only the USB flash drive was recognized and shown on fdisk list. Then I booted with Debian Install on

Re: debian 10 - Partition 3 does not start on physical boundary

2022-05-10 Thread roger . tarani
Oui, c'est ça que j'avais déjà lu il y a longtemps ! Et ça n'explique pas le blocage décrit au démarrage. Je vais donc faire un e2fsck depuis un live CD. Après une sauvegarde. A ce propos, question accessoire : Quelle est la manière moderne et performante de faire une sauvegarde d'un système

Re: Unlocking (remote/local), was Re: Help with suid (bash)

2022-05-10 Thread Charles Curley
On Tue, 10 May 2022 11:08:23 -0500 David Wright wrote: > That complicates unlocking partitions remotely because, even if you > can log in as root, you normally can't log in remotely as root. ??? I log in as root over SSH all the time. > > I use a special user called unlock, whose home

Re: Traduction ?

2022-05-10 Thread Jean-Philippe MENGUAL
Le 10/05/2022 à 21:20, Jean-Marc a écrit : Le 9/05/22 à 22:05, Jean-Philippe MENGUAL a écrit : Qu'est-ce qui n'a pas marché chez toi? Tu peux en dire plus? En gros, comme je n'ai pas assez de temps/compétence pour faire du dev, je me suis dit que la traduction, ce serait plus dans mes

Re: Traduction ?

2022-05-10 Thread Jean-Marc
Le 9/05/22 à 22:05, Jean-Philippe MENGUAL a écrit : Qu'est-ce qui n'a pas marché chez toi? Tu peux en dire plus? En gros, comme je n'ai pas assez de temps/compétence pour faire du dev, je me suis dit que la traduction, ce serait plus dans mes cordes. Je me suis donc inscrit sur la liste

Re: Copying one drive to a smaller one.

2022-05-10 Thread Michael Stone
On Tue, May 10, 2022 at 07:13:55PM +0200, DdB wrote: Proper entry in NVRAM (Can be read and changed with efibootmgr) I've never seen a BIOS where this is hard--you just browse to the appropriate file in the EFI partition (EFI/debian/grubx64.efi). Using a program from within linux is helpful

Re: debian 10 - Partition 3 does not start on physical boundary

2022-05-10 Thread didier gaumet
Le mardi 10 mai 2022 à 14:02 +0200, roger.tar...@free.fr a écrit : > Hello, > > Après redémarrage, apparait le message : >     fsckd-cancel-msg:Press Ctrl+C to cancel all filesystem checks in > progress > Impossible de faire Ctrl+C > > C'est discuté souvent dans les forums. > > > Depuis un

Re: Unlocking (remote/local), was Re: Help with suid (bash)

2022-05-10 Thread David Wright
On Tue 10 May 2022 at 13:02:41 (-0400), Greg Wooledge wrote: > On Tue, May 10, 2022 at 11:08:23AM -0500, David Wright wrote: [> > On Tue 10 May 2022 at 08:21:00 (-0600), Charles Curley wrote:] > > > Why the aversion to doing things as root? Why not just run your scripts > > > as root? This is

Re: Copying one drive to a smaller one.

2022-05-10 Thread paulf
On Tue, 10 May 2022 19:13:55 +0200 DdB wrote: > Booting UEFI requires different things: (detailed descriptions on > rodsbook site) > Proper subdir/entry in ESP (could be reused from old disk) > Proper entry in NVRAM (Can be read and changed with efibootmgr) > If i were you, i would prepare for

Re: comment compiler Glib 2 ou GTK 4 avec les informations de déboguage

2022-05-10 Thread didier gaumet
Le mardi 10 mai 2022 à 16:08 +0200, Basile Starynkevitch a écrit : > Bonjour, > > Pour mes divers projets logiciels (dont http://refpersys.org/  ) > j'ai besoin des informations de déboguage (utilisés par GDB comme par > la librarie libbacktrace de Ian Lance Taylor) > > Mes systèmes

Re: Copying one drive to a smaller one.

2022-05-10 Thread DdB
Booting UEFI requires different things: (detailed descriptions on rodsbook site) Proper subdir/entry in ESP (could be reused from old disk) Proper entry in NVRAM (Can be read and changed with efibootmgr) If i were you, i would prepare for emergency rescuing the system in case of havoc. For example

Re: Unlocking (remote/local), was Re: Help with suid (bash)

2022-05-10 Thread Greg Wooledge
On Tue, May 10, 2022 at 11:08:23AM -0500, David Wright wrote: > > On Tue, 10 May 2022 07:50:18 -0400 rhkra...@gmail.com wrote: > > Why the aversion to doing things as root? Why not just run your scripts > > as root? This is exactly the sort of thing that is reserved to root for > > reasons of

Re: Help with suid (bash)

2022-05-10 Thread rhkramer
On Tuesday, May 10, 2022 10:21:00 AM Charles Curley wrote: > Why the aversion to doing things as root? Why not just run your scripts > as root? This is exactly the sort of thing that is reserved to root for > reasons of security. I may think about that some more, but it is a general aversion to

Re: Copying one drive to a smaller one.

2022-05-10 Thread Michael Stone
On Tue, May 10, 2022 at 08:31:12AM -0400, pa...@quillandmouse.com wrote: For all but the boot mechanism, copying files from source to destination via rsync should work. For ext4, files are files. Except when they have ACLs or extended attributes, hard links are messy to rsync, etc. Most of

Unlocking (remote/local), was Re: Help with suid (bash)

2022-05-10 Thread David Wright
On Tue 10 May 2022 at 08:21:00 (-0600), Charles Curley wrote: > On Tue, 10 May 2022 07:50:18 -0400 rhkra...@gmail.com wrote: > > > Background: 8 years ago I wrote a set of scripts to help me mount and > > unmount LUKS encrypted partitions as needed and as myself > > () rather than as root. > >

Re: debian 10 - Partition 3 does not start on physical boundary

2022-05-10 Thread roger . tarani
De: "Basile Starynkevitch" À: "roger tarani" Cc: "Liste Debian" Envoyé: Mardi 10 Mai 2022 15:56:34 Objet: Re: debian 10 - Partition 3 does not start on physical boundary On 5/10/22 15:48, [ mailto:roger.tar...@free.fr | roger.tar...@free.fr ] wrote: Merci. Cette erreur est

Re: Help with suid (bash)

2022-05-10 Thread Charles Curley
On Tue, 10 May 2022 07:50:18 -0400 rhkra...@gmail.com wrote: > Background: 8 years ago I wrote a set of scripts to help me mount and > unmount LUKS encrypted partitions as needed and as myself > () rather than as root. Why the aversion to doing things as root? Why not just run your scripts as

comment compiler Glib 2 ou GTK 4 avec les informations de déboguage

2022-05-10 Thread Basile Starynkevitch
Bonjour, Pour mes divers projets logiciels (dont http://refpersys.org/  ) j'ai besoin des informations de déboguage (utilisés par GDB comme par la librarie libbacktrace de Ian Lance Taylor) Mes systèmes

Followup: Re: Resolved: Re: Help with suid (bash)

2022-05-10 Thread rhkramer
By the way, thanks to all who replied! One followup below. On Tuesday, May 10, 2022 08:20:10 AM rhkra...@gmail.com wrote: > Ok, thanks very much! > > That resolves that -- I do have another way of doing it (the c helper > program), I just don't like it -- I'll probably continue to use that but

Re: debian 10 - Partition 3 does not start on physical boundary

2022-05-10 Thread Basile Starynkevitch
On 5/10/22 15:48, roger.tar...@free.fr wrote: Merci. Cette erreur est assez ancienne et j'avais cru comprendre en lisant à droite à gauche que ce n'était pas si grave. Comment expliquez-vous que la machine ait pu redémarrer ? Ca dépend du disque (physique) lui-même: SSD ou rotatif? Quel

Re: debian 10 - Partition 3 does not start on physical boundary

2022-05-10 Thread roger . tarani
Merci. Cette erreur est assez ancienne et j'avais cru comprendre en lisant à droite à gauche que ce n'était pas si grave. Comment expliquez-vous que la machine ait pu redémarrer ? Surtout, comment cette anomalie a-t-elle pu se produire ? N'y a-t-il un moyen de réparer sans reformater ? PS

Re: Fwd: debian 10 - Partition 3 does not start on physical boundary

2022-05-10 Thread Basile Starynkevitch
On 5/10/22 15:12, Basile Starynkevitch wrote: On 5/10/22 14:49, roger.tar...@free.fr wrote: PS : J'ai tenté de redémarrer le système. Cette fois-ci, il a démarré normalement. Ça me permet de travailler mais j'aimerais bien avoir votre avis pour identifier la cause du problème et la

Re: Fwd: debian 10 - Partition 3 does not start on physical boundary

2022-05-10 Thread Basile Starynkevitch
On 5/10/22 14:49, roger.tar...@free.fr wrote: PS : J'ai tenté de redémarrer le système. Cette fois-ci, il a démarré normalement. Ça me permet de travailler mais j'aimerais bien avoir votre avis pour identifier la cause du problème et la traiter. Merci Cordialement If faut probablement

Fwd: debian 10 - Partition 3 does not start on physical boundary

2022-05-10 Thread roger . tarani
PS : J'ai tenté de redémarrer le système. Cette fois-ci, il a démarré normalement. Ça me permet de travailler mais j'aimerais bien avoir votre avis pour identifier la cause du problème et la traiter. Merci Cordialement De: "roger tarani" À: "Liste Debian" Envoyé: Mardi 10 Mai 2022

Re: Copying one drive to a smaller one.

2022-05-10 Thread paulf
On Tue, 10 May 2022 07:28:02 +0200 DdB wrote: > Hi, > > Am 09.05.2022 um 20:54 schrieb David Christensen: > > Resizing and moving a Debian instance from a 500 GB drive to a 250 > > GB drive requires a lot of expertise. > > I fully agree. And i am missing some information from the OP: > > Was

Re: Help with suid (bash)

2022-05-10 Thread tomas
On Tue, May 10, 2022 at 07:58:39AM -0400, Greg Wooledge wrote: > On Tue, May 10, 2022 at 07:50:18AM -0400, rhkra...@gmail.com wrote: > > Aside: even though this is not a Debian specific question, I often use > > debian- > > user as my first resource in asking Linux questions. > > It's

Resolved: Re: Help with suid (bash)

2022-05-10 Thread rhkramer
(Intentionally top posting) Ok, thanks very much! That resolves that -- I do have another way of doing it (the c helper program), I just don't like it -- I'll probably continue to use that but think about alternatives. On Tuesday, May 10, 2022 07:58:39 AM Greg Wooledge wrote: > The Linux

Re: Help with suid (bash)

2022-05-10 Thread tomas
On Tue, May 10, 2022 at 07:50:18AM -0400, rhkra...@gmail.com wrote: > Aside: even though this is not a Debian specific question, I often use debian- > user as my first resource in asking Linux questions. > > Background: 8 years ago I wrote a set of scripts to help me mount and unmount > LUKS

debian 10 - Partition 3 does not start on physical boundary

2022-05-10 Thread roger . tarani
Hello, Après redémarrage, apparait le message : fsckd - cancel -msg:Press Ctrl+C to cancel all filesystem checks in progress Impossible de faire Ctrl+C C'est discuté souvent dans les forums. Depuis un ancien système debian jessy, présent sur un autre disque (avec lequel les partitions à

Re: Help with suid (bash)

2022-05-10 Thread Greg Wooledge
On Tue, May 10, 2022 at 07:50:18AM -0400, rhkra...@gmail.com wrote: > Aside: even though this is not a Debian specific question, I often use debian- > user as my first resource in asking Linux questions. It's Linux-specific, though. > -rwsr-xr-x 1 root 1412 Aug 31 2014 > The Linux kernel

Help with suid (bash)

2022-05-10 Thread rhkramer
Aside: even though this is not a Debian specific question, I often use debian- user as my first resource in asking Linux questions. Background: 8 years ago I wrote a set of scripts to help me mount and unmount LUKS encrypted partitions as needed and as myself () rather than as root. Aside:

Re: Re : Re: Re : Re: Re : Re: Re : Re: Comment déverrouiller mon trousseau de clés avec mon mot de passe au login ?

2022-05-10 Thread didier gaumet
Le mardi 10 mai 2022 à 10:30:02 UTC+2, benoit a écrit : [...] > Mais PAM, c'est pas un démon des fois ? [...] Non, de ce que je comprends, PAM (Pluggable Authentication Modules) est un ensemble de modules noyaux à usage d'authentification et le but est de configurer son système pour utiliser

Re : Re: Re : Re: Re : Re: Re : Re: Comment déverrouiller mon trousseau de clés avec mon mot de passe au login ?

2022-05-10 Thread benoit
Le lundi 9 mai 2022 à 23:02, didier gaumet a écrit : > Le lundi 9 mai 2022 à 22:20:03 UTC+2, benoit a écrit : > > > --- Original Message --- > > Le lundi 9 mai 2022 à 19:33, didier gaumet didier...@gmail.com a écrit : > > [...] > > > > 3) Un peu au pif (je ne suis pas catégorique sur la