Author Topic: Autoboot as admin  (Read 1260 times)

Offline davec51

  • Jr. Member
  • **
  • Posts: 18
Autoboot as admin
« on: May 20, 2010, 07:14:37 AM »
Can someone tell me how to boot automatically as root (administrator)? I find it a nuisance not to be able to deal with files, access remote computers, and so forth. I know the dangers, but I'd like to have the full use of my computer.

Offline menotu

  • PCLinuxOS Tester
  • Super Villain
  • *******
  • Posts: 15280
  • ┌∩┐(◕_◕)┌∩┐
Re: Autoboot as admin
« Reply #1 on: May 20, 2010, 07:20:12 AM »
Can you explain a bit more about not having full use of your system? Which apps would you like to run with root privileges?

Most file related issues are normally very easy to run as root with a simple command - or using the appropriate app.
PCLinuxOS 32bit KDE 4.10.1; kernel-3.4.11-pclos1.bfs & 64bit 3.2.18bfs; NVidia GeForce 8400GS 1GB 310.19 driver

Sony Vaio SVE1513A4ESI Laptop, Intel Core i5, 2.6GHz, 6GB RAM, 750GB, 15.6" Intel HD Graphics 4000

Offline critter

  • Full Member
  • ***
  • Posts: 220
Re: Autoboot as admin
« Reply #2 on: May 20, 2010, 10:03:10 AM »
Because of the dangers that you speak of things like this are generally discouraged.

Please re-post this in the advanced users section where someone will explain how to do this at your own risk  :)
Motherboard   Gigabyte Z68X-UD3H-B3
Hard Drives      2 x Maxtor STM350032 500GB SATA
Memory      16GB RAM
Processor      Intel core i5 3.30GHz
Video         nVidia GeForce GT430
Sound      HDA Intel PCH
PCLinuxOS          KDE

Offline Never_More

  • Full Member
  • ***
  • Posts: 138
Re: Autoboot as admin
« Reply #3 on: May 20, 2010, 10:08:30 AM »
Um that is a very bad idea do you really know what your asking for? I will tell what your asking for is an open Administration system which is the same thing as windows is. An open Administration leads to various problems like the one you experience in Windows. For instance you can get viruses installed on your computer because there is nothing really protecting it from this occurring. Also you can get spyware cause there is nothing protecting it from there.

My computer geek score is greater than 100% of all people in the world! How do you compare? Click here to find out!



Greets
Never More

Offline davec51

  • Jr. Member
  • **
  • Posts: 18
Re: Autoboot as admin
« Reply #4 on: May 20, 2010, 10:20:32 AM »
"Can you explain a bit more about not having full use of your system? Which apps would you like to run with root privileges?"

As a non-administrative user I can't access, change, or delete files on another computer in my LAN, or even on another partition on this hard drive. I can't change hardware settings. I can't create or reformat partitions on my hard drive. Those samples might be enough to establish the inconveniences of running as a non-privileged user.
The fact is that most of the people of the world run their computers as root, including those with a number of popular Linux systems. I'm a grownup, and I choose to take the risks associated with administrative use.
I hope no one will tell me that I'd better not use PCLinuxOS, because I love its reliability, speed, and style.

Online Old-Polack

  • Administrator
  • Super Villain
  • *****
  • Posts: 11528
  • ----IOFLU----
Re: Autoboot as admin
« Reply #5 on: May 20, 2010, 10:21:11 AM »
Can someone tell me how to boot automatically as root (administrator)? I find it a nuisance not to be able to deal with files, access remote computers, and so forth. I know the dangers, but I'd like to have the full use of my computer.

Obviously you don't know the dangers, or you wouldn't have asked the question. There is nothing you cannot do, as root, from the relative safety of a normal user's account. Logging in as root, in a GUI environment is a very bad idea.

Quote
I hope no one will tell me that I'd better not use PCLinuxOS, because I love its reliability, speed, and style.

Run as root, and you won't have those for long.
« Last Edit: May 20, 2010, 10:25:52 AM by old-polack »
Old-Polack

Of what use be there for joy, if not for the sharing thereof?



Lest we forget...

Offline menotu

  • PCLinuxOS Tester
  • Super Villain
  • *******
  • Posts: 15280
  • ┌∩┐(◕_◕)┌∩┐
Re: Autoboot as admin
« Reply #6 on: May 20, 2010, 11:12:14 AM »
Quote
I hope no one will tell me that I'd better not use PCLinuxOS, because I love its reliability, speed, and style.

I would hope no one would dream of saying that - as you say you are grown up and can make your own decisions.

BUT, in saying that it would be far, far better to post back giving a precise example of something you want to do so the forum can help with showing you the easiest possible way of doing it, especially with regard to your file copy/move issues (and other things no doubt  ;) )

PCLinuxOS 32bit KDE 4.10.1; kernel-3.4.11-pclos1.bfs & 64bit 3.2.18bfs; NVidia GeForce 8400GS 1GB 310.19 driver

Sony Vaio SVE1513A4ESI Laptop, Intel Core i5, 2.6GHz, 6GB RAM, 750GB, 15.6" Intel HD Graphics 4000

Offline Neal ManBear

  • Administrator
  • Super Villain
  • *****
  • Posts: 15845
  • LXDE! Coffee, Bacon and Cheesecake!
Re: Autoboot as admin
« Reply #7 on: May 20, 2010, 11:26:53 AM »
I work with other partitions on my system from my user account often. I use a simple tool. It's called a file manager. In particular, I use PCManFM. I use it to mount my other partitions and surf to the directory I need to work in, then I click Tools > Open current folder as root. After working with the file or files I need to, I close the root browser and continue with my user browser or close it, if I've finished.
That is just one available tool. There are more. Using root tools from your user account is easy and much more secure than logging into your root desktop.


Offline travisN000

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 1758
Re: Autoboot as admin
« Reply #8 on: May 20, 2010, 12:39:59 PM »
"Can you explain a bit more about not having full use of your system? Which apps would you like to run with root privileges?"

As a non-administrative user I can't access, change, or delete files on another computer in my LAN, or even on another partition on this hard drive. I can't change hardware settings. I can't create or reformat partitions on my hard drive. Those samples might be enough to establish the inconveniences of running as a non-privileged user.
The fact is that most of the people of the world run their computers as root, including those with a number of popular Linux systems. I'm a grownup, and I choose to take the risks associated with administrative use.
I hope no one will tell me that I'd better not use PCLinuxOS, because I love its reliability, speed, and style.

I think a better option for the things you are requesting is to learn more about permissions, and how to properly apply them to solve the issue's that you are having..

For example, when working with networked drives via samba, you can create a samba user with permissions as you like them for the shared directory, then mount your networked drive / directory using that user's credentials; mounting can occur at boot without ever having to enter your root password and you can add / modify / delete files just as if you were on that computer.

As far as having access to certian administrative tools without needing to type your password, you can use sudo to set that up and still maintian some semblance of system security.  There use to be a few exampes of this on the forums for various network configuration tools; I'm sure if you search for 'sudo' && 'network' you will find an example or two.

If you really feel the need make your system prone to all the bad stuff already mentioned here (and more..) you can add a regular user to the root group and set up autologin for that user...  but as others have said; it really is not a good idea  (..but that is your problem, not mine!  :D).
« Last Edit: May 20, 2010, 12:44:00 PM by travisn000 »

Offline davec51

  • Jr. Member
  • **
  • Posts: 18
Re: Autoboot as admin
« Reply #9 on: May 20, 2010, 01:23:04 PM »
Thanks to all who replied, especially those with specific suggestions. I tried to modify my .kdmrc file to allow autologin for root, but strangely that produced no change in the bootup. What I have finally decided to do, when I need to work on files outside my home folder, is to login as root for that purpose only. I didn't mean to raise fundamental questions here about a computer's relationship to the outside world.

Offline critter

  • Full Member
  • ***
  • Posts: 220
Re: Autoboot as admin
« Reply #10 on: May 20, 2010, 02:01:26 PM »
davec51
search online for /etc/sudoers
editing this file will allow you to more easily gain root privileges in a controlled way without necessarily compromising your system.

This is not a secret code but is better discussed in the advanced users section.

I hope this helps :)
Motherboard   Gigabyte Z68X-UD3H-B3
Hard Drives      2 x Maxtor STM350032 500GB SATA
Memory      16GB RAM
Processor      Intel core i5 3.30GHz
Video         nVidia GeForce GT430
Sound      HDA Intel PCH
PCLinuxOS          KDE

Online Old-Polack

  • Administrator
  • Super Villain
  • *****
  • Posts: 11528
  • ----IOFLU----
Re: Autoboot as admin
« Reply #11 on: May 20, 2010, 02:05:25 PM »
Thanks to all who replied, especially those with specific suggestions. I tried to modify my .kdmrc file to allow autologin for root, but strangely that produced no change in the bootup. What I have finally decided to do, when I need to work on files outside my home folder, is to login as root for that purpose only. I didn't mean to raise fundamental questions here about a computer's relationship to the outside world.

Not needed, or desirable at all, if you wish your system to remain usable. Why don't you try listening to the advice being given you, and ask specific questions, about specific tasks you wish to perform as root, in the proper forum sections? You'll get good advice, from knowledgeable people, and learn to operate your system properly, securely, and efficiently.
Old-Polack

Of what use be there for joy, if not for the sharing thereof?



Lest we forget...

Offline Neal ManBear

  • Administrator
  • Super Villain
  • *****
  • Posts: 15845
  • LXDE! Coffee, Bacon and Cheesecake!
Re: Autoboot as admin
« Reply #12 on: May 20, 2010, 02:21:57 PM »
Thanks to all who replied, especially those with specific suggestions. I tried to modify my .kdmrc file to allow autologin for root, but strangely that produced no change in the bootup. What I have finally decided to do, when I need to work on files outside my home folder, is to login as root for that purpose only. I didn't mean to raise fundamental questions here about a computer's relationship to the outside world.

Not needed, or desirable at all, if you wish your system to remain usable. Why don't you try listening to the advice being given you, and ask specific questions, about specific tasks you wish to perform as root, in the proper forum sections? You'll get good advice, from knowledgeable people, and learn to operate your system properly, securely, and efficiently.

+1