LinuxQuestions.org
Help answer threads with 0 replies.
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 07-16-2012, 06:43 PM   #1
sigint-ninja
Member
 
Registered: Feb 2011
Location: Republic Of Ireland
Distribution: Debian,Centos,Slackware
Posts: 184

Rep: Reputation: 24
Smile 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
 
Old 07-16-2012, 06:48 PM   #2
suicidaleggroll
Senior Member
 
Registered: Nov 2010
Location: Colorado
Distribution: OpenSUSE, CentOS
Posts: 3,223

Rep: Reputation: 1155Reputation: 1155Reputation: 1155Reputation: 1155Reputation: 1155Reputation: 1155Reputation: 1155Reputation: 1155Reputation: 1155
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.
 
Old 07-16-2012, 06:50 PM   #3
sigint-ninja
Member
 
Registered: Feb 2011
Location: Republic Of Ireland
Distribution: Debian,Centos,Slackware
Posts: 184

Original Poster
Rep: Reputation: 24
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 06:52 PM.
 
Old 07-16-2012, 06:54 PM   #4
suicidaleggroll
Senior Member
 
Registered: Nov 2010
Location: Colorado
Distribution: OpenSUSE, CentOS
Posts: 3,223

Rep: Reputation: 1155Reputation: 1155Reputation: 1155Reputation: 1155Reputation: 1155Reputation: 1155Reputation: 1155Reputation: 1155Reputation: 1155
That is correct.

Most Linux distros work that way, there are just a few exceptions...namely Ubuntu and its friends.
 
Old 07-16-2012, 07:12 PM   #5
sigint-ninja
Member
 
Registered: Feb 2011
Location: Republic Of Ireland
Distribution: Debian,Centos,Slackware
Posts: 184

Original Poster
Rep: Reputation: 24
thanks man...learning quickly
 
  


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
Where do you store your bank accounts passwords? alaios Linux - Security 5 10-10-2010 11:03 PM
Any default accounts and passwords in Oracle Unbreakable Linux johnnyrico Linux - Security 1 05-04-2010 05:59 AM
Passwords disabled automatically for all accounts Sunheer Linux - Security 8 12-14-2009 11:11 AM
Plethora of accounts and passwords prabhatsoni Linux - Software 1 03-15-2009 12:10 AM
Passwords for accounts ToothlessRebel Slackware 4 07-05-2005 02:03 PM


All times are GMT -5. The time now is 11:13 AM.

Main Menu
Advertisement
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