LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Desktop
User Name
Password
Linux - Desktop This forum is for the discussion of all Linux Software used in a desktop context.

Notices


Reply
  Search this Thread
Old 01-04-2009, 12:35 PM   #1
Red Squirrel
Senior Member
 
Registered: Dec 2003
Distribution: Mint 20.1 on workstation, Debian 11 on servers
Posts: 1,334

Rep: Reputation: 54
How do I make a user an admin?


How do I make a user have admin rights, as in, same rights as root? I know this may be a bad thing, but I want my user account to have full access, at least until I setup everything, then I can always downgrade to regular user or power user.

Also how do I get rid of that vista-like nag, the "please enter password:" thing whenever I go to do something?

Using Ubuntu 8.10
 
Old 01-04-2009, 12:50 PM   #2
repo
LQ 5k Club
 
Registered: May 2001
Location: Belgium
Distribution: Arch
Posts: 8,529

Rep: Reputation: 899Reputation: 899Reputation: 899Reputation: 899Reputation: 899Reputation: 899Reputation: 899
add them to the sudo users or if it is for yourself, login as root, which is a bad idea BTW

Quote:
Also how do I get rid of that vista-like nag, the "please enter password:" thing whenever I go to do something?
This is for your safety, and only for system task.
open a terminal, su to root and you can do whatever you want.

This kind of behavior makes an OS unsafe.

Last edited by repo; 01-04-2009 at 12:52 PM.
 
Old 01-04-2009, 01:14 PM   #3
Red Squirrel
Senior Member
 
Registered: Dec 2003
Distribution: Mint 20.1 on workstation, Debian 11 on servers
Posts: 1,334

Original Poster
Rep: Reputation: 54
I know about su as root as I do that for server tasks but for desktop / GUI I want root access from the get go, but without logging in as root. This way once everything is setup I can just disable it. But I wont stuff to happen under my profile, not the root one.

Keep in mind this is a private PC so it's not like someone can come behind me and start hacking away if I leave for 2 minutes, so I'm not really concerned about the "bad idea" part of it. It's a private pc. I just don't want to get nagged everywhere I click.
 
Old 01-04-2009, 10:17 PM   #4
inspiron_Droid
Member
 
Registered: Dec 2006
Distribution: Debian (Wheeze)
Posts: 391

Rep: Reputation: Disabled
Pull up a terminal Applications > accessories >> terminal,


and type or copy & paste the following code into terminal.

Code:
sudo nano /etc/sudoers
press enter and enter your regular user password,
and edit the sudoers file accordingly.
 
Old 01-04-2009, 10:25 PM   #5
johnsburn16
LQ Newbie
 
Registered: Feb 2007
Location: Montgomeryville PA
Distribution: Gentoo, Debian (and those derived from it)
Posts: 3

Rep: Reputation: 1
You Don't

if you want a user to have similar rights as the Super User Linux is not the place to do it. As stated before use sudo if you need rights if you get an error about user is not in sudoers file then add the user to /etc/sudoers and add the user to the group "wheel" using the command
Code:
usermod -G wheel USERNAME
Hope this helps.
 
Old 01-04-2009, 10:35 PM   #6
Red Squirrel
Senior Member
 
Registered: Dec 2003
Distribution: Mint 20.1 on workstation, Debian 11 on servers
Posts: 1,334

Original Poster
Rep: Reputation: 54
ok I realize it's not good to do, but I just need to know how to do it. Sudo only works when using command line. I want to be able to run stuff like the package manager or change the resolution (just examples) without having to login as root. It's counter productive to keep using two logins. I run as an administrator account in Windows all the time and never had any issues. Nobody is going to walk behind me when I'm gone and start messing up stuff so not really the end of the world. If I open a malicious thing by accident, chances are it will know how to circumvent the security anyway (almost all viruses have privilege escalation), like all the windows viruses do, so that's a non issue. I'm sure if I opened a script that did rm -rf / I'd be dead in the water no matter what.
 
Old 01-04-2009, 11:29 PM   #7
billymayday
LQ Guru
 
Registered: Mar 2006
Location: Sydney, Australia
Distribution: Fedora, CentOS, OpenSuse, Slack, Gentoo, Debian, Arch, PCBSD
Posts: 6,678

Rep: Reputation: 122Reputation: 122
There is gksudo for gnome tasks btw
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
how do I make myself sys-admin keratos Mandriva 4 06-05-2007 01:23 AM
User admin and N/w admin on Gnome hangs ssrini *BSD 2 07-28-2005 07:55 AM
Admin user dee3lmo Linux - Security 1 07-12-2004 04:07 PM
User admin. How to change a user... Pug405 Linux - General 3 04-09-2004 01:33 AM
how to make a user an admin so that i dont have to su every time infected Linux - General 6 07-15-2003 09:04 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Desktop

All times are GMT -5. The time now is 07:15 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration