Help answer threads with 0 replies.
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!


  Search this Thread
Old 06-05-2005, 05:15 PM   #1
LQ Newbie
Registered: Jun 2005
Posts: 21

Rep: Reputation: 15
user/group Vs. SU in ubuntu?

Taking aysiu's advice, I am now running ubuntu and it is amazing (I've been a M$ user all my life and red hat seemed... stupid)

Now, when I installed it it asked me for an admin (su) password and for me to make a username. I did.

It turns out that I am now always considered a user and not an admin. Everytime I want to install something, change some settings, or save in the root, I am told that I either dont have the permission (even thou I am the only user) or that I need to re enter the password I had just entered not 4 minutes ago.

Is there a way for me to make my user the admin so that I can do anything anytime?
Old 06-05-2005, 05:21 PM   #2
Senior Member
Registered: Nov 2000
Location: Seattle, WA USA
Distribution: Ubuntu @ Home, RHEL @ Work
Posts: 3,892
Blog Entries: 1

Rep: Reputation: 67
What your asking to do is something many Windows converts ask initially apon switching. Let me be frank, it is a HORRIBLE idea to run as an admin all the time.

Once you have your system setup there should be relatively little you ever need to do as an administrator. Running as admin all the time just opens you up to trouble. That is probably the number one flaw in the security model of Windows. People run as root all the time so it makes it effortless for spyware and virus' to work there way into the system.

My suggestion is to get used to a little program called sudo. Sudo allows you to escalate your privlages for a short period of time to do certain tasks. It requires you to enter in a password, but that is actually kind of a good thing... as it means nobody can be escalating permissions without realizing what they are doing first.
Old 06-05-2005, 05:29 PM   #3
Registered: Nov 2004
Location: Arizona
Distribution: Slackware, RHEL, others
Posts: 470

Rep: Reputation: 40
Yes, it is possible to give a standard user these permissions. However, most people will advise against you doing this. There are several reasons to not do this, one being security.....Blah, blah, blah....Jtshaw beat me to the punch and replied while I was typing. Anyway, I agree with Jtshaw and the majority of the Linux communty will agree as well. It's just better to not use root unless you have to.
Old 06-05-2005, 06:34 PM   #4
Senior Member
Registered: May 2005
Distribution: Ubuntu with IceWM
Posts: 1,775

Rep: Reputation: 86
I think I read somewhere that even in Microsoft's upcoming Longhorn release of Windows they won't have the default user be an administrator.

For Ubuntu in particular, you keep sudoing at the command-line. You can also enable a root log-in (most Linux distros allow--though don't encourage--a root log-in).

Honestly, most of the time, you shouldn't need root (or sudo). It's just for installing software or making system-wide changes. In this age of viruses, spyware, hacking, and whatnot, don't you want to know every time the system is trying to install software or make a system-wide change?
Old 06-05-2005, 08:32 PM   #5
LQ Newbie
Registered: Jun 2005
Posts: 21

Original Poster
Rep: Reputation: 15
After reading all these responses, I guess you're all right. I was just getting annoyed, but I guess I have to break my almost 10 year habits and just get used to it.

It's just that right now, I am installing drivers, and trying to make my video player to work, and my sound card... It's alot of work for a newbie...

On the otherhand my desktop looks like... ME and not a cookie cutter "start" menue, and this firefox browser is FAST! so I'm not complaining!

Thanks all.
Old 06-07-2005, 09:54 AM   #6
LQ Newbie
Registered: Jun 2005
Location: Germany
Distribution: debian testing /buster
Posts: 21

Rep: Reputation: 0

yes. windows is moving to the same system.
Trouble is, when I was setting up MYSQL, I found you are strongly advised to have a separate password for that...and not root...that brings you to three, then there's WIFI, or kppp were asking for passwords. At one stage, I was cursing about a password hell...


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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 to list user in Linux box, add an user to a group! steady_lfcfan Linux - Newbie 12 01-27-2013 02:14 PM
adding user to group ryancoolest Linux - Newbie 9 04-14-2008 01:50 PM
HELP: How To Install Chinese Input Group In Ubuntu benben_shen Ubuntu 8 11-27-2005 04:24 AM
User and Group Admin: How to tell Who is in What group? Akhran Linux - Newbie 1 11-13-2005 12:16 AM
Who can tell me why? (user and group) shadkong Slackware 5 05-21-2005 01:00 AM > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 04:29 AM.

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