|
|
#1 (permalink) |
|
VIP Member
![]() Join Date: Feb 2008
Location: Melbourne, Kangarooland
Age: 18
Posts: 2,749
|
A simple question: would it be advisable/significantly safer to create an admin account on Linux and never log on it, just to use Admin credentials to install stuff/whatnot, and instead have a basic account for everyone/everything else? Any distro-specific notes on this?
__________________
Teh Shiznizzel, yo! Runs Windows Vista Ultimate 32-bit (Linux: family had enough) AMD Phenom 8450 X3 @2.1GHz ASRock AOD790GX/128M (SB750) ATI Radeon HD3300 IGP 128MB Shared memory 2x2GB AMICROE DDR2-800 6-6-6-18 500GB Samsung + 320GB Seagate Barracuda 380Watt CoolerMaster PSU LG "SuperMulti" DVD Writer Generic MIDI Tower Spatula. |
|
|
|
|
|
#2 (permalink) |
|
Diamond Member
![]() Join Date: Jul 2006
Location: I wonder !!!
Posts: 6,321
|
most linux distros come with root, some are open and some are closed.
on openSuse, root is open,so does PCLinux, but ubuntu Root is disabled. you can't create root... you can create accounts that have normal abilities and some of roots credential. am pretty sure you know root is not to be used |
|
|
|
|
|
#3 (permalink) | |
|
Gold Member
![]() Join Date: Oct 2007
Location: I'm sure a Pedo, would read this. Hey there?
Posts: 310
|
Quote:
__________________
Don't take life so Seriously, It isn't permanent. |
|
|
|
|
|
|
#4 (permalink) | |||
|
VIP Member
![]() Join Date: Feb 2008
Location: Melbourne, Kangarooland
Age: 18
Posts: 2,749
|
Quote:
Quote:
Quote:
Oh and also, since root is not to be used (or can't be used)... the credentials an admin can give will still be enough to have complete control over the system, right? By complete I don't mean 100% complete but as complete as necessary for perfectly legit administrating?
__________________
Teh Shiznizzel, yo! Runs Windows Vista Ultimate 32-bit (Linux: family had enough) AMD Phenom 8450 X3 @2.1GHz ASRock AOD790GX/128M (SB750) ATI Radeon HD3300 IGP 128MB Shared memory 2x2GB AMICROE DDR2-800 6-6-6-18 500GB Samsung + 320GB Seagate Barracuda 380Watt CoolerMaster PSU LG "SuperMulti" DVD Writer Generic MIDI Tower Spatula. |
|||
|
|
|
|
|
#5 (permalink) |
|
VIP Member
![]() Join Date: Apr 2006
Location: Kansas City, MO
Posts: 10,801
|
Depends on how the distro handles it. Typically in Linux I make a root account, and then I make myself the admin. The admin can invoke root privliges by using sudo before commands. It will prompt you for that admin's password but that is all.
In Debian/Ubuntu the root account is not disabled, it is really there. Instead though they have what is called /etc/sudoers which promotes accounts with in that directory to root via sudo, which is a lot like how OS X handles it. You just can't log in as root and the root has no home directory. Really the only major difference between an admin and a basic account is the ability to su and sudo. Unless you are using some kind of group or local policy to manage user's access privs and/or system rights. Root accounts give access to everything. Which can be dangerous if you don't know what you are doing. In my personal opinion root is only needed in certain situations, and most of the time not need to be run. For example if you want to shell script a lot of things out as root, you will need the account there and enabled (which it is for the most part in every distro), however, the root account may not be available for log in.
__________________
Typical Signature: Computer Specs: - numbers I read off a box | parts I assembled in a case all by myself | benchmark score "Will the man with telekenesis please raise my hand?" - Vonnegut chown -R us /.base Get a grep! |
|
|
|
|
|
#6 (permalink) | |
|
VIP Member
![]() Join Date: Feb 2008
Location: Melbourne, Kangarooland
Age: 18
Posts: 2,749
|
Quote:
__________________
Teh Shiznizzel, yo! Runs Windows Vista Ultimate 32-bit (Linux: family had enough) AMD Phenom 8450 X3 @2.1GHz ASRock AOD790GX/128M (SB750) ATI Radeon HD3300 IGP 128MB Shared memory 2x2GB AMICROE DDR2-800 6-6-6-18 500GB Samsung + 320GB Seagate Barracuda 380Watt CoolerMaster PSU LG "SuperMulti" DVD Writer Generic MIDI Tower Spatula. |
|
|
|
|
|
|
#7 (permalink) |
|
VIP Member
![]() Join Date: Apr 2006
Location: Kansas City, MO
Posts: 10,801
|
In most distros whenever an account does a sudo command, it is parsed against the /etc/sudoers file, and any account not in that file can't sudo. Typically standard accounts can't do so. You can always su in the terminal but you will need to know the short name and the password for each account.
Does that make sense?
__________________
Typical Signature: Computer Specs: - numbers I read off a box | parts I assembled in a case all by myself | benchmark score "Will the man with telekenesis please raise my hand?" - Vonnegut chown -R us /.base Get a grep! |
|
|
|
|
|
#8 (permalink) |
|
VIP Member
![]() Join Date: Feb 2008
Location: Melbourne, Kangarooland
Age: 18
Posts: 2,749
|
Yep, apart from the "short names" part. Dunno what they are.
Oh an a question, is it possible to modify the sudoers file so as to allow only certain people sudo? And if I've got you right, I'm perfectly safe (I know there ain't such thing, but...) having my normal account set as adming, correct?
__________________
Teh Shiznizzel, yo! Runs Windows Vista Ultimate 32-bit (Linux: family had enough) AMD Phenom 8450 X3 @2.1GHz ASRock AOD790GX/128M (SB750) ATI Radeon HD3300 IGP 128MB Shared memory 2x2GB AMICROE DDR2-800 6-6-6-18 500GB Samsung + 320GB Seagate Barracuda 380Watt CoolerMaster PSU LG "SuperMulti" DVD Writer Generic MIDI Tower Spatula. |
|
|
|
|
|
#9 (permalink) | |
|
VIP Member
![]() Join Date: Apr 2006
Location: Kansas City, MO
Posts: 10,801
|
Quote:
User's Name: John Smith shotname: jsmith The short name is what the directory will use for every transaction, while at the same time there is an entry tied to that name in the user data base with their full name. Why hack around your permissions and change under the hood? I don't recommend that because it can negatively affect something somewhere else down the road. What are you worried about, messing the machine up? Just be careful when you sudo and how you modify config files, always create a back up of the original config file just in case you mess something up so you can restore it.
__________________
Typical Signature: Computer Specs: - numbers I read off a box | parts I assembled in a case all by myself | benchmark score "Will the man with telekenesis please raise my hand?" - Vonnegut chown -R us /.base Get a grep! |
|
|
|
|
![]() |
| Bookmarks |
| Tags |
| account, admin, credentials, linux, user |
| Thread Tools | Search this Thread |
| Display Modes | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Noob wanting to get into Linux | youtin | Operating Systems | 3 | 02-22-2008 04:44 AM |
| Which linux | Arm_Pit3 | Operating Systems | 13 | 01-20-2008 03:50 PM |
| thinking about getting Linux | memory | Operating Systems | 13 | 02-11-2007 08:11 PM |
| Linux Program | BrandonL | Operating Systems | 4 | 11-15-2005 04:01 AM |
| os ??? | bloospoon | Operating Systems | 8 | 07-22-2004 11:55 PM |