LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
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!

Notices

Reply
 
Search this Thread
Old 06-05-2005, 04:15 PM   #1
ultrablue
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, 04:21 PM   #2
jtshaw
Senior Member
 
Registered: Nov 2000
Location: Seattle, WA USA
Distribution: Ubuntu @ Home, RHEL @ Work
Posts: 3,892
Blog Entries: 1

Rep: Reputation: 66
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, 04:29 PM   #3
Chromezero
Member
 
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, 05:34 PM   #4
aysiu
Senior Member
 
Registered: May 2005
Distribution: Ubuntu with IceWM
Posts: 1,776

Rep: Reputation: 66
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, 07:32 PM   #5
ultrablue
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, 08:54 AM   #6
kepler2
LQ Newbie
 
Registered: Jun 2005
Location: Germany
Distribution: debian Etch
Posts: 18

Rep: Reputation: 0
passwords

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


Reply


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


All times are GMT -5. The time now is 09:06 AM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration