You are not logged in.

#1 2013-07-04 14:55:34

BKLive
Member
From: Georgia
Registered: 2008-01-28
Posts: 125

[SOLVED] changing to zsh borks login

I am trying a fresh installation with Gnome to get 3.8, and when I run a

usermod -s /bin/zsh user

it makes the login of that user no longer work. only when I switch back to bash (through the live CD) am I able to log in again. Specifically it says "Authentication Failure" when trying to log in. However, if I am in a regular user and elevate to root with zsh as the shell, it allows me to switch to root, and the shell is zsh. Am I setting the shell incorrectly? Is there some newer method for this?

----------------SOLVED------------------

using chsh showed me that zsh was not linked in /bin/zsh and the /etc/shells file showed its location as /usr/bin/zsh

chsh user -s /usr/bin/zsh

fixed the issue.

Last edited by BKLive (2013-07-04 15:01:15)


Main Arch Setup: HP Pavillion p7-1209, Quad-Core i3-2120 3.3Ghz, 8GB RAM, 1TB HDD, Intel Graphics
Laptop Arch Setup: Gateway lt3103u Netbook, AMD Athlon64 1.2Ghz, 2GB RAM, 250GB HDD, ATI X1270 R600

Offline

#2 2013-07-04 14:57:12

HalosGhost
Forum Fellow
From: Twin Cities, MN
Registered: 2012-06-22
Posts: 2,097
Website

Re: [SOLVED] changing to zsh borks login

Why are you trying to use usermod for this instead of chsh?

All the best,

-HG

Offline

#3 2013-07-04 14:59:11

BKLive
Member
From: Georgia
Registered: 2008-01-28
Posts: 125

Re: [SOLVED] changing to zsh borks login

I was unaware of that tool. I have just been using usermod for years. I will give that a shot


Main Arch Setup: HP Pavillion p7-1209, Quad-Core i3-2120 3.3Ghz, 8GB RAM, 1TB HDD, Intel Graphics
Laptop Arch Setup: Gateway lt3103u Netbook, AMD Athlon64 1.2Ghz, 2GB RAM, 250GB HDD, ATI X1270 R600

Offline

#4 2013-07-05 11:40:53

karol
Archivist
Registered: 2009-05-06
Posts: 25,440

Offline

#5 2013-07-05 14:16:53

BKLive
Member
From: Georgia
Registered: 2008-01-28
Posts: 125

Re: [SOLVED] changing to zsh borks login

thanks karol, great information


Main Arch Setup: HP Pavillion p7-1209, Quad-Core i3-2120 3.3Ghz, 8GB RAM, 1TB HDD, Intel Graphics
Laptop Arch Setup: Gateway lt3103u Netbook, AMD Athlon64 1.2Ghz, 2GB RAM, 250GB HDD, ATI X1270 R600

Offline

Board footer

Powered by FluxBB