LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 08-10-2005, 10:49 AM   #1
abrouwers
Member
 
Registered: May 2005
Location: Michigan
Distribution: Slackware -current
Posts: 98

Rep: Reputation: 37
zsh as root?


Hey guys,

I recently switched from bash to zsh for my user shell...works absolutely amazing! However, when I "su" to root, I'm back to a bash prompt.

Any simple way to switch root over to zsh as well?

Thanks,

Andrew
 
Old 08-10-2005, 10:53 AM   #2
Matir
LQ Guru
 
Registered: Nov 2004
Location: San Jose, CA
Distribution: Ubuntu
Posts: 8,507

Rep: Reputation: 128Reputation: 128
Have you changed root's shell to be zsh? (i.e., chsh or edit /etc/passwd?)
 
Old 08-10-2005, 02:28 PM   #3
abrouwers
Member
 
Registered: May 2005
Location: Michigan
Distribution: Slackware -current
Posts: 98

Original Poster
Rep: Reputation: 37
No...that's what I was wondering the best method to do so. chsh is new to me.

Thanks,

Andrew
 
Old 08-10-2005, 02:37 PM   #4
Matir
LQ Guru
 
Registered: Nov 2004
Location: San Jose, CA
Distribution: Ubuntu
Posts: 8,507

Rep: Reputation: 128Reputation: 128
Code:
chsh -s /bin/zsh
as root should do. Let us know how it works out.
 
Old 08-10-2005, 02:54 PM   #5
abrouwers
Member
 
Registered: May 2005
Location: Michigan
Distribution: Slackware -current
Posts: 98

Original Poster
Rep: Reputation: 37
Sure thing...I'll try right when I get home.

Also, should I just copy my .zshrc to /root to keep the settings?

Thanks again.
 
Old 08-10-2005, 02:58 PM   #6
Matir
LQ Guru
 
Registered: Nov 2004
Location: San Jose, CA
Distribution: Ubuntu
Posts: 8,507

Rep: Reputation: 128Reputation: 128
If you want those same settings, then go for it.
 
Old 08-13-2005, 02:54 PM   #7
abrouwers
Member
 
Registered: May 2005
Location: Michigan
Distribution: Slackware -current
Posts: 98

Original Poster
Rep: Reputation: 37
Sweet...it worked perfect. Thanks for the tip!
 
Old 08-13-2005, 03:14 PM   #8
Matir
LQ Guru
 
Registered: Nov 2004
Location: San Jose, CA
Distribution: Ubuntu
Posts: 8,507

Rep: Reputation: 128Reputation: 128
No problem. Glad it worked out for you.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Bash or Zsh reddazz Linux - General 5 05-27-2005 08:16 AM
zsh transparency Ops Linux - Software 1 07-08-2004 10:01 AM
ZSH Highlighting chrisk5527 Linux - General 2 02-28-2004 09:23 AM
zsh equivalents in bash saurya_s Linux - General 1 01-04-2004 03:06 AM
Zsh rch Linux - General 0 05-22-2003 03:59 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 08:27 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration