LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
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, 05:43 PM   #1
sigint-ninja
Member
 
Registered: Feb 2011
Location: Republic Of Ireland
Distribution: Debian,Centos,Slackware
Posts: 508

Rep: Reputation: 29
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, 05:48 PM   #2
suicidaleggroll
LQ Guru
 
Registered: Nov 2010
Location: Colorado
Distribution: OpenSUSE, CentOS
Posts: 5,573

Rep: Reputation: 2143Reputation: 2143Reputation: 2143Reputation: 2143Reputation: 2143Reputation: 2143Reputation: 2143Reputation: 2143Reputation: 2143Reputation: 2143Reputation: 2143
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, 05:50 PM   #3
sigint-ninja
Member
 
Registered: Feb 2011
Location: Republic Of Ireland
Distribution: Debian,Centos,Slackware
Posts: 508

Original Poster
Rep: Reputation: 29
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.
 
Old 07-16-2012, 05:54 PM   #4
suicidaleggroll
LQ Guru
 
Registered: Nov 2010
Location: Colorado
Distribution: OpenSUSE, CentOS
Posts: 5,573

Rep: Reputation: 2143Reputation: 2143Reputation: 2143Reputation: 2143Reputation: 2143Reputation: 2143Reputation: 2143Reputation: 2143Reputation: 2143Reputation: 2143Reputation: 2143
That is correct.

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

Original Poster
Rep: Reputation: 29
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 10:03 PM
Any default accounts and passwords in Oracle Unbreakable Linux johnnyrico Linux - Security 1 05-04-2010 04:59 AM
Passwords disabled automatically for all accounts Sunheer Linux - Security 8 12-14-2009 10:11 AM
Plethora of accounts and passwords prabhatsoni Linux - Software 1 03-14-2009 11:10 PM
Passwords for accounts ToothlessRebel Slackware 4 07-05-2005 01:03 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 10:23 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
Open Source Consulting | Domain Registration