Re: security of debian default sudoers file (was: dead lock)

2021-10-17 Thread Keith Bainbridge
On 17/10/21 20:41, Gregor Zattler wrote: PS: in my opinion you should avoid creating a sudoers file unless you really know what you are doing. the defaults are very insecure. So force sudo to use the root passwd. After you ensure your root passwd works, simply add the line: Defaults

security of debian default sudoers file (was: dead lock)

2021-10-17 Thread Gregor Zattler
Hi Peter, * Peter Ehlert [2021-10-14; 06:30]: > PS: in my opinion you should avoid creating a sudoers file unless you > really know what you are doing. the defaults are very insecure. Could you please elaborate on this, or provide a pointer? Thanks; Gregor -- -... --- .-. . -.. ..--.. ...-.-

Re: dead lock

2021-10-16 Thread Keith Bainbridge
On 17/10/21 00:33, Greg Wooledge wrote: On Sat, Oct 16, 2021 at 03:00:28PM +1100, Keith Bainbridge wrote: On 15/10/21 00:14, Greg Wooledge wrote: If for some reason you've forgotten the root password that you used during installation, or you've lost your membership in the sudo group, then yo

Re: dead lock

2021-10-16 Thread Greg Wooledge
On Sat, Oct 16, 2021 at 03:00:28PM +1100, Keith Bainbridge wrote: > > On 15/10/21 00:14, Greg Wooledge wrote: > > If for some reason you've forgotten the root password that you used > > during installation, or you've lost your membership in the sudo group, > > then you can add "init=/bin/bash" to

Re: dead lock

2021-10-15 Thread Keith Bainbridge
On 15/10/21 00:14, Greg Wooledge wrote: If for some reason you've forgotten the root password that you used during installation, or you've lost your membership in the sudo group, then you can add "init=/bin/bash" to the kernel parameters in GRUB, re-mount the root file system read/write, run th

Re: dead lock

2021-10-14 Thread Stanislav Vlasov
2021-10-14 17:54 GMT+05:00, Pierre Frenkiel : > hi > After a Debian install on my amd64 laptop, I'm faced to what looks like > a beautiful dead lock: > I wanted to set a root account, but that was refused because I'm not > in /etc/sudoers, and to put me in this file, I

Re: dead lock

2021-10-14 Thread Peter Ehlert
On 10/14/21 5:54 AM, Pierre Frenkiel wrote: hi After  a Debian install on my amd64 laptop, I'm faced to what looks like a beautiful dead lock: I wanted to set a root account, but that was refused because I'm not in /etc/sudoers, and to put me in this file, I need root privilege! prov

Re: dead lock

2021-10-14 Thread Greg Wooledge
On Thu, Oct 14, 2021 at 02:54:26PM +0200, Pierre Frenkiel wrote: > After a Debian install on my amd64 laptop, I'm faced to what looks like > a beautiful dead lock: > I wanted to set a root account, but that was refused because I'm not > in /etc/sudoers, and to put me in

dead lock

2021-10-14 Thread Pierre Frenkiel
hi After a Debian install on my amd64 laptop, I'm faced to what looks like a beautiful dead lock: I wanted to set a root account, but that was refused because I'm not in /etc/sudoers, and to put me in this file, I need root privilege! I suppose that there is a solution, but I couldn