Linux - NewbieThis 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
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
Hi guys, when I set up Ubuntu, the first account I created was an admin account. Is it OK to use this on a daily basis for ordinary tasks or should I create a standard account and use that? I ask because if I use the admin account it seems kind of OK because it still asks me for the password when I install software etc so, it seems to me, I'm admin all right but it stills require me to authenticate as admin, so not so bad. What's your opinion?
The primary user created during the install has root/admin rights by default but needs to authenticate to do system actions. You would need to preface any command with sudo and enter your primary user password to authenticat, that's the design. The link below is the Ubuntu documentation on the subject, much more detailed.
Just 'priv escl'; admin isn't a 'username': it's just a sudo PRIV (I think)
Quote:
Is it OK to use this on a daily basis for ordinary tasks or
should I create a standard account and use that?
Yes-ok-use == No-create-another... That is the way Ubu designed it (I think).
Btw, don't confuse an 'account' entry in /etc/passwd like joe/user/jazzo/...
Which was that 1st account you created,
thus receiving 'admin' privlidges (something in /etc/{sudoers,group} I think),
With an 'account' == entry in /etc/passwd (,shadow,group,...) of literally "admin"
Which likely does NOT exist!!! (better LQguru explanations welcome here)
Thus, I say: there's (usually) no such thing as an "admin account"!!!
The default user account created during the install process on Ubuntu has sudoers privs. It's OK to use this account for normal use but if you want to be even more secure, at the expense of a little inconvenience, you can create another "normal" user without sudo privs for normal use. Problem then is you will have to log out and then log in with your "admin" user to install applications, perform maintenance, etc. More secure but you may find it inconvenient.
I have never understood Ubuntu's creepy sudo fetish (and I do assert that "fetish" is an appropriate term). It's something peculiar to the *buntus and to hardly anyone else. It's quite easy to overcome:
Code:
sudo su
passwd
enter new UNIX password:
Retype new UNIX password:
Once you have entered a known password for root, you can use the su command.
Yeah, if only Ubuntu never did that weird sudo fetish thing at the start.
Oh well.
The most helpful advice for the typical Ubuntu user, though, is to just go with the flow and use the first user for everyday use. For better or worse, that's how Ubuntu is designed to be used, and that's what's reflected in all Ubuntu documentation, help, how-tos and so on.
If you really want, you can add a proper password to the root account, but I just use "sudo su -" in *buntu rather than "su -" (which is what I do in everything else, such as Debian).
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.