# Change default login shell

**URL:** <http://hpc-community.unige.ch/t/change-default-login-shell/2080>\
**Category:** HPC Technical\
**Created:** [March 10, 2022, 4:00pm UTC](http://hpc-community.unige.ch/t/change-default-login-shell/2080 "2022-03-10T16:00:48Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Louis.Legrand](http://hpc-community.unige.ch/letter_avatar_proxy/v4/letter/l/87869e/32.png) [@Louis.Legrand](http://hpc-community.unige.ch/u/Louis.Legrand)\
**Post date:** [March 10, 2022, 4:00pm UTC](http://hpc-community.unige.ch/t/change-default-login-shell/2080/1 "2022-03-10T16:00:48Z")

</div>

Hello,

I am trying to change my default login shell on yggdrasil to zsh. I checked on the hpc wiki and on this forum but could not find any info.

I am trying to do

```auto
chsh -s /bin/zsh legranlo 

```

but I get the following error message:

```auto
chsh: Échec d'authentification
chsh: échec de modification de l'attribut d'utilisateur: Permission non accordée

```

I triple checked that I didn’t do a mistake in my user name and password.  
So maybe we do not have the rights to change our login shell ?

---

<div class="post-metadata">

**Author:** ![Berk.Gercek](http://hpc-community.unige.ch/letter_avatar_proxy/v4/letter/b/2bfe46/32.png) [@Berk.Gercek](http://hpc-community.unige.ch/u/Berk.Gercek)\
**Post date:** [April 11, 2023, 10:19am UTC](http://hpc-community.unige.ch/t/change-default-login-shell/2080/2 "2023-04-11T10:19:46Z")

</div>

Reviving this because I’m also interested in changing to zsh for various reasons

---

<div class="post-metadata">

**Author:** ![Gael.Rossignol](http://hpc-community.unige.ch/user_avatar/hpc-community.unige.ch/gael.rossignol/32/206_2.png) [@Gael.Rossignol](http://hpc-community.unige.ch/u/Gael.Rossignol)\
**Post date:** [April 11, 2023, 12:31pm UTC](http://hpc-community.unige.ch/t/change-default-login-shell/2080/3 "2023-04-11T12:31:45Z")

</div>

Hello,

Only admins are able to change shell because it needs to be deployed on all server in the cluster. Give me your prerequisite and I will change it for you.

Best regards,
