Re: password set at installation of debian-10.10.0-amd64 not recognized

2021-08-15 Thread Stefan Monnier
> You don't really get that far if your root FS is unmountable. Hmm... if it truly can't be mounted, then the system can't read `/etc/passwd` and then whether there is a root account or not makes no difference. In the "usual" case where the root FS is readable but fsck found errors, then indeed

Re: password set at installation of debian-10.10.0-amd64 not recognized

2021-08-15 Thread tomas
On Sun, Aug 15, 2021 at 11:00:26AM -0400, Stefan Monnier wrote: > > You don't really get that far if your root FS is unmountable. > > Hmm... if it truly can't be mounted, then the system can't read > `/etc/passwd` and then whether there is a root account or not makes > no difference. That's

Re: password set at installation of debian-10.10.0-amd64 not recognized

2021-08-15 Thread Greg Wooledge
On Sun, Aug 15, 2021 at 11:00:26AM -0400, Stefan Monnier wrote: > Of course, the existence of a root password can occasionally be handy > for things like `rsync` (strictly speaking, you can probably arrange > for rsync to first log in as a normal user and then use `sudo`, but > it requires a fair

Re: password set at installation of debian-10.10.0-amd64 not recognized

2021-08-15 Thread Greg Wooledge
On Sun, Aug 15, 2021 at 08:49:49AM +0200, to...@tuxteam.de wrote: > [trying to enter single user mode requires a root password] > > Of course, there are ways around that, but all of them involve having > access to another living instance of an operating system, Not all. You can supply kernel

Re: password set at installation of debian-10.10.0-amd64 not recognized

2021-08-15 Thread tomas
On Sun, Aug 15, 2021 at 12:15:07PM +0300, Reco wrote: > Hi. > > On Sun, Aug 15, 2021 at 08:49:49AM +0200, to...@tuxteam.de wrote: [...] > > Up to now, there is exactly one case I am aware of when you'd wish > > you had a root password: at boot, the root file system is deemed > > too

Re: password set at installation of debian-10.10.0-amd64 not recognized

2021-08-15 Thread Reco
Hi. On Sun, Aug 15, 2021 at 08:49:49AM +0200, to...@tuxteam.de wrote: > On Sat, Aug 14, 2021 at 06:06:50PM -0400, Stefan Monnier wrote: > > > Nevertheless there are rare cases only root can make changes. > > > > You mean cases where `sudo zsh -l` is not an option? > > Up to now, there

Re: password set at installation of debian-10.10.0-amd64 not recognized

2021-08-15 Thread tomas
On Sat, Aug 14, 2021 at 06:06:50PM -0400, Stefan Monnier wrote: > > Nevertheless there are rare cases only root can make changes. > > You mean cases where `sudo zsh -l` is not an option? Up to now, there is exactly one case I am aware of when you'd wish you had a root password: at boot, the root

Re: password set at installation of debian-10.10.0-amd64 not recognized

2021-08-14 Thread Stefan Monnier
> Nevertheless there are rare cases only root can make changes. You mean cases where `sudo zsh -l` is not an option? Stefan

Re: password set at installation of debian-10.10.0-amd64 not recognized

2021-08-14 Thread Charles Curley
On Sat, 14 Aug 2021 17:00:39 -0400 Thomas George wrote: > Nevertheless there are rare cases only root can make changes. > > What to do? Check out "sudo -i". -- Does anybody read signatures any more? https://charlescurley.com https://charlescurley.com/blog/

Re: password set at installation of debian-10.10.0-amd64 not recognized

2021-08-14 Thread Nicolas George
Thomas George (12021-08-14): > The installation from a usb stick went smoothly. Everything works sudo > commands work so I will rarely need to log on as root. > > Nevertheless there are rare cases only root can make changes. > > What to do? sudo passwd Regards, -- Nicolas George