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.
I have setup a box that basically hosts a web page, ftp, mail, and several other services.
It has been on the internet for about 3 days now and I had to shut it down today and when I typed in shutdown now -h
it came back with bash: shutdown: command not found
I log in as myself then SU as root to issue the command.
The /sbin directory has a file called shutdown it is in green. What I am wondering is this possiblily a rootkit? I have read where hackers come in and install a rootkit and some commands stop working right. I checked all logs in
/var/log and I don't see any sign of any IP address except my own connections. My system is RH 7.1 The only thing I updated is xinetd but this shutdown problem didn't happen till today and the updated xinetd 184.108.40.206pre15-2 was installed about 2 weeks ago. I was just wondering if anyone knew as to why this would start doing this. Thank you for your help.
When I type /sbin/shutdown it comes up with all file options. Thanks for your help. Where would I go to fix my path?? so it would shutdown from typing it in any directory.
Thanks again for all of your help.
Another way of doing it to modify the /etc/inittab file to shutdown on ctrl+alt+del instead of rebooting.
Change ctrl+alt+del line to shutdown -h now
This way anyone with physical access to the computer can shutdown the computer.
A WARNING of security though.