You are not logged in.

#26 2020-10-15 06:08:38

ducamps
Member
Registered: 2016-12-18
Posts: 25

Re: post_install not executed

Just chsh for root, what are you doing there?

I have understood that is not recomended to change default shell for Root.

Last edited by ducamps (2020-10-15 06:08:59)

Offline

#27 2020-10-15 06:20:13

GaKu999
Member
From: US/Eastern
Registered: 2020-06-21
Posts: 382

Re: post_install not executed

ducamps wrote:

Just chsh for root, what are you doing there?

I have understood that is not recomended to change default shell for Root.

Hmp, that’s equally the same as hardcoding zsh into root bashrc...

If you consider zsh as default for root unsafe, then don’t use zsh for root at all...


My reposSome snippets

Heisenberg might have been here.

Offline

#28 2020-10-15 10:56:56

ducamps
Member
Registered: 2016-12-18
Posts: 25

Re: post_install not executed

I think it s more secure in the case or you uninstall by mystake zsh you Can t log with root account if zsh IS your default Root shell

Offline

#29 2020-10-15 17:41:39

loqs
Member
Registered: 2014-03-06
Posts: 11,917

Re: post_install not executed

If you make the mistake of removing roots shell use emergency.target which will use sulogin which will detect the missing shell and fallback to sh.
If that fails use live media to chroot in and use chsh to fix the shell.

Offline

Board footer

Powered by FluxBB