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.
In Debian/Slackware when I try to halt or reboot as an ordinary user
from console terminal, I am not allowed to do so (I get the msg
" only root can do that"). Using the chmod +777 command does not help.
But from GUI mode , I can halt the system as an ordinary user. How ?
Also in Debian , root is not given access to GUI. How to change it?
All you need to change this attitude is to learn, learn about Linux, about security etc. Finally you'll understand root account is not an user account and the GUI is designed for users.
For an average home user, the security need not be so tight
(as in other distros). I never login as root and even I had
to use root's privileges I use a console terminal for that.
Just I wanted to know how to get around the problem.
Don't remember exactly, I think it was somewhere in XDM config file.
Security is needed for home users too. MS is using admin account as user account to please their braindead customers. As a result the spam arriving to my mailbox is relayed thru Windows mail zombies (was it 70% of spam all over the world?). And I hate it.
The suggestion that I do not recommend for all systems is set a sticky bit for the halt or reboot command. To do this set halt or reboot to 1555. This will make it read and execute for everybody. It is better to set it to 1550 and add a new group. Then specify what users can halt and reboot the system. I highly recommend setting up sudo, so certain users can halt and reboot the computer.