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.
enter any startup commands you wish to run on to the end of /etc/rc.local. Not sure what you mean by a NAT server, as that is what those commands you list will do.
Originally posted by acid_kewpie enter any startup commands you wish to run on to the end of /etc/rc.local. Not sure what you mean by a NAT server, as that is what those commands you list will do.
as for automatically logging in... don't.
Thank you. But I think I should state my problems more clearly. I live in an area where electricity black outs happens four or five times daily. And every time this happens someone has to login to the linux box and enter those commands. So I need the login process to be automatic as well, and allow five other computers to surf the net. Thank you for your rc.local advise, I would greatly appreciate if login could aslo be automated as well. Security is not at all an issue for me. Our ISP assigns us with private IPs, so I guess we are immune from internet based attacks (although perhaps not from other subscribers, and even then I don't mind if our linux box is being a 'honeypot' --- just to give kick to those who may otherwise be bored.) :-)
Hope to receive a solution.
PS: Your sign was very helpfull. I really love the "Rute Users' Tutorial and Exposition, .
And the other is a graphical utitlity in Redhat 8. Its in Redhat Menu > System Settings > Login Screen. This opens the GDM setup GUI, and under the General tab there is Automatic Login. I think I will follow the GUI method. But can I do auotmatic login for root?
Originally posted by friendklay I live in an area where electricity black outs happens four or five times daily. And every time this happens someone has to login to the linux box and enter those commands.
1) Is there something wrong with buying a UPS? It would be mucher better for your PC.
2) acid_kewpie is right, just enter the commands to rc.local and then nobody will need the root login.
Originally posted by david_ross 1) Is there something wrong with buying a UPS? It would be mucher better for your PC.
2) acid_kewpie is right, just enter the commands to rc.local and then nobody will need the root login.
I do have an UPS, but where I live it goes out for a couple of hours before coming back. (I live in Yangon, Myanmar). So it does depletes the back power supplies. I do understand that you were concerned, thanks.
Originally posted by friendklay I do have an UPS, but where I live it goes out for a couple of hours before coming back. (I live in Yangon, Myanmar). So it does depletes the back power supplies. I do understand that you were concerned, thanks.
Sorry, I didn't realise it was that bad - at least with powerchute installed you can minimise the risk of data loss.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.