You are not logged in.
I'm using archiso and looking to change the default shell from zsh to bash, but I don't know where to set it. /etc/passwd perhaps?
Offline
If you type 'bash' it should work.
Permanent solution: https://wiki.archlinux.org/index.php/Zs … ault_shell (haven't tried it)
Offline
Moving from Arch Discussion to Newbie Corner.
aur S & M :: forum rules :: Community Ethos
Resources for Women, POC, LGBT*, and allies
Offline
man 1 chsh
Offline
I don't think you understand. I'm building the ISO myself, as in this: https://wiki.archlinux.org/index.php/Archiso
I know the official media is made using archiso, that's why I put this thread in Arch discussion. I need to know how to change it before building the image, not while the system is running. By default the media uses zsh, and I need to change that to bash, but I don't know where to change that in any of the build configs.
Offline
You can revert the recent changes:
* http://projects.archlinux.org/archiso.g … acc2ced789
* http://projects.archlinux.org/archiso.g … b996ab6aa1
Offline
You can revert the recent changes:
* http://projects.archlinux.org/archiso.g … acc2ced789
* http://projects.archlinux.org/archiso.g … b996ab6aa1
Ahh, this is what I needed. Thank you!
Offline
man 1 chsh
Not zsh?
Online
WonderWoofy wrote:man 1 chsh
Not zsh?
Ummm, what do you mean?
Offline
Awebb wrote:WonderWoofy wrote:man 1 chsh
Not zsh?
Ummm, what do you mean?
Awebb probably read it as 'man csh'
Offline
By default the media uses zsh, and I need to change that to bash
Just one question (think of it as a teachable moment for you and a learning opportunity for me; I really am curious) -- why do you need to change the shell? Do you have a script that will run in bash but won't run in zsh, or do you really dislike zsh, or ?
How to post. A sincere effort to use modest and proper language and grammar is a sign of respect toward the community.
Offline
karol wrote:Awebb wrote:Not zsh?
Ummm, what do you mean?
Awebb probably read it as 'man csh'
You solved the riddle. Nothing to see here :-)
Online
Do you have a script that will run in bash but won't run in zsh, or do you really dislike zsh, or ?
Isn't that what the shebang is for? So you can indicate what shell your script is intended to run in?
Offline
2ManyDogs wrote:Do you have a script that will run in bash but won't run in zsh, or do you really dislike zsh, or ?
Isn't that what the shebang is for? So you can indicate what shell your script is intended to run in?
Yes, it is. I was really just reaching for some reason why the op would need to change the shell; I just can't think of any other than personal preference...
How to post. A sincere effort to use modest and proper language and grammar is a sign of respect toward the community.
Offline
Speaking of personal preference, from using the new live media, I enjoyed zsh so much I made it my default shell.
Offline