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 |
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.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
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.
|
 |
07-16-2012, 05:43 PM
|
#1
|
Member
Registered: Feb 2011
Location: Republic Of Ireland
Distribution: Debian,Centos,Slackware
Posts: 508
Rep:
|
accounts and passwords in centos
hi guys,
when i first installed cent and created a user account, it said that the account was both root and user account..or something like that, but how come when i access a lot of applications / man pages i get told i need a root account to login? then enter my same password and its ok...how do i make my user account a root account? or can you not do this...(forgive me, i know very little about linux user accounts and am busy reading a book)
any advice appreciated
|
|
|
07-16-2012, 05:48 PM
|
#2
|
LQ Guru
Registered: Nov 2010
Location: Colorado
Distribution: OpenSUSE, CentOS
Posts: 5,573
|
I believe what you set during installation was that the root password would be the same as your user password. So there's still a distinct root account that's separate from your user account, it just happens to have the same password.
You cannot turn your user account into the root account, nor would you want to even if you could. Ideally you should change your root password to something secure, and if necessary you can set up sudo to allow your regular user to do a few select tasks that are normally restricted to root.
|
|
|
07-16-2012, 05:50 PM
|
#3
|
Member
Registered: Feb 2011
Location: Republic Of Ireland
Distribution: Debian,Centos,Slackware
Posts: 508
Original Poster
Rep:
|
well the next chapter im reading is about root and user accounts...so i should be ok...
thanks for that...so its not like a windows system where you have an account that has admin rights. you actually use seperate accounts and elevate yourself when needed...this is very good for security i would think...
Last edited by sigint-ninja; 07-16-2012 at 05:52 PM.
|
|
|
07-16-2012, 05:54 PM
|
#4
|
LQ Guru
Registered: Nov 2010
Location: Colorado
Distribution: OpenSUSE, CentOS
Posts: 5,573
|
That is correct.
Most Linux distros work that way, there are just a few exceptions...namely Ubuntu and its friends.
|
|
|
07-16-2012, 06:12 PM
|
#5
|
Member
Registered: Feb 2011
Location: Republic Of Ireland
Distribution: Debian,Centos,Slackware
Posts: 508
Original Poster
Rep:
|
thanks man...learning quickly
|
|
|
All times are GMT -5. The time now is 10:23 AM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|