Re: [Tails-dev] [PATCH] Disable usage of su and ask the user to use sudo instead (refs:15583)

2018-12-07 Thread intrigeri
Hi Faisal, Faisal Mehmood: > This commit contains a new chroot hook file. The hook, upon execution by > live-build, will add a function 'su' to '/etc/bash.bashrc'. The > function 'su' is supposed to intercept calls to 'su' and take these > steps: Thanks! I'll review this and will comment on

[Tails-dev] [PATCH] Disable usage of su and ask the user to use sudo instead (refs:15583)

2018-11-28 Thread Faisal Mehmood
This commit contains a new chroot hook file. The hook, upon execution by live-build, will add a function 'su' to '/etc/bash.bashrc'. The function 'su' is supposed to intercept calls to 'su' and take these steps: 1. Ask the user to set the administration password, if not already set. 2. Ask the