SlackwareThis Forum is for the discussion of Slackware Linux.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
Still new to Slack, and was attempting to chage to zshell last night as a friend of mine said I ought to try it out.
Not exactly sure the command I put in, soemthing along the lines of
Code:
chsh -s zsh root
But it may have been slightly different.
Anyways, now, after a shutdown, I can't login anymore. The message I get is:
Code:
login: root
password: xxxx
Linux 2.6.21.5~smp.
Last login: Wed Nov 14 .9:13:52 -0500 2007 on tty1.
You have mail.
Cannot execute zsh: No such file or directory
Then it gives me the login line again.
Running Slack 12, fresh install, and I was just in the process of setting up the system the wy I want it, so don't think I'm generally running in root :P
I haven't added any users yet as I'm still configuring everything or I'd have tried logging in to that user.
So basically, can I fix this? Or am I stuck reinstalling? I haven't done a ton of work on the system so a reinstll wouldn't kill me, but would still like to know how to fix this so that I can do it the next time I screw up. ^_^
You shouldn't have to reinstall. But you may have to download a live-cd of some kind. I prefer Slax Frodo for jobs like this, BTW. Once you have booted the live-cd, be sure your root partition is mounted somewhere, then edit your root line in /etc/passwd to match the following:
Quote:
root:x:0:0::/root:/bin/bash
Be sure that you just edit the name of the shell. Doing any more could cause more problems.
Regards,
Bill
First, are you sure you have zsh installed on the system? (I ask because on one of my systems I just assumed it was there, switched to zsh, and felt really dumb when I finally figured out why my login was failing.) Simply installing that package might solve your problem.
Second, I know you already have a copy of Slax, but for future reference, the Slackware install CD will allow you either to boot fully from the CDROM, so you can mount and modify your partitions independently, or boot your normal system using a kernel from the CD. (Useful if you bollix your kernel or lilo setup).
Well, I got it fixed and then went searching and it turns out zsh isn't there after all. :P
I think I'm going to wait for a little while before trying anything more alien anyways. I'm coming from Ubuntu with Gnome, so I'm getting used to a whole new system here and it's taking all my efforts to just figure out how to compile and install new packages.
And here I thought Ubuntu would be a good way to learn linux... /sigh
and have followed the directions there as best I could. downloaded and unpacked the tar to /usr/local/src but when I go to run ./configure I get an error saying:
Code:
Bash: ./configure: No such file or directory
What am I missing here? I'm sure as usual it's something painfully simple and/or obvious.;
Just downloaded slapt-get pkg and am trying to install it.
If you downloaded the slapt-get package then compilation is unnecessary. Just change to the directory into which you downloaded the package and run as root
Code:
installpkg ./slapt-get-0.9.12c-i386-1.tgz
(If the numbers are a little different, use the appropriate values.)
Once I've got my bearings I'll give it a try, for now I'm fairly used to the way bash works so I'll stick with that till I run out of other things to play with.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.