You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
The reason will be displayed to describe this comment to others. Learn more.
I get that you don't think that people should be using chsh and should set an alternate shell in their terminal app. Yes I can and will just edit my /etc/passwd file with sudoedit because I often access my systems via ssh. This is just too far, IMHO.
As an alternative to deleting the tool (generally only people that are going to use it will be able to modify it anyway now that it's not in a just easy access wrapper). I can write a wrapper script to go in /usr/bin/chsh.wrapper and shell aliases for /etc/profile.d that can show your reasoning and a link to the post on how to setup the terminal, before asking to continue. But the chsh command provides some safety checking that you are specifying a real shell (no typos and correct path). IMHO, you're in effect currently making the bad outcomes more likely.
1298125
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I get that you don't think that people should be using
chsh
and should set an alternate shell in their terminal app. Yes I can and will just edit my/etc/passwd
file withsudoedit
because I often access my systems via ssh. This is just too far, IMHO.As an alternative to deleting the tool (generally only people that are going to use it will be able to modify it anyway now that it's not in a just easy access wrapper). I can write a wrapper script to go in
/usr/bin/chsh.wrapper
and shell aliases for/etc/profile.d
that can show your reasoning and a link to the post on how to setup the terminal, before asking to continue. But thechsh
command provides some safety checking that you are specifying a real shell (no typos and correct path). IMHO, you're in effect currently making the bad outcomes more likely.