Adding root privaliges to user accounts or auto login as root
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.
If you need a system for allocating various root tasks to ordinary users, solutions are readily available. Check out the sudo and super programs, which are included in most Linux distributions.
Distribution: Currently working on my own modded distro based on Mandrake
Posts: 32
Original Poster
Rep:
I agree that running as root is bad when not sure what your doing. But for a livecd to run as root is ok as you just need to restart and all settings are back to norm
Distribution: Currently working on my own modded distro based on Mandrake
Posts: 32
Original Poster
Rep:
Yea, a live cd should just auto login and have no passwords, I'm just trying to find out how to auto login as root as this distro is designed for restoring lost partitions and files on your hdd etc... so most of the apps on it require root privilages.
Distribution: Currently working on my own modded distro based on Mandrake
Posts: 32
Original Poster
Rep:
Just an update... I cant exactally tell you what I have done because I have tryed soo many things, but my system is now auto logging in as root, wont be long now and the first beta release will be fully compiled.
Distribution: Currently working on my own modded distro based on Mandrake
Posts: 32
Original Poster
Rep:
dont worry i know what i am doing well enough to not to mess up the system... and even if i do i have got restore points all the way backed up in an iso folder on my desktop - I've spent long enough working on the Cisco IOS in root mode and never had to restore... but cisco network associates are trained to know that
Besides the point what good is a live cd that needs a password to install it? It isn't any good is it?
Hi there it's not YOU who will be messing up the system but if this machine is connected to the Internet in anyway whatsoever you'll just be inviting people to use this for all sorts of dubious pratices.
It's not only YOUR machine that will be hosed up --If someone can remotely logon as Root to any machine anywhere on the Net on the entire planet almost anything is possible -- and if anything criminal takes place the IP address will be traced back to your machine and you will be held responsible even if you were nowhere near your machine at the time.
Root should only be used in very special circumstances and never ever allow a remote ROOT login (especially passwordless) from the Net.
If you want to access your machine remotely use a normal logon and use commands like su or sudo to perform root level tasks.
If you just want to tinker well it's not a good practice but it's Ok to learn but DON'T be on the net while you do this.
OK, so it's a live cd. Does that stop some malicious code (or a malicious attacker) mounting your disk drives and shredding everything on there? I'd imagine not.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.