Re: sudo-rs (Was Re: Bugs?)

2025-07-11 Thread Alif Radhitya
It's rust, not a Golang, mate. Yeah everything would be rust :) On July 10, 2025 4:12:46 PM UTC, to...@tuxteam.de wrote: >On Thu, Jul 10, 2025 at 03:48:52PM +, Andy Smith wrote: >> Hi, > >[...] > >> As an aside, sudo-rs is packaged as of Debian 13 (trixie, curren

Re: sudo-rs (Was Re: Bugs?)

2025-07-11 Thread Alif Radhitya
As the name said, 'rs' stands for Rust, not Go, mate. On Thu, Jul 10, 2025 at 06:12:46PM +0200, to...@tuxteam.de wrote: > On Thu, Jul 10, 2025 at 03:48:52PM +, Andy Smith wrote: > > Hi, > > [...] > > > As an aside, sudo-rs is packaged as of Debian 13 (trixi

Re: sudo-rs (Was Re: Bugs?)

2025-07-10 Thread tomas
On Thu, Jul 10, 2025 at 03:48:52PM +, Andy Smith wrote: > Hi, [...] > As an aside, sudo-rs is packaged as of Debian 13 (trixie, currently > testing) and I've been using it for a week now without complaints. sudo > fans might like to give it a go. Now, now. Is it Rust -- or

sudo-rs (Was Re: Bugs?)

2025-07-10 Thread Andy Smith
Hi, I concur with others that it sounds like you simply don't have sudo installed. As an aside, sudo-rs is packaged as of Debian 13 (trixie, currently testing) and I've been using it for a week now without complaints. sudo fans might like to give it a go. It replicates the functio

Re: more problems with su and sudo

2025-07-01 Thread Greg
On 2025-07-01, Titus Newswanger wrote: > I've had that problem once or twice where a newly created password would > not work. I've always suspected typos or undefined caps-lock state. I've had the problem. I have a en_US.UTF-8 locale and a French keyboard. Once, moons ago, when doing an alt-F1

Re: more problems with su and sudo

2025-07-01 Thread David Christensen
On 7/1/25 04:25, Greg Wooledge wrote: On Mon, Jun 30, 2025 at 21:36:14 -0700, David Christensen wrote: The next time you log in, sudo(8) should work: $ sudo pia-linux-3.6.1-08339.run Even if sudo works, that command won't. It would need to be something like: sudo chmod +x pia-

Re: more problems with su and sudo

2025-07-01 Thread Greg Wooledge
On Mon, Jun 30, 2025 at 21:36:14 -0700, David Christensen wrote: > The next time you log in, sudo(8) should work: > > $ sudo pia-linux-3.6.1-08339.run Even if sudo works, that command won't. It would need to be something like: sudo chmod +x pia-linux-3.6.1-08339.run su

Re: more problems with su and sudo

2025-06-30 Thread David Christensen
to get me into the root area. When I went to the terminal I first followed the directions which stated sudo.  I put in my new password and with no way to check it I hit enter.  Three times I did this and was very careful to put it in correctly.  It would not take it and kept saying not

Re: more problems with su and sudo

2025-06-30 Thread Titus Newswanger
On 6/30/25 21:55, Titus Newswanger wrote: The time I accidentally locked myself out of sudo, I mounted the locked hdd on another linux pc and edited the shadow file, copying the hash for sudo with the known password to the drive with the unknown password. I would not recommend trying that

Re: more problems with su and sudo

2025-06-30 Thread Titus Newswanger
instructions to get me into the root area. Sorry, I have no experience with VPN. When I went to the terminal I first followed the directions which stated sudo.  I put in my new password and with no way to check it I hit enter.  Three times I did this and was very careful to put it in correctly.  It

more problems with su and sudo

2025-06-30 Thread Maureen L Thomas
went to the terminal I first followed the directions which stated sudo.  I put in my new password and with no way to check it I hit enter.  Three times I did this and was very careful to put it in correctly.  It would not take it and kept saying not accepted. So today I tried it again with just su

Re: Debian 12.9 and use of sudo for regular accounts

2025-02-22 Thread Greg
On 2025-02-21, Jonathan Dowland wrote: > On Fri Feb 21, 2025 at 2:36 PM GMT, Greg wrote: >> If you had to pick a man page to be inscrutable, this wouldn't be the >> one. > > I mean, for me, it is: don't tell me worse ones. I don't think I want to > see them… > It is? How odd. I've never used it

Re: Debian 12.9 and use of sudo for regular accounts

2025-02-21 Thread jeremy ardley
On 22/2/25 06:49, Tom Dial wrote: On 2/20/25 22:17, jeremy ardley wrote: On 21/2/25 09:40, Tom Dial wrote: The TL;DR here is that for maintaining personal workstations and servers it makes more sense to log in as root, do the work as required, then log out. Or there is "sudo -i"

Re: Debian 12.9 and use of sudo for regular accounts

2025-02-21 Thread Tom Dial
On 2/20/25 22:17, jeremy ardley wrote: On 21/2/25 09:40, Tom Dial wrote: The TL;DR here is that for maintaining personal workstations and servers it makes more sense to log in as root, do the work as required, then log out. Or there is "sudo -i" to get an interactive root shell

Re: Debian 12.9 and use of sudo for regular accounts

2025-02-21 Thread Jonathan Dowland
On Fri Feb 21, 2025 at 2:36 PM GMT, Greg wrote: If you had to pick a man page to be inscrutable, this wouldn't be the one. I mean, for me, it is: don't tell me worse ones. I don't think I want to see them… -- Please do not CC me for listmail. 👱🏻 Jonathan Dowland ✎j...@debian.o

Re: Debian 12.9 and use of sudo for regular accounts

2025-02-21 Thread Jeffrey Walton
On Fri, Feb 21, 2025 at 9:37 AM Greg wrote: > > On 2025-02-21, wrote: > > > >> > The straight, but blunt, answer here, I think, is to read the man pages > >> > for sudo and sudoers > > >> In principle I agree with this advice but the sudoers m

Re: Debian 12.9 and use of sudo for regular accounts

2025-02-21 Thread Greg
On 2025-02-21, wrote: > >> > The straight, but blunt, answer here, I think, is to read the man pages >> > for sudo and sudoers >> In principle I agree with this advice but the sudoers manpage is >> notoriously, famously inscrutable. > > Start with the E

ssh root login (was: Debian 12.9 and use of sudo for regular accounts)

2025-02-21 Thread Frank Guthausen
etwork to localhost and different port. With key login and forwarding it is a bit more convenient than sudo, e.g. rsync setups are easier to have in batch mode. YMMV There are still ways to improve security based upon this idea, e.g. usage of different keys and/or tunneling the login with user ssh to root

Re: Debian 12.9 and use of sudo for regular accounts

2025-02-21 Thread tomas
On Fri, Feb 21, 2025 at 09:12:49AM +, Jonathan Dowland wrote: > On Fri Feb 21, 2025 at 1:40 AM GMT, Tom Dial wrote: > > The straight, but blunt, answer here, I think, is to read the man pages > > for sudo and sudoers > > In principle I agree with this advice but t

Re: Debian 12.9 and use of sudo for regular accounts

2025-02-21 Thread Jonathan Dowland
On Fri Feb 21, 2025 at 1:40 AM GMT, Tom Dial wrote: The straight, but blunt, answer here, I think, is to read the man pages for sudo and sudoers In principle I agree with this advice but the sudoers manpage is notoriously, famously inscrutable. -- Please do not CC me for listmail. 👱🏻

Re: Debian 12.9 and use of sudo for regular accounts

2025-02-20 Thread jeremy ardley
On 21/2/25 09:40, Tom Dial wrote: The TL;DR here is that for maintaining personal workstations and servers it makes more sense to log in as root, do the work as required, then log out. Or there is "sudo -i" to get an interactive root shell and avoid prepending every command

Re: Debian 12.9 and use of sudo for regular accounts

2025-02-20 Thread jeremy ardley
On 21/2/25 09:40, Tom Dial wrote: The TL;DR here is that for maintaining personal workstations and servers it makes more sense to log in as root, do the work as required, then log out. Or there is "sudo -i" to get an interactive root shell and avoid prepending every command

Re: Debian 12.9 and use of sudo for regular accounts

2025-02-20 Thread Timothy M Butterworth
On Thu, Feb 20, 2025 at 5:46 PM Nicolas George wrote: > Jeffrey Walton (HE12025-02-20): > >and members of sudo can run any command. > > Is it because of this last line: > > > rootALL=(ALL:ALL) ALL > > > > sudoALL=(ALL:ALL) ALL > # U

Re: Debian 12.9 and use of sudo for regular accounts

2025-02-20 Thread Lee
On Thu, Feb 20, 2025 at 6:42 PM Jeffrey Walton wrote: > > Hi Everyone, > > I have a fresh Debian 12.9 install. My user account is part of sudo > group, and members of sudo can run any command. No... the "sudo" user can run any command: > sudo ALL=(ALL:ALL) ALL

Re: Debian 12.9 and use of sudo for regular accounts

2025-02-20 Thread Tom Dial
The straight, but blunt, answer here, I think, is to read the man pages for sudo and sudoers (i.e., the /etc/suduoers file that does access control for the sudo command. The command is very flexible and can be tuned to allow specified sudoers to use elevated privilege only to execute specific

Re: Debian 12.9 and use of sudo for regular accounts

2025-02-20 Thread Xiyue Deng
Jeffrey Walton writes: > Hi Everyone, > > I have a fresh Debian 12.9 install. My user account is part of sudo > group, and members of sudo can run any command. However, I get an > error when trying to use sudo: > > $ sudo ls > [sudo] password for jwalton: >

Re: Debian 12.9 and use of sudo for regular accounts

2025-02-20 Thread Jeffrey Walton
On Thu, Feb 20, 2025 at 5:46 PM Nicolas George wrote: > > Jeffrey Walton (HE12025-02-20): > >and members of sudo can run any command. > > Is it because of this last line: > > > rootALL=(ALL:ALL) ALL > > > > sudoALL=(ALL:ALL) ALL

Re: Debian 12.9 and use of sudo for regular accounts

2025-02-20 Thread Nicolas George
Jeffrey Walton (HE12025-02-20): >and members of sudo can run any command. Is it because of this last line: > rootALL=(ALL:ALL) ALL > > sudoALL=(ALL:ALL) ALL ? But does it mean the previous one gives sudo privileges to all members of the root group? Or is

Re: Debian 12.9 and use of sudo for regular accounts

2025-02-20 Thread Alexander V. Makartsev
On 21.02.2025 03:29, Jeffrey Walton wrote: ... sudoALL=(ALL:ALL) ALL I've rebooted the machine twice. I know the failure is not due to stale login information. Does anyone know why I cannot use sudo in this case? Jeff Your line misses % for some reason. sudo in your case i

Debian 12.9 and use of sudo for regular accounts

2025-02-20 Thread Jeffrey Walton
Hi Everyone, I have a fresh Debian 12.9 install. My user account is part of sudo group, and members of sudo can run any command. However, I get an error when trying to use sudo: $ sudo ls [sudo] password for jwalton: jwalton is not in the sudoers file. $ groups jwalton cdrom

Re: Root, sudo and installing packages [WAS Re: user is not in the suder's file]

2025-02-06 Thread Timothy M Butterworth
On Wed, Feb 5, 2025 at 8:57 PM K0LNY ?? wrote: > Hi Andrew, > Using other distros, like Ubuntu and Raspbian, I would get tired of typing > sudo in front of everything, so I would just do sudo su and become root > for > everything, You do not need to do sudo su, you can just ty

Re: Root, sudo and installing packages [WAS Re: user is not in the suder's file]

2025-02-05 Thread Chris Green
K0LNY ?? wrote: > Hi Andrew, > Using other distros, like Ubuntu and Raspbian, I would get tired of typing > sudo in front of everything, so I would just do sudo su and become root for > everything, so I wouldn't have to constantly be reminded that as a regular > user, I can

Re: Root, sudo and installing packages [WAS Re: user is not in the suder's file]

2025-02-05 Thread Max Nikulin
even more. Nowadays systemd and tools like NetworkManager and udisks2 give local users reasonable privileges, so system administrator role should not be used annoyingly often. I suspect either wrong expectations or wrong ownership of files in the home directory due to unnecessary usage of sudo

Re: Root, sudo and installing packages [WAS Re: user is not in the suder's file]

2025-02-05 Thread Jeffrey Walton
; > installing things as root? > > I know that there are issues if some packages are installed with root > > privileges on other systems. > > Thanks. > > I'm not quite sure I understand what you mean here. Root can do most things: > sudo is effectively allowing an

Re: Root, sudo and installing packages [WAS Re: user is not in the suder's file]

2025-02-05 Thread Andrew M.A. Cater
On Wed, Feb 05, 2025 at 01:38:17PM -0600, K0LNY ?? wrote: > Hi Andrew, > Using other distros, like Ubuntu and Raspbian, I would get tired of typing > sudo in front of everything, so I would just do sudo su and become root for > everything, so I wouldn't have to constantly be r

Re: Root, sudo and installing packages [WAS Re: user is not in the suder's file]

2025-02-05 Thread Dan Ritter
K0LNY ?? wrote: > Using other distros, like Ubuntu and Raspbian, I would get tired of typing > sudo in front of everything, so I would just do sudo su and become root for > everything, so I wouldn't have to constantly be reminded that as a regular > user, I can't do som

Re: Root, sudo and installing packages [WAS Re: user is not in the suder's file]

2025-02-05 Thread K0LNY ??
Hi Andrew, Using other distros, like Ubuntu and Raspbian, I would get tired of typing sudo in front of everything, so I would just do sudo su and become root for everything, so I wouldn't have to constantly be reminded that as a regular user, I can't do something, and I had been

Root, sudo and installing packages [WAS Re: user is not in the suder's file]

2025-02-05 Thread Andrew M.A. Cater
sues if some packages are installed with root > privileges on other systems. > Thanks. > > Glenn Hi Glenn, I'm not quite sure I understand what you mean here. Root can do most things: sudo is effectively allowing an unprivileged user to "become" root for a few commands (and

Re: synaptic workalike that WILL run on sudo with wayland.

2025-01-02 Thread Anssi Saari
Stefan Monnier writes: > Sometimes I used cloned another system, and other times I used > Debootstrap running from one of the "images" provided by the board maker > (all those images suck, IMO: they're never designed with updates in mind). Indeed, thanks. Previously I've dismissed these patched

Re: synaptic workalike that WILL run on sudo with wayland.

2024-12-31 Thread Stefan Monnier
>> I've never used Debian's installer on those boards, and don't even know >> if Debian officially "supports" them. > So how do you install Debian on those ARM boards? Put some image on > whatever storage they have? Sometimes I used cloned another system, and other times I used Debootstrap running

Re: synaptic workalike that WILL run on sudo with wayland.

2024-12-31 Thread Anssi Saari
Stefan Monnier writes: > I've never used Debian's installer on those boards, and don't even know > if Debian officially "supports" them. So how do you install Debian on those ARM boards? Put some image on whatever storage they have? In fact, that's what I've done with my Raspberry Pi Computer Mo

Re: synaptic workalike that WILL run on sudo with wayland.

2024-12-30 Thread Stefan Monnier
Anssi Saari [2024-12-30 18:16:25] wrote: > Stefan Monnier writes: >> FWIW, I've been using ARM-based SBCs for more than 10 years (4 different >> boards, I'm ashamed to say) and have used Debian on all of them. So no: >> you don't need Armbian to make use of that kind of hardware. > OK, which ones

Re: synaptic workalike that WILL run on sudo with wayland.

2024-12-30 Thread Anssi Saari
Stefan Monnier writes: > FWIW, I've been using ARM-based SBCs for more than 10 years (4 different > boards, I'm ashamed to say) and have used Debian on all of them. So no: > you don't need Armbian to make use of that kind of hardware. OK, which ones? I'm only aware of the Rock64 and it's not ex

Re: synaptic workalike that WILL run on sudo with wayland.

2024-12-29 Thread Max Nikulin
On 29/12/2024 01:06, gene heskett wrote: It runs when it gets around to it, opening a local file is an automatic lockup for 30 seconds. And no one has identified that problem. Nobody can guess what the mess you are able to create on your machines. If you did not hate systemd then you would hav

Re: synaptic workalike that WILL run on sudo with wayland.

2024-12-29 Thread Stefan Monnier
>> Armbian is *NOT* Debian They do things differently there. Some of their [...] > Then you are missing out on the many things a pi clone can do on 5% of an > amd64's power budget. Granted the amd64 can do it 20x faster, ignoring that > the pi clone is fast enough. Debian seems to treat the arm64'

Re: synaptic workalike that WILL run on sudo with wayland.

2024-12-29 Thread Andy Smith
Hi, On Sat, Dec 28, 2024 at 06:38:16PM -0500, gene heskett wrote: > On 12/28/24 15:49, Andy Smith wrote: > > What would have been useful for you to tell us at this point or in any > > of your other replies: > > > > - How exactly you are trying to run synaptic on these Banana Pi > >computers,

Re: synaptic workalike that WILL run on sudo with wayland.

2024-12-28 Thread tomas
On Sun, Dec 29, 2024 at 01:56:06AM -0500, gene heskett wrote: [...] > I'm running one, about a year old now, on an actual rpi4b to run my biggest > lathe, but the last arm64 installer can't find its net interface even if you > fill in the blanks.  Armbian Just Works. Why can't debian-arm? I have

Re: synaptic workalike that WILL run on sudo with wayland.

2024-12-28 Thread gene heskett
On 12/29/24 01:30, to...@tuxteam.de wrote: On Sat, Dec 28, 2024 at 07:46:09PM -0500, gene heskett wrote: On 12/28/24 16:41, Andrew M.A. Cater wrote: [...] Armbian is *NOT* Debian They do things differently there [...] Then you are missing out on the many things a pi clone can do on 5% of

Re: synaptic workalike that WILL run on sudo with wayland.

2024-12-28 Thread tomas
On Sat, Dec 28, 2024 at 07:46:09PM -0500, gene heskett wrote: > > On 12/28/24 16:41, Andrew M.A. Cater wrote: [...] > > Armbian is *NOT* Debian They do things differently there [...] > Then you are missing out on the many things a pi clone can do on 5% of an > amd64's power budget. Granted the

Re: synaptic workalike that WILL run on sudo with wayland.

2024-12-28 Thread gene heskett
On 12/28/24 16:41, Andrew M.A. Cater wrote: On Sat, Dec 28, 2024 at 01:06:11PM -0500, gene heskett wrote: armbian in the full desktop version runs noticeably slower than it runs on amd64 stuff, but its more than fast enough to run a full screen gui for a 3d printer.  I'll gladly tolerate a jus

Re: synaptic workalike that WILL run on sudo with wayland.

2024-12-28 Thread gene heskett
On 12/28/24 15:49, Andy Smith wrote: Hi, On Sat, Dec 28, 2024 at 01:06:11PM -0500, gene heskett wrote: On 12/28/24 08:24, Andy Smith wrote: On Sat, Dec 28, 2024 at 12:53:41PM +, Darac Marjal wrote: Synaptic is a GUI frontend to apt. It's not really much different to aptitude, except tha

Re: synaptic workalike that WILL run on sudo with wayland.

2024-12-28 Thread Chris Green
gene heskett wrote: > > On 12/28/24 08:24, Andy Smith wrote: > > Hi, > > > > On Sat, Dec 28, 2024 at 12:53:41PM +, Darac Marjal wrote: > >> On 28/12/2024 10:06, Andy Smith wrote: > >>> On Fri, Dec 27, 2024 at 08:26:26PM -0500, gene heskett wrote: > When is that going to happen? Trying to

Re: synaptic workalike that WILL run on sudo with wayland.

2024-12-28 Thread Andrew M.A. Cater
On Sat, Dec 28, 2024 at 01:06:11PM -0500, gene heskett wrote: > > armbian in the full desktop version runs noticeably slower than it runs on > amd64 stuff, but its more than fast enough to run a full screen gui for a 3d > printer.  I'll gladly tolerate a just noticeable lag that never crashes, > u

Re: synaptic workalike that WILL run on sudo with wayland.

2024-12-28 Thread Andy Smith
Hi, On Sat, Dec 28, 2024 at 01:06:11PM -0500, gene heskett wrote: > On 12/28/24 08:24, Andy Smith wrote: > > On Sat, Dec 28, 2024 at 12:53:41PM +, Darac Marjal wrote: > > > Synaptic is a GUI frontend to apt. It's not really much different to > > > aptitude, except that it's maybe a bit more mo

Re: synaptic workalike that WILL run on sudo with wayland.

2024-12-28 Thread David Wright
SEE whats available. > > I know you won't use aptitude, so why don't you try running > > synaptic on wayland, decide what changes you want, and then > > use sudo apt to actually install/remove the packages. > I would do that, except highlight/copypaste does not wor

Re: synaptic workalike that WILL run on sudo with wayland.

2024-12-28 Thread gene heskett
On 12/28/24 08:24, Andy Smith wrote: Hi, On Sat, Dec 28, 2024 at 12:53:41PM +, Darac Marjal wrote: On 28/12/2024 10:06, Andy Smith wrote: On Fri, Dec 27, 2024 at 08:26:26PM -0500, gene heskett wrote: When is that going to happen? Trying to maintain debian-arm stuff blind is a pita. I wa

Re: synaptic workalike that WILL run on sudo with wayland.

2024-12-28 Thread gene heskett
On 12/28/24 09:43, Greg Wooledge wrote: On Sat, Dec 28, 2024 at 12:53:41 +, Darac Marjal wrote: You can run X clients on the server and remotely display that on a workstation (i.e. something _with_ a head), but AFAIK the wayland protocol doesn't support any sort of network transport (you c

Re: synaptic workalike that WILL run on sudo with wayland.

2024-12-28 Thread Greg Wooledge
On Sat, Dec 28, 2024 at 12:13:18 -0500, Lee wrote: > Copy/paste is a requirement for me also. If your terminal program > doesn't do what you want, take a look at the current version of > xfce4-terminal - that has most of what I was looking for. One thing that *might* be relevant here is that X11

Re: synaptic workalike that WILL run on sudo with wayland.

2024-12-28 Thread Lee
SEE whats available. > > I know you won't use aptitude, so why don't you try running > > synaptic on wayland, decide what changes you want, and then > > use sudo apt to actually install/remove the packages. > I would do that, except highlight/copypaste does not

Re: synaptic workalike that WILL run on sudo with wayland.

2024-12-28 Thread Todd Zullinger
Greg Wooledge wrote: > On Sat, Dec 28, 2024 at 12:53:41 +, Darac Marjal wrote: >> You can run X clients on the server and remotely display that on a >> workstation (i.e. something _with_ a head), but AFAIK the wayland protocol >> doesn't support any sort of network transport (you can run a GUI

Re: synaptic workalike that WILL run on sudo with wayland.

2024-12-28 Thread Greg Wooledge
On Sat, Dec 28, 2024 at 12:53:41 +, Darac Marjal wrote: > You can run X clients on the server and remotely display that on a > workstation (i.e. something _with_ a head), but AFAIK the wayland protocol > doesn't support any sort of network transport (you can run a GUI application > on a Wayland

Re: synaptic workalike that WILL run on sudo with wayland.

2024-12-28 Thread Andy Smith
Hi, On Sat, Dec 28, 2024 at 12:53:41PM +, Darac Marjal wrote: > > On 28/12/2024 10:06, Andy Smith wrote: > > On Fri, Dec 27, 2024 at 08:26:26PM -0500, gene heskett wrote: > > > When is that going to happen? Trying to maintain debian-arm stuff blind > > > is a > > > pita. I want to SEE whats

Re: synaptic workalike that WILL run on sudo with wayland.

2024-12-28 Thread Darac Marjal
On 28/12/2024 10:06, Andy Smith wrote: Hi, On Fri, Dec 27, 2024 at 08:26:26PM -0500, gene heskett wrote: When is that going to happen? Trying to maintain debian-arm stuff blind is a pita. I want to SEE whats available. I have never in my life felt the need to use synaptic. What am I missing o

Re: synaptic workalike that WILL run on sudo with wayland.

2024-12-28 Thread Andy Smith
Hi, On Fri, Dec 27, 2024 at 10:35:44PM -0600, David Wright wrote: > I know you won't use aptitude, so why don't you try running > synaptic on wayland, decide what changes you want, and then > use sudo apt to actually install/remove the packages. I think Gene's si

Re: synaptic workalike that WILL run on sudo with wayland.

2024-12-28 Thread Andy Smith
Hi, On Fri, Dec 27, 2024 at 08:26:26PM -0500, gene heskett wrote: > When is that going to happen? Trying to maintain debian-arm stuff blind is a > pita. I want to SEE whats available. I have never in my life felt the need to use synaptic. What am I missing out on? I just use "apt" from a termina

Re: synaptic workalike that WILL run on sudo with wayland.

2024-12-27 Thread gene heskett
on wayland, decide what changes you want, and then use sudo apt to actually install/remove the packages. I would do that, except highlight/copypaste does not work with either agent.  And at 90 yo, I have a hellofatime remembering 40+ character command lines. Cheers, David. . Cheers, Gene He

Re: synaptic workalike that WILL run on sudo with wayland.

2024-12-27 Thread David Wright
u want, and then use sudo apt to actually install/remove the packages. Cheers, David.

Re: synaptic workalike that WILL run on sudo with wayland.

2024-12-27 Thread gene heskett
On 12/27/24 23:04, gene heskett wrote: On 12/27/24 22:47, gene heskett wrote: On 12/27/24 21:30, Greg Wooledge wrote: On Fri, Dec 27, 2024 at 21:07:27 -0500, gene heskett wrote: gene@bpi51e5p:~$ synaptic-pkexec AUTHENTICATING FOR com.ubuntu.pkexec.synaptic === Authentication is requir

Re: synaptic workalike that WILL run on sudo with wayland.

2024-12-27 Thread gene heskett
On 12/27/24 22:47, gene heskett wrote: On 12/27/24 21:30, Greg Wooledge wrote: On Fri, Dec 27, 2024 at 21:07:27 -0500, gene heskett wrote: gene@bpi51e5p:~$ synaptic-pkexec AUTHENTICATING FOR com.ubuntu.pkexec.synaptic === Authentication is required to run the Synaptic Package Manager Au

Re: synaptic workalike that WILL run on sudo with wayland.

2024-12-27 Thread Greg Wooledge
On Fri, Dec 27, 2024 at 22:37:25 -0500, gene heskett wrote: > > > > following this thread I installed policykit-gnome and policykit-mate but > still misses the mark with a similar error msg: > >

Re: synaptic workalike that WILL run on sudo with wayland.

2024-12-27 Thread gene heskett
On 12/27/24 21:30, Greg Wooledge wrote: On Fri, Dec 27, 2024 at 21:07:27 -0500, gene heskett wrote: gene@bpi51e5p:~$ synaptic-pkexec AUTHENTICATING FOR com.ubuntu.pkexec.synaptic === Authentication is required to run the Synaptic Package Manager Authenticating as: Gene Heskett,,, (gene) P

Re: synaptic workalike that WILL run on sudo with wayland.

2024-12-27 Thread gene heskett
On 12/27/24 21:30, Greg Wooledge wrote: On Fri, Dec 27, 2024 at 21:07:27 -0500, gene heskett wrote: gene@bpi51e5p:~$ synaptic-pkexec AUTHENTICATING FOR com.ubuntu.pkexec.synaptic === Authentication is required to run the Synaptic Package Manager Authenticating as: Gene Heskett,,, (gene) P

Re: synaptic workalike that WILL run on sudo with wayland.

2024-12-27 Thread gene heskett
On 12/27/24 21:30, Greg Wooledge wrote: On Fri, Dec 27, 2024 at 21:07:27 -0500, gene heskett wrote: gene@bpi51e5p:~$ synaptic-pkexec AUTHENTICATING FOR com.ubuntu.pkexec.synaptic === Authentication is required to run the Synaptic Package Manager Authenticating as: Gene Heskett,,, (gene) P

Re: synaptic workalike that WILL run on sudo with wayland.

2024-12-27 Thread Greg Wooledge
On Fri, Dec 27, 2024 at 21:07:27 -0500, gene heskett wrote: > gene@bpi51e5p:~$ synaptic-pkexec > AUTHENTICATING FOR com.ubuntu.pkexec.synaptic === > Authentication is required to run the Synaptic Package Manager > Authenticating as: Gene Heskett,,, (gene) > Password: > polkit-agent-helper-1: e

Re: synaptic workalike that WILL run on sudo with wayland.

2024-12-27 Thread gene heskett
(without sudo). Why would you want to use sudo? Here, on every machine runniing wayland, its totally neutered. Might run but can't actually do anything cuz it doesn't have root privs. Example: gene@bpi51e5p:~$ synaptic-pkexec AUTHENTICATING FOR com.ubuntu.pkexec.synaptic === Authent

Re: synaptic workalike that WILL run on sudo with wayland.

2024-12-27 Thread Christian Britz
Hi Gene Am 28.12.24 um 02:26 schrieb gene heskett: > When is that going to happen? Trying to maintain debian-arm stuff blind > is a pita. I want to SEE whats available. I just switched KDE Plasma to wayland, to test. synaptic-pkexec runs perfectly (without sudo). Why would you want to use sudo?

synaptic workalike that WILL run on sudo with wayland.

2024-12-27 Thread gene heskett
When is that going to happen? Trying to maintain debian-arm stuff blind is a pita. I want to SEE whats available. Cheers, Gene Heskett, CET. -- "There are four boxes to be used in defense of liberty: soap, ballot, jury, and ammo. Please use in that order." -Ed Howdershelt (Author, 1940) If we

Re: sudo fails to save IPTables rules

2024-12-24 Thread Timothy M Butterworth
On Mon, Dec 23, 2024 at 9:05 PM Greg Wooledge wrote: > On Mon, Dec 23, 2024 at 20:48:12 -0500, Dan Purgert wrote: > > On Dec 23, 2024, Timothy M Butterworth wrote: > > > sudo fails with a permission denied error. > > > tmb@hp-debian:~$ sudo /usr/sbin/iptables-sa

Re: sudo fails to save IPTables rules

2024-12-23 Thread Carles Pina i Estany
Hi, On 23 Dec 2024 at 20:56:14, Greg Wooledge wrote: > On Mon, Dec 23, 2024 at 20:48:12 -0500, Dan Purgert wrote: > > On Dec 23, 2024, Timothy M Butterworth wrote: > > > sudo fails with a permission denied error. > > > tmb@hp-debian:~$ sudo /usr/sbin/iptables-sa

Re: sudo fails to save IPTables rules

2024-12-23 Thread Greg Wooledge
On Mon, Dec 23, 2024 at 20:48:12 -0500, Dan Purgert wrote: > On Dec 23, 2024, Timothy M Butterworth wrote: > > sudo fails with a permission denied error. > > tmb@hp-debian:~$ sudo /usr/sbin/iptables-save > /etc/iptables/rules.v4 > > bash: /etc/iptables/rules.v4: Permission

Re: sudo fails to save IPTables rules

2024-12-23 Thread Dan Purgert
On Dec 23, 2024, Timothy M Butterworth wrote: > sudo fails with a permission denied error. > tmb@hp-debian:~$ sudo /usr/sbin/iptables-save > /etc/iptables/rules.v4 > bash: /etc/iptables/rules.v4: Permission denied "sudo" only modifies "iptables-save", and not the r

sudo fails to save IPTables rules

2024-12-23 Thread Timothy M Butterworth
sudo fails with a permission denied error. tmb@hp-debian:~$ sudo /usr/sbin/iptables-save > /etc/iptables/rules.v4 bash: /etc/iptables/rules.v4: Permission denied Root user works tmb@hp-debian:~$ su -l Password: Root user with sudo root@hp-debian:/home/tmb# sudo /usr/sbin/iptables-save >

Re: sudo question

2024-11-22 Thread Greg Wooledge
On Fri, Nov 22, 2024 at 15:25:49 -0500, Roy J. Tellason, Sr. wrote: > Why would you want to append to a file that some other program is also > writing to? Sounds messy... Opening a file in append mode has the following behavior: O_APPEND The file is opened in append mode

Re: sudo question

2024-11-22 Thread Roy J. Tellason, Sr.
On Thursday 21 November 2024 02:16:48 pm Greg Wooledge wrote: > On Thu, Nov 21, 2024 at 19:55:04 +0100, to...@tuxteam.de wrote: > > On Thu, Nov 21, 2024 at 06:44:37PM +, Darac Marjal wrote: > > > > [...] > > > > > If it helps, "sponge" (in the moreutils package) seems to offer the right > > >

Re: sudo question

2024-11-21 Thread tomas
On Thu, Nov 21, 2024 at 02:16:48PM -0500, Greg Wooledge wrote: > On Thu, Nov 21, 2024 at 19:55:04 +0100, to...@tuxteam.de wrote: > > On Thu, Nov 21, 2024 at 06:44:37PM +, Darac Marjal wrote: > > > > [...] > > > > > If it helps, "sponge" (in the moreutils package) seems to offer the right > >

Re: sudo question

2024-11-21 Thread Greg Wooledge
On Thu, Nov 21, 2024 at 19:55:04 +0100, to...@tuxteam.de wrote: > On Thu, Nov 21, 2024 at 06:44:37PM +, Darac Marjal wrote: > > [...] > > > If it helps, "sponge" (in the moreutils package) seems to offer the right > > interface here: > > [...] > > Oh, wow -- thanks for that little gem! For

Re: sudo question

2024-11-21 Thread tomas
On Thu, Nov 21, 2024 at 06:44:37PM +, Darac Marjal wrote: [...] > If it helps, "sponge" (in the moreutils package) seems to offer the right > interface here: [...] Oh, wow -- thanks for that little gem! Cheers -- t signature.asc Description: PGP signature

Re: sudo question

2024-11-21 Thread Darac Marjal
On Thu, Nov 21, 2024 at 01:35:15PM +0100, to...@tuxteam.de wrote: On Thu, Nov 21, 2024 at 07:22:53AM -0500, g...@wooledge.org wrote: On Thu, Nov 21, 2024 at 09:48:06 +0100, to...@tuxteam.de wrote: [...] > My favourite is actually "sudo dd of=" it hasn't the side effect

Re: sudo question

2024-11-21 Thread Hua Y
On 2024-11-21 20:15, Greg Wooledge wrote: On Thu, Nov 21, 2024 at 08:14:35 +0100, Erwan David wrote: On Thu, Nov 21, 2024 at 07:39:33AM CET, Bitfox said: > > BTW, what’s the difference between [[ ]] and [ ] here? I know only the > latter. IIRC, [[ ]] is a bash/zsh builtin, [ ] is /bin/[ other

Re: sudo question

2024-11-21 Thread Nicolas George
s long as your target system > has GNU coreutils. dd has other drawbacks, from printing a status summary that is completely useless in this case to the fact that it controls the block size in a way that might not be what we want. Tu perform a redirection and only a redirection with root privileges, th

Re: sudo question

2024-11-21 Thread tomas
On Thu, Nov 21, 2024 at 07:22:53AM -0500, g...@wooledge.org wrote: > On Thu, Nov 21, 2024 at 09:48:06 +0100, to...@tuxteam.de wrote: [...] > > My favourite is actually "sudo dd of=" it hasn't the side effect > > of flooding your stdout (esp. with a larger, ugli

Re: sudo question

2024-11-21 Thread greg
On Thu, Nov 21, 2024 at 09:48:06 +0100, to...@tuxteam.de wrote: > On Thu, Nov 21, 2024 at 08:32:30AM +, Michael Kjörling wrote: > > On 20 Nov 2024 17:49 -0500, from g...@wooledge.org (Greg Wooledge): > > >> sudo echo "something" >>/etc/postfix/virtual_ali

Re: sudo question

2024-11-21 Thread Greg Wooledge
On Thu, Nov 21, 2024 at 08:14:35 +0100, Erwan David wrote: > On Thu, Nov 21, 2024 at 07:39:33AM CET, Bitfox said: > > > > BTW, what’s the difference between [[ ]] and [ ] here? I know only the > > latter. > > IIRC, [[ ]] is a bash/zsh builtin, [ ] is /bin/[ other name of > /bin/test That's part

Re: sudo question

2024-11-21 Thread tomas
On Thu, Nov 21, 2024 at 08:32:30AM +, Michael Kjörling wrote: > On 20 Nov 2024 17:49 -0500, from g...@wooledge.org (Greg Wooledge): > >> sudo echo "something" >>/etc/postfix/virtual_alias_maps > > > >> Can you help me why the first sudo failed? >

Re: sudo question

2024-11-21 Thread Michael Kjörling
On 20 Nov 2024 17:49 -0500, from g...@wooledge.org (Greg Wooledge): >> sudo echo "something" >>/etc/postfix/virtual_alias_maps > >> Can you help me why the first sudo failed? > > The redirection >> is being done before sudo is executed. Indeed. The us

Re: sudo question

2024-11-21 Thread Jeffrey Walton
On Wed, Nov 20, 2024 at 9:42 PM Bitfox wrote: > > In my bash shell script, when I say: > > sudo echo "something" >>/etc/postfix/virtual_alias_maps > > it could not run with the prompts: > > bin/mask.sh: line 18: /etc/postfix/virtual_alias_maps: Permission d

Re: sudo question

2024-11-20 Thread Erwan David
On Thu, Nov 21, 2024 at 07:39:33AM CET, Bitfox said: > > BTW, what’s the difference between [[ ]] and [ ] here? I know only the > latter. IIRC, [[ ]] is a bash/zsh builtin, [ ] is /bin/[ other name of /bin/test -- Erwan David

Re: sudo question

2024-11-20 Thread Bitfox
On 2024-11-21 13:21, Jeffrey Walton wrote: On Wed, Nov 20, 2024 at 9:42 PM Bitfox wrote: In my bash shell script, when I say: sudo echo "something" >>/etc/postfix/virtual_alias_maps it could not run with the prompts: bin/mask.sh: line 18: /etc/postfix/virtual_alias_maps: Pe

Re: sudo question

2024-11-20 Thread eben
On 11/20/24 17:49, Greg Wooledge wrote: On Thu, Nov 21, 2024 at 06:17:31 +0800, Bitfox wrote: sudo echo "something" >>/etc/postfix/virtual_alias_maps https://mywiki.wooledge.org/BashPitfalls#pf53 Can you help me why the first sudo failed? The redirection >> is bei

Re: sudo question

2024-11-20 Thread Keith Bainbridge
Sounds like making bin/mask.sh executable by root ONLY might help you forget to use sudo to run it Sudo chmod /bin/mask.sh x=rshould do it -- All the best Keith Bainbridge keithr...@gmail.com +61 (0)447 667 468 GMT+ 10:00 Sent from my Aphone. Please excuse my brevity. On 21 November

  1   2   3   4   5   6   7   8   9   10   >