-   Linux - Newbie (
-   -   user/group Vs. SU in ubuntu? (

ultrablue 06-05-2005 05:15 PM

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?

jtshaw 06-05-2005 05:21 PM

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.

Chromezero 06-05-2005 05:29 PM

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.

aysiu 06-05-2005 06:34 PM

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?

ultrablue 06-05-2005 08:32 PM

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.

kepler2 06-07-2005 09:54 AM

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...

All times are GMT -5. The time now is 08:52 PM.