Re: sudoers question

2023-05-12 Thread Lee
On 5/12/23, DdB wrote: > Am 13.05.2023 um 00:03 schrieb Lee: >> On 5/12/23, Stefan Monnier wrote: Or configure sudo to disable tty_tickets, so that the timeout (10 minutes by default IIRC) applies to all terminals. >>> >>> `sudo bash` anyone? >> >> me! me! but I also have > (...) >> %

Re: sudoers question

2023-05-12 Thread DdB
Am 13.05.2023 um 00:03 schrieb Lee: > On 5/12/23, Stefan Monnier wrote: >>> Or configure sudo to disable tty_tickets, so that the timeout (10 >>> minutes by default IIRC) applies to all terminals. >> >> `sudo bash` anyone? > > me! me! but I also have (...) > %adm ALL = (root) NOPASSWD:

Re: sudoers question

2023-05-12 Thread Lee
On 5/12/23, Stefan Monnier wrote: >> Or configure sudo to disable tty_tickets, so that the timeout (10 >> minutes by default IIRC) applies to all terminals. > > `sudo bash` anyone? me! me! but I also have # cat /etc/sudoers.d/adm-grp-privs # members of adm can run certain commands as root w

Re: :Re: repeat of previous question thathasgoneunansweredseveraltimes.

2023-05-12 Thread Vincent Lefevre
On 2023-05-12 12:08:33 -0400, gene heskett wrote: > On 5/12/23 07:41, Vincent Lefevre wrote: > > On 2023-05-12 06:23:56 -0400, gene heskett wrote: > > > I'm confused. There is not anything wrong with this machine as a Server. > > > ALL of this muttering and bitching has been because bookworm client

Re: SOLVED:Re: repeat of previous question thathasgoneunansweredseveraltimes.

2023-05-12 Thread gene heskett
On 5/12/23 14:45, Brian wrote: On Fri 12 May 2023 at 06:23:56 -0400, gene heskett wrote: [...] I'm confused. There is not anything wrong with this machine as a Server. ALL of this muttering and bitching has been because bookworm clients did NOT work. buster clients work great. "work(s)" is s

Re: EPSON ET M 1120 new printer: If You can read this, you are using the wrong driver

2023-05-12 Thread chris
SUCCESS On Fri, May 12, 2023, 1:41 PM Schwibinger Michael wrote: > > Good afternoon > > I ll give the paper to a friend. > He is owning a scanner. > He ll scan it and I ll send it to the group. > > Thank You for help. > > Regards > Sophie > Thank You > > > -- > *Von:*

AW: EPSON ET M 1120 new printer: If You can read this, you are using the wrong driver

2023-05-12 Thread Schwibinger Michael
Good afternoon I ll give the paper to a friend. He is owning a scanner. He ll scan it and I ll send it to the group. Thank You for help. Regards Sophie Thank You Von: Greg Wooledge Gesendet: Sonntag, 7. Mai 2023 12:51 An: debian-user@lists.debian.org Betreff

Re: SOLVED:Re: repeat of previous question thathasgoneunansweredseveraltimes.

2023-05-12 Thread gene heskett
On 5/12/23 07:49, Vincent Lefevre wrote: nmap -p 631 localhost had to install 5 pkgs to get it, but: gene@bpi51:~/src/cups-master$ nmap -p 631 localhost Starting Nmap 7.80 ( https://nmap.org ) at 2023-05-12 11:10 -05 Nmap scan report for localhost (127.0.0.1) Host is up (0.00030s latency). POR

Re: sudoers question

2023-05-12 Thread Curt
On 2023-05-12, Tom Reed wrote: >> Tom Reed (12023-05-12): >>> otherwise every time i have to input password for sudo. >> >> Yes, that is the point. >> >> If “every time” is a lot for you, maybe your use habits need to be >> reviewed. >> > > that's normal. for example, I have to check every kind of

:Re: repeat of previous question thathasgoneunansweredseveraltimes.

2023-05-12 Thread gene heskett
On 5/12/23 07:41, Vincent Lefevre wrote: On 2023-05-12 06:23:56 -0400, gene heskett wrote: I'm confused. There is not anything wrong with this machine as a Server. ALL of this muttering and bitching has been because bookworm clients did NOT work. buster clients work great. How many times do I h

Re: sudoers question

2023-05-12 Thread tomas
On Fri, May 12, 2023 at 05:46:21PM +0200, Michel Verdier wrote: > Le 12 mai 2023 Stefan Monnier a écrit : > > >> Or configure sudo to disable tty_tickets, so that the timeout (10 > >> minutes by default IIRC) applies to all terminals. > > > > `sudo bash` anyone? > > also quicker done with > su -

Re: sudoers question

2023-05-12 Thread Michel Verdier
Le 12 mai 2023 Stefan Monnier a écrit : >> Or configure sudo to disable tty_tickets, so that the timeout (10 >> minutes by default IIRC) applies to all terminals. > > `sudo bash` anyone? also quicker done with su -

Re: sudoers question

2023-05-12 Thread Max Nikulin
On 12/05/2023 21:00, Byung-Hee HWANG (황병희) wrote: On Fri, 2023-05-12 at 08:25 -0400, Stefan Monnier wrote: `sudo bash` anyone? AMAZING! Thanks for tip, Stefan ^^^ Isn't it a way to get e.g. ~/.bash_history owned by root? sudo -i should be better

Re: sudoers question

2023-05-12 Thread 황병희
Hi Stefan, On Fri, 2023-05-12 at 08:25 -0400, Stefan Monnier wrote: > > Or configure sudo to disable tty_tickets, so that the timeout (10 > > minutes by default IIRC) applies to all terminals. > > `sudo bash` anyone? > AMAZING! Thanks for tip, Stefan ^^^ Sincerely, Byung-Hee -- ^고맙습니다 _布德天下

Re: ssh-keygen as a regular user

2023-05-12 Thread Eduardo M KALINOWSKI
On 12/05/2023 09:36, Vincent Lefevre wrote: On 2023-05-12 18:23:41 +0800, jeremy ardley wrote: cd mkdir .ssh chmod 700 .ssh ssh-keygen Is there any reason why ssh-keygen doesn't create a .ssh directory (with the right permissions) if it doesn't exist yet? It does, and even let's you know

Re: ssh-keygen as a regular user

2023-05-12 Thread Vincent Lefevre
On 2023-05-12 18:23:41 +0800, jeremy ardley wrote: > cd > > mkdir .ssh > > chmod 700 .ssh > > ssh-keygen Is there any reason why ssh-keygen doesn't create a .ssh directory (with the right permissions) if it doesn't exist yet? -- Vincent Lefèvre - Web: 100% accessibl

Re: sudoers question

2023-05-12 Thread Michel Verdier
Le 12 mai 2023 Tom Reed a écrit : > that's normal. for example, I have to check every kind of logs (mail, > webserver, systems etc). They require sudo then. Logs are with adm gid, so just add your user to the group adm to be able to consult logs.

Re: sudoers question

2023-05-12 Thread Nicolas George
Stefan Monnier (12023-05-12): > `sudo bash` anyone? Why not “sudo start-gnome” or logging as root on the display manager while you are at it? Regards, -- Nicolas George

Re: sudoers question

2023-05-12 Thread Stefan Monnier
> Or configure sudo to disable tty_tickets, so that the timeout (10 > minutes by default IIRC) applies to all terminals. `sudo bash` anyone? Stefan

Re: sudoers question

2023-05-12 Thread Nicolas George
Greg Wooledge (12023-05-12): > If you're launching a terminal, running a single sudo command, closing > the terminal, opening a new terminal, etc. ... then perhaps you should > stop doing that. Leave your terminal open, at least until you're done > with whatever administrative task you're doing.

Re: sudoers question

2023-05-12 Thread Greg Wooledge
On Fri, May 12, 2023 at 08:13:31PM +0800, Tom Reed wrote: > that's normal. for example, I have to check every kind of logs (mail, > webserver, systems etc). They require sudo then. If you check the logs all at once, as part of a daily routine, then you only have to type the password one time, at t

Re: sudoers question

2023-05-12 Thread Andrew M.A. Cater
On Fri, May 12, 2023 at 07:27:25PM +0800, Tom Reed wrote: > Hello > > what's the right way to add an user to run sudo without password? > I have to edit /etc/sudoers by manual. But I don't think it's a grace way. > > Thanks. > Tom > As others have said: sudo is *designed* this way - you have to

Re: sudoers question

2023-05-12 Thread Nicolas George
Tom Reed (12023-05-12): > that's normal. for example, I have to check every kind of logs (mail, > webserver, systems etc). They require sudo then. No they do not. You just have to adjust files permissions if they are not correct by default, which they usually are. My crystal ball tells me you neg

Re: sudoers question

2023-05-12 Thread Greg Wooledge
On Fri, May 12, 2023 at 08:03:00PM +0800, Tom Reed wrote: > for a common account, such as tom, a nopasswd sudo also makes sense? > otherwise every time i have to input password for sudo. Within a given terminal session, you only have to enter your passwors once. This will allow passwordless sudo

Re: sudoers question

2023-05-12 Thread Tom Reed
> Tom Reed (12023-05-12): >> otherwise every time i have to input password for sudo. > > Yes, that is the point. > > If “every time” is a lot for you, maybe your use habits need to be > reviewed. > that's normal. for example, I have to check every kind of logs (mail, webserver, systems etc). They

Re: sudoers question

2023-05-12 Thread Nicolas George
Tom Reed (12023-05-12): > otherwise every time i have to input password for sudo. Yes, that is the point. If “every time” is a lot for you, maybe your use habits need to be reviewed. Regards, -- Nicolas George

Re: sudoers question

2023-05-12 Thread Tom Reed
> On Fri, May 12, 2023 at 07:27:25PM +0800, Tom Reed wrote: >> what's the right way to add an user to run sudo without password? >> I have to edit /etc/sudoers by manual. But I don't think it's a grace >> way. > > *Without password*?? Yes, that will require a manual edit. > > There is no "graceful

Re: sudoers question

2023-05-12 Thread Greg Wooledge
On Fri, May 12, 2023 at 07:27:25PM +0800, Tom Reed wrote: > what's the right way to add an user to run sudo without password? > I have to edit /etc/sudoers by manual. But I don't think it's a grace way. *Without password*?? Yes, that will require a manual edit. There is no "graceful way" to gran

Re: SOLVED:Re: repeat of previous question that hasgoneunansweredseveraltimes.

2023-05-12 Thread Vincent Lefevre
On 2023-05-12 06:26:00 -0400, gene heskett wrote: > I'm not able to test that on the bpi's, telnet is not installed. You can try with nmap: $ nmap -p 631 localhost $ nmap -p 631 PORTSTATE SERVICE 631/tcp open ipp means that you can connect. PORTSTATE SERVICE 631/tcp closed ipp mean

Re: SOLVED:Re: repeat of previous question that hasgoneunansweredseveraltimes.

2023-05-12 Thread Vincent Lefevre
On 2023-05-12 06:23:56 -0400, gene heskett wrote: > I'm confused. There is not anything wrong with this machine as a Server. > ALL of this muttering and bitching has been because bookworm clients did NOT > work. buster clients work great. > > How many times do I have to say it is/was a CLIENT prob

sudoers question

2023-05-12 Thread Tom Reed
Hello what's the right way to add an user to run sudo without password? I have to edit /etc/sudoers by manual. But I don't think it's a grace way. Thanks. Tom

Re: SOLVED:Re: repeat of previous question that hasgoneunansweredseveraltimes.

2023-05-12 Thread Greg Wooledge
On Fri, May 12, 2023 at 06:26:00AM -0400, gene heskett wrote: > On 5/12/23 05:18, Vincent Lefevre wrote: > > Fine. And you can try the same thing from a different machine on > > the network, replacing "localhost" by the IP address of the server, > > e.g. from another machine on my network: > > > >

Re: SOLVED:Re: repeat of previous question that hasgoneunansweredseveraltimes.

2023-05-12 Thread gene heskett
On 5/12/23 05:18, Vincent Lefevre wrote: On 2023-05-11 21:34:11 -0400, gene heskett wrote: On 5/11/23 19:41, Vincent Lefevre wrote: On 2023-05-11 18:24:39 -0400, Greg Wooledge wrote: My questions would be: 1) Can you put *both* Listen lines in, to keep loopback working? The cupsd.conf(5) ma

Re: SOLVED:Re: repeat of previous question that hasgoneunansweredseveraltimes.

2023-05-12 Thread gene heskett
On 5/12/23 05:18, Vincent Lefevre wrote: On 2023-05-11 21:34:11 -0400, gene heskett wrote: On 5/11/23 19:41, Vincent Lefevre wrote: On 2023-05-11 18:24:39 -0400, Greg Wooledge wrote: My questions would be: 1) Can you put *both* Listen lines in, to keep loopback working? The cupsd.conf(5) ma

Re: ssh-keygen as a regular user

2023-05-12 Thread jeremy ardley
On 12/5/23 13:50, Jeremy Ardley wrote: ode[ ssh-keygen usually works better than ssh-keygem try cd mkdir .ssh ssh-keygen I now remember some ssh functions check file and directory permissions and will fail if not correct Improved procedure: cd mkdir .ssh chmod 700 .ssh ssh-keyge

Re: SOLVED:Re: repeat of previous question that has goneunansweredseveraltimes.

2023-05-12 Thread Vincent Lefevre
On 2023-05-11 21:34:11 -0400, gene heskett wrote: > On 5/11/23 19:41, Vincent Lefevre wrote: > > On 2023-05-11 18:24:39 -0400, Greg Wooledge wrote: > > > My questions would be: > > > > > > 1) Can you put *both* Listen lines in, to keep loopback working? > > > > The cupsd.conf(5) man page says: "M