Linux - NewbieThis Linux forum is for members that are new to Linux.
Just starting out and have a question?
If it is not in the man pages or the how-to's this is the place!
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.
Introduction to Linux - A Hands on Guide
This guide was created as an overview of the Linux Operating System, geared toward new users as an exploration tour and getting started guide, with exercises at the end of each chapter.
For more advanced trainees it can be a desktop reference, and a collection of the base knowledge needed to proceed with system and network administration. This book contains many real life examples derived from the author's experience as a Linux system and network administrator, trainer and consultant. They hope these examples will help you to get a better understanding of the Linux system and that you feel encouraged to try out things on your own.
Click Here to receive this Complete Guide absolutely free.
Hello. I was really stupid and got rid of Bash because I wanted to replace it with Zsh, well I shouldn't have done that simply because now everything is screwed and I can't even login as root to reinstall it. I am using Debian Sid and I was wondering if I could alter my account to enable me to use apt-get as a user and then once it's fixed I could change it back to make it where I do not have root abilities (a bit safer that way). I can't even startx - I'm writing in Links2, please help. Thanks for any help. By the way, I actually do enjoy doing stuff in a console, I don't care about X. I'm just a bit nervous that I can't login as root and use apt-get to get bash back. I have sudo on my box but I have no idea on how to set it up, I used sudo in Fedora and it was really great. Any help would be most appreciated. One more thing - I know this is the Newbie forum and this may or may not belong here specifically but I'm in Links and everything is going crazy, I like w3m but again; no root so no apt-get. Well thanks for the help.
there's no nice way to do this, and i'm sure to can appreciate why it's a bad thing to be able to do if you can't be root. what you can do though is boot up linux into a single user mode, i.e. where only root exists (and next to nothing else works). just add a "1" or "single" to the boot command when you start loading up, at the lilo or grub screen. e to edit in grub, can't remember what it is for lilo offhand. then you'll quickly be dropped into a console as root.
Originally posted by acid_kewpie there's no nice way to do this, and i'm sure to can appreciate why it's a bad thing to be able to do if you can't be root. what you can do though is boot up linux into a single user mode, i.e. where only root exists (and next to nothing else works). just add a "1" or "single" to the boot command when you start loading up, at the lilo or grub screen. e to edit in grub, can't remember what it is for lilo offhand. then you'll quickly be dropped into a console as root.
Using what shell though? If he's buggered up bash, isn't it going to struggle to find a command interpreter?