Re: [arch-general] Initramfs fallback render

2013-11-17 Thread Ismael Bouya
Hum I started to write answers to different emails, but it looks like I messed things between an actual problem (A non-critical hard disk that crashed with no "nofail" option in the fstab) and my tries afterwards to boot in rescue/emergency mode. To answer to Gaëtan, the message that I saw was exa

Re: [arch-general] Initramfs fallback render

2013-11-17 Thread Rodrigo Rivas
On Fri, Nov 15, 2013 at 7:35 PM, Curtis Shimamoto < sugar.and.scru...@gmail.com> wrote: > On 11/15/13 at 06:37pm, Ismael Bouya wrote: > > By the way I came to a "dark" point : how does systemd knows that he is > > started in fallbackmode ? > > Likely, something is broken with your fallback initram

Re: [arch-general] Initramfs fallback render

2013-11-15 Thread Gaetan Bisson
[2013-11-15 01:55:12 +0100] Ismael Bouya: > when we need to boot into "fallback mode", initramfs asks for root > password! What is the exact prompt that seems to be asking for the root password? Wouldn't there be any helpful info/warning/error messages preceding it? That'd clear up some confusion

Re: [arch-general] Initramfs fallback render

2013-11-15 Thread Curtis Shimamoto
On 11/15/13 at 06:37pm, Ismael Bouya wrote: > By the way I came to a "dark" point : how does systemd knows that he is > started in fallbackmode ? Likely, something is broken with your fallback initramfs. Booting from the fallback should be no different than booting from the normal initramfs. T

Re: [arch-general] Initramfs fallback render

2013-11-15 Thread Leonid Isaev
On Fri, 15 Nov 2013 08:33:33 -0800 Anatol Pomozov wrote: > Hi > > On Fri, Nov 15, 2013 at 7:02 AM, Thomas Bächler wrote: > > Am 15.11.2013 15:55, schrieb Anatol Pomozov: > >> The "correct" way to disable root completely is to make it expired > >> "usermod --expiredate DATE_IN_PAST root". I trie

Re: [arch-general] Initramfs fallback render

2013-11-15 Thread Ismael Bouya
(Fri, Nov 15, 2013 at 06:00:58PM +0100) Ismael Bouya : > (Fri, Nov 15, 2013 at 02:52:33PM +0100) Rodrigo Rivas : > > Yes, I thought that was the point. But you want to use the user password... > > the same as with "sudo", makes sense. > > You could using "login" instead of "sulogin". Or if you feel

Re: [arch-general] Initramfs fallback render

2013-11-15 Thread Ismael Bouya
(Fri, Nov 15, 2013 at 02:52:33PM +0100) Rodrigo Rivas : > Yes, I thought that was the point. But you want to use the user password... > the same as with "sudo", makes sense. > You could using "login" instead of "sulogin". Or if you feel brave enough > you could even add a link to "getty@tty2.servic

Re: [arch-general] Initramfs fallback render

2013-11-15 Thread Anatol Pomozov
Hi On Fri, Nov 15, 2013 at 7:02 AM, Thomas Bächler wrote: > Am 15.11.2013 15:55, schrieb Anatol Pomozov: >> The "correct" way to disable root completely is to make it expired >> "usermod --expiredate DATE_IN_PAST root". I tried it on my machine and >> found that pacman is broken. I believe it use

Re: [arch-general] Initramfs fallback render

2013-11-15 Thread Thomas Bächler
Am 15.11.2013 15:55, schrieb Anatol Pomozov: > The "correct" way to disable root completely is to make it expired > "usermod --expiredate DATE_IN_PAST root". I tried it on my machine and > found that pacman is broken. I believe it uses "su" before running > install scripts. Nothing about disabling

Re: [arch-general] Initramfs fallback render

2013-11-15 Thread Anatol Pomozov
Hi On Thu, Nov 14, 2013 at 4:55 PM, Ismael Bouya wrote: > Hi all, > > I have always learnt that it was good practice (to use sudo instead of root > su and), when we use sudo, to completely disable root login (by disabling > his password). In fact disabling root password does not completely preve

Re: [arch-general] Initramfs fallback render

2013-11-15 Thread Rodrigo Rivas
On Fri, Nov 15, 2013 at 10:05 AM, Ismael Bouya wrote: > (Fri, Nov 15, 2013 at 09:45:15AM +0100) Rodrigo Rivas : > > On Fri, Nov 15, 2013 at 1:55 AM, Ismael Bouya > > wrote: > > > However when we need to boot into "fallback mode", initramfs asks for > root > > > password! Is there a standard/automa

Re: [arch-general] Initramfs fallback render

2013-11-15 Thread Ismael Bouya
(Fri, Nov 15, 2013 at 09:45:15AM +0100) Rodrigo Rivas : > On Fri, Nov 15, 2013 at 1:55 AM, Ismael Bouya > wrote: > > However when we need to boot into "fallback mode", initramfs asks for root > > password! Is there a standard/automated way to ask/permit another user via > > initramfs in Archlinux?

Re: [arch-general] Initramfs fallback render

2013-11-15 Thread Rodrigo Rivas
On Fri, Nov 15, 2013 at 1:55 AM, Ismael Bouya wrote: > Hi all, > > I have always learnt that it was good practice (to use sudo instead of root > su and), when we use sudo, to completely disable root login (by disabling > his password). > Well, good practices are sometimes questioned... > Howeve

[arch-general] Initramfs fallback render

2013-11-14 Thread Ismael Bouya
Hi all, I have always learnt that it was good practice (to use sudo instead of root su and), when we use sudo, to completely disable root login (by disabling his password). However when we need to boot into "fallback mode", initramfs asks for root password! Is there a standard/automated way to as