Linux - GeneralThis Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then 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 want to autologin into my redhat9 server as root, I can login as any other user by modifying the files "/etc/kde/kdm/kdmrc" or the gnome config file. But the gnome config doesnt not alow me to auto login as root?
I would like toe know whats a work around for it? i need tologin as root, an alternative i thought was to login as a user that has all root privilages, but i am not sure how that is done.
Any help is appriciated..
Thx for your reply,
I already tried doing that, I created a user, and made "root" as the users main group. How ever, this user could not access commands like "sudo" from the console, however the user could access various other GUI apps like users and groups manager etc... Any ideas how to get around this? Also what other approach is available if you do not recommond me to do that.
You can always add * to the sudo list for that user. I would auto-login as a regular user and then su - when you need root access... It gives me the "willies" to know there is a super user always logged in.
TheOther1, yes that "su" might work, but the system is fora mobile hotspot, so there wont be any user to "open console and type su", it needs to be done automatically and should give global access to all commands modules and configuraions. Would you know how to get that done?
I can think that i could add a script in my startup that does su, but i dont do scrupts much so dont knwo the syntax of it. So if i puti tall i nwords
- start pc
- autologin as regular user xyz
- open console
- su - root
now how do i do the last 2 parts automatically, so that when the user xyz logs in and gets su, he should be automatically ably to run anything on system
thx Rockman and theother but Is there any other way than sudo or root pass blank?
What i really need to do is run the following bash script file
file name - test
content- ip route > filename.log
This needs to be done any time when a computer is rebooted. I thought auto logging in as a user and running the script file woulkd work. But the user cannot access the ip route command as he doesnt not have permissions. So how do i let sudo know that user rohan is alowed to access ip route command?
i have added the following line to the /etc/sudoers file
%xyz ALL=(ALL) NOPASSWD: ALL
doesnt that mean that any user in part of the goup xyz should be able to run all commands on the console?
Well i hava user xyz who is the part of group xyz, but he cant access the command "ip route" from the cshell. When i do su - root and then do ip route it works. any ideas how to get past this?
Now we are getting somewhere. You want them to run ip route, correct? Try this:
chmod 755 /sbin/ip
chmod 755 /sbin/route
remove that stuff from sudo first. I thought you wanted them to be root equiv, not just for the above commands, but full-on god mode. There may be other dependencies you have to chmod also.