Author Topic: set user as administrator  (Read 772 times)

Offline mateito

  • New Friend
  • *
  • Posts: 9
set user as administrator
« on: July 27, 2012, 08:11:44 AM »
Using the new KDE . Just installed it. I am the only user. I have of course the root account and an account that I set up for myself. I can't seem to get the machine to allow me to set the self account as administrator. I have to go back and forth between self and root to do admin things. This should be simple, but it escapes me. I'm a former Linux Mint person that has just gotten started with PCLOS. It's probably something simple.

Offline Just17

  • PCLinuxOS Tester
  • Super Villain
  • *******
  • Posts: 10622
  • MLUs Forever!
Re: set user as administrator
« Reply #1 on: July 27, 2012, 08:31:49 AM »
Using the new KDE . Just installed it. I am the only user. I have of course the root account and an account that I set up for myself. I can't seem to get the machine to allow me to set the self account as administrator. I have to go back and forth between self and root to do admin things. This should be simple, but it escapes me. I'm a former Linux Mint person that has just gotten started with PCLOS. It's probably something simple.

You need to explain what it is that you wish to do as administrator that cannot be managed from your user account.

Essentially there should be nothing.

To get admin/root privileges at the terminal type

su

and supply the root password.
MLUs rule the roost!

Linux XPS 3.2.18-pclos2.pae.bfs  32 bit
Intel Core2 Quad CPU Q9450 @ 2.66GHz
4 GB RAM
MCP51 High Def Audio
GeForce GTX 550 Ti
PHILIPS  ‎DVD+-RW DVD8701
‎Logitech ‎BT Mini-Receiver
Afatech DTT

Offline Archie

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 8583
  • Aurum nostrum non est aurum vulgi.
Re: set user as administrator
« Reply #2 on: July 27, 2012, 09:02:34 AM »
Or hit Alt+F2 and type kdesu <command> where <command> is an application launcher. For example, you want to use Dolphin as root ... kdesu dolphin ... you will be prompted for your root password ... the you can use the admin's dolphin filemanager on your session.
Since 2006 | LiCo 401868 | Bare Metal | What is necessary is never unwise. --Sarek, 2258.42


Offline scoundrel

  • Administrator
  • Hero Member
  • *****
  • Posts: 4512
  • Philosophy= Bigger Hammer
Re: set user as administrator
« Reply #3 on: July 27, 2012, 11:05:11 AM »
thought there was root dolphin in the main menu.. like in LXDE menu
Please Donate Today..Or I Will Make You Wish You Had

Offline T6

  • Super Villain
  • ******
  • Posts: 19077
  • xmas is comming!
Re: set user as administrator
« Reply #4 on: July 27, 2012, 12:05:29 PM »
the idea of run linux as a user is to keep system as safe as possible by not providing excessive privileges to normal user

when you are logged as root you have full access to the system and you can do inadvertently or accidentally modifications to files that can comprise the security of the system

when you need to install apps, you should provide the root password, when you want to configure your pc, you should provide the root password, that is the idea of use linux, keep system as secure as possible

some apps won't work when logged as admin if i remember correctly

not much reasons to work as a system administrator afik
"If you wish to make an apple pie from scratch, you must first invent the universe."

Carl Sagan

Offline Neal ManBear

  • Administrator
  • Super Villain
  • *****
  • Posts: 15845
  • LXDE! Coffee, Bacon and Cheesecake!
Re: set user as administrator
« Reply #5 on: July 27, 2012, 12:16:10 PM »
Any admin task you need to do can be done from your user account. Need to update or install software - open Synaptic Package Manager - give root's password when requested. Need to set up your video driver - open PCLinuxOS Control Center - give root's password when requested.     
And so on for other other admin tools.     

There is no need to log into the root account.     

Offline mateito

  • New Friend
  • *
  • Posts: 9
Re: set user as administrator
« Reply #6 on: July 27, 2012, 05:52:24 PM »
Thanks people my problem has been solved and yes I understand that running without admin privileges is beneficial in that you can't really screw things up. Mostly I do run on an account w/o.

Offline Neal ManBear

  • Administrator
  • Super Villain
  • *****
  • Posts: 15845
  • LXDE! Coffee, Bacon and Cheesecake!
Re: set user as administrator
« Reply #7 on: July 27, 2012, 08:32:42 PM »
Thanks people my problem has been solved and yes I understand that running without admin privileges is beneficial in that you can't really screw things up. Mostly I do run on an account w/o.
     
Really, you never need to run as root (admin to windows users ::)). Tools are provided that allow you to perform root tasks from your user account. In other words, when you have an 'admin task' to perform, there is a tool available that allows you to be administrator temporarily and do the job.     

Online Rudge

  • Hero Member
  • *****
  • Posts: 9673
  • I'm Just A Dog.
Re: set user as administrator
« Reply #8 on: July 27, 2012, 09:04:08 PM »
Mateito, just a "heads up"...

If you operate your install from day to day as root, it could be difficult to get support at this forum for anything that goes wrong.

We all highly recommend that this not be done.

Of course,, you are free to do as you wish. ;) Have Fun!
« Last Edit: July 27, 2012, 09:11:12 PM by Rudge »


-If you wish to make an apple pie from scratch, you must first invent the universe-  Carl Sagan

Offline mateito

  • New Friend
  • *
  • Posts: 9
Re: set user as administrator
« Reply #9 on: July 29, 2012, 10:41:58 AM »
I operate most of the time from my user non root account. This does bring me to a new related question though. If I'm in the user account and in terminal enter su and the password to perform some task, can I enter a new command in the terminal to go back to the simple user function without a re boot?

Offline JohnW_57

  • PCLinuxOS Tester
  • Hero Member
  • *******
  • Posts: 2107
Re: set user as administrator
« Reply #10 on: July 29, 2012, 10:51:31 AM »
I operate most of the time from my user non root account. This does bring me to a new related question though. If I'm in the user account and in terminal enter su and the password to perform some task, can I enter a new command in the terminal to go back to the simple user function without a re boot?

Just type: exit
Then you back in user mode.

JohnW
PCLinuxOS 2013 KDE4 (64 bit) on: home build system:  Intel Core 2 Quad (q6700) (2.66ghz), Asus P5K motherboard, 4 gig ddr2 memory, Asus Nvidia Geforce GTS 250 1024 mb gddr3, Crucial M4 128 SSD,  2x Samsung 500 gig HDD (sata), TSSTcorp CDDVDW SH-224BB.

Online Old-Polack

  • Administrator
  • Super Villain
  • *****
  • Posts: 11540
  • ----IOFLU----
Re: set user as administrator
« Reply #11 on: July 29, 2012, 10:52:00 AM »
I operate most of the time from my user non root account. This does bring me to a new related question though. If I'm in the user account and in terminal enter su and the password to perform some task, can I enter a new command in the terminal to go back to the simple user function without a re boot?

Type exit and press the Enter key.
Old-Polack

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



Lest we forget...

Offline JohnW_57

  • PCLinuxOS Tester
  • Hero Member
  • *******
  • Posts: 2107
Re: set user as administrator
« Reply #12 on: July 29, 2012, 10:56:23 AM »
I operate most of the time from my user non root account. This does bring me to a new related question though. If I'm in the user account and in terminal enter su and the password to perform some task, can I enter a new command in the terminal to go back to the simple user function without a re boot?

Type exit and press the Enter key.

 ??? ;D

JohnW
PCLinuxOS 2013 KDE4 (64 bit) on: home build system:  Intel Core 2 Quad (q6700) (2.66ghz), Asus P5K motherboard, 4 gig ddr2 memory, Asus Nvidia Geforce GTS 250 1024 mb gddr3, Crucial M4 128 SSD,  2x Samsung 500 gig HDD (sata), TSSTcorp CDDVDW SH-224BB.

Offline mateito

  • New Friend
  • *
  • Posts: 9
Re: set user as administrator
« Reply #13 on: July 29, 2012, 11:02:23 AM »
thanks

Offline Neal ManBear

  • Administrator
  • Super Villain
  • *****
  • Posts: 15845
  • LXDE! Coffee, Bacon and Cheesecake!
Re: set user as administrator
« Reply #14 on: July 30, 2012, 03:18:15 AM »
The exit command is one of the most important commands, IMO.