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.
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.
I want to tell you my situation so i don't get a bunch of replies saying not to do this because of security issues..i don't really give a f$#@ about security issues...and i use root all the time i only use the other user for testing purposes.
OK, i have a red hat 9 system that i setup NTOP(a internet traffic sniffying program) on. This computer is going to be in a corner along with another monitoring computer. this computer is not going to have a keyboard mouse or monitor on it..so i need it to be able to boot up to gnome as root or another superuser with all root privileges and start the NTOP program. The program says i MUST be logged in as root and i have to be loading it from a terminal WHILE IN gnome or kde. It needs to be like this so if something goes down i can just hit the reset button and 3 minutes later the computer will have logged on and NTOP will be running.
i really need to do this..and like i said i don't care about security or anything else..as i run the computer in root all the time because the programs i use MUST be run i root. if anyone can and wants to help please post.
THANK YOU
Jason
I know it is stupid but i need to run in root....the program does not run in any user other that root..so i have to have root login or an user that looks has all attributes of root but lets you login automatically
that's really nuts. aren't there other progs that can do what ntop does?
here's something I would never do but: how about starting it using /etc/rc.d/rc.local? Rather you'd start kde using rc.local and then Autostart in kde to start ntop.
are you sure ntop needs a full blown DE running? that seems a mighty waste on a computer with no monitor...
I really don't like explainig this since it's a really bad idea. But here are general things. When your computer starts up, it executes a series of scripts that are usually in your /etc/rc.d directory (it depends on your distro; you can see in your /etc/inittab where the scrpits are). The last script that gets executed is rc.local. If you want to have something start up automatically at boot up, what you can do is edit rc.local to do it for you.
forget kdm. if you know how to start X and kde from text mode, you'll know what to do with the rc.local script. If not, you'd better do some reading before you hose your system and worse.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.