LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Security
User Name
Password
Linux - Security This forum is for all security related questions.
Questions, tips, system compromises, firewalls, etc. are all included here.

Notices


Reply
  Search this Thread
Old 06-05-2010, 03:01 PM   #1
buccaneere
Member
 
Registered: Nov 2007
Posts: 213

Rep: Reputation: 16
Add root permissions to user...


How do I add root permissions to my user account?

I want full permissions for all computers in my house, without having to get up and go to the other room and change permissions for the file, folder, drive, directory, computer, etc., then go back to the other room again.

I just created a partition, as THIS user, THIS machine, rebooted, and cannot create a folder on the partition I just created. UGH. No more of this stuff... I guess at the very least, I'll still have to log onto each machine for this?

Anyone point me in the right direction?
 
Old 06-05-2010, 03:05 PM   #2
pixellany
LQ Veteran
 
Registered: Nov 2005
Location: Annapolis, MD
Distribution: Mint
Posts: 17,805

Rep: Reputation: 742Reputation: 742Reputation: 742Reputation: 742Reputation: 742Reputation: 742Reputation: 742
It's not totally clear what problem you are trying to solve.

First, root privileges are pretty much independent of remote configuration---eg, you need remote access for the latter, regardless of what changes you are making.

Why not "su" to root when you want to change something? And, as needed, log into the other machines using SSH.
 
Old 06-05-2010, 04:48 PM   #3
buccaneere
Member
 
Registered: Nov 2007
Posts: 213

Original Poster
Rep: Reputation: 16
Quote:
Originally Posted by pixellany View Post
It's not totally clear what problem you are trying to solve.

First, root privileges are pretty much independent of remote configuration---eg, you need remote access for the latter, regardless of what changes you are making.

Why not "su" to root when you want to change something? And, as needed, log into the other machines using SSH.
Trying to solve?

Except for an occasional prompt for a password, I want NO questions asked. None. Ever - for ANYthing. Folder creation permission, file read/write permission, etc., etc., etc.

Playing '20 Questions' is for customer service for the bank, or tech support, or calling the doctor's office, etc. I'm just not into the same game with all my computers.

Anybody with ideas about these permissions/privileges?

Last edited by buccaneere; 06-05-2010 at 05:05 PM.
 
0 members found this post helpful.
Old 06-05-2010, 05:36 PM   #4
Karl Godt
Member
 
Registered: Mar 2010
Location: Kiel , Germany
Distribution: once:SuSE6.2,Debian3.1, aurox9.2+3,Mandrake?,DSL? then:W7st,WVHB, #!8.10.02,PUPPY4.3.1 now:Macpup
Posts: 314

Rep: Reputation: 45
Code:
adduser
Code:
groupadd
groupadd - Linux Command - Unix Command - [ Diese Seite übersetzen ]Linux / Unix Command Library: groupadd. Learn about its synopsis, description, options, and examples.
linux.about.com/od/.../l/blcmdl8_groupad.htm - Im Cache - Ähnliche

somehow there could be the group root
and add user to the group root
 
0 members found this post helpful.
Old 06-05-2010, 06:34 PM   #5
pixellany
LQ Veteran
 
Registered: Nov 2005
Location: Annapolis, MD
Distribution: Mint
Posts: 17,805

Rep: Reputation: 742Reputation: 742Reputation: 742Reputation: 742Reputation: 742Reputation: 742Reputation: 742
Are you the only user, is your house locked and alarmed, AND do you avoid keeping any sensitve info on the machines? If "yes" to all three, then just run as the root user. Otherwise, I would recommend sticking with normal procedures.
 
Old 06-05-2010, 07:14 PM   #6
unSpawn
Moderator
 
Registered: May 2001
Posts: 29,415
Blog Entries: 55

Rep: Reputation: 3594Reputation: 3594Reputation: 3594Reputation: 3594Reputation: 3594Reputation: 3594Reputation: 3594Reputation: 3594Reputation: 3594Reputation: 3594Reputation: 3594
Quote:
Originally Posted by Karl Godt View Post
somehow there could be the group root
and add user to the group root
Please do not give advice like that. It weakens system security, it is the wrong way of doing things and completely unnecessary.

Last edited by unSpawn; 06-06-2010 at 06:13 AM. Reason: //Better
 
1 members found this post helpful.
Old 06-05-2010, 07:25 PM   #7
unSpawn
Moderator
 
Registered: May 2001
Posts: 29,415
Blog Entries: 55

Rep: Reputation: 3594Reputation: 3594Reputation: 3594Reputation: 3594Reputation: 3594Reputation: 3594Reputation: 3594Reputation: 3594Reputation: 3594Reputation: 3594Reputation: 3594
Quote:
Originally Posted by buccaneere View Post
How do I add root permissions to my user account?
You don't and you shouldn't.


Quote:
Originally Posted by buccaneere View Post
cannot create a folder on the partition I just created. UGH. No more of this stuff...
That's mount permissions and no reason for requiring unprivileged users to have root privileges all of the time. Need root account privileges for unprivileged user ops? Use Sudo. Else use the "wheel" group (or /etc/suauth where applicable) if you want to weaken security by allowing an unprivileged user to 'su' to root. Do note this is not about choice, freedom or personal preference but about basic OS architecture as it was derived from UNIX: please use GNU/Linux as it is intended to be used.

Last edited by unSpawn; 06-05-2010 at 07:42 PM. Reason: //More *is* more
 
2 members found this post helpful.
Old 06-06-2010, 10:13 AM   #8
buccaneere
Member
 
Registered: Nov 2007
Posts: 213

Original Poster
Rep: Reputation: 16
Quote:
You don't and you shouldn't.
Good advice. Sounds like something Microsoft would say. Or government.

Just out of curiosity, are you pro gun, or anti gun? You don't have to answer if you don't want...

Quote:

That's mount permissions and no reason for requiring unprivileged users to have root privileges all of the time.
In this house, I'm the only user. Digital BOSS Uh hUH.

Perhaps logging in as root user, which is a pain - log out, log back in - IS MORE SECURE, since networking is disabled when logging in as root user.

That was not a bad idea by developers...
 
0 members found this post helpful.
Old 06-06-2010, 01:26 PM   #9
unSpawn
Moderator
 
Registered: May 2001
Posts: 29,415
Blog Entries: 55

Rep: Reputation: 3594Reputation: 3594Reputation: 3594Reputation: 3594Reputation: 3594Reputation: 3594Reputation: 3594Reputation: 3594Reputation: 3594Reputation: 3594Reputation: 3594
Quote:
Originally Posted by buccaneere View Post
Good advice. Sounds like something Microsoft would say. Or government.
Taking into account your previous threads it's remarkable to find you even took the time to reply. And your response perfectly shows that people know what they want but only few know what they need.
 
Old 06-06-2010, 01:59 PM   #10
ComputerErik
Member
 
Registered: Apr 2005
Location: NYC
Distribution: Debian, RHEL
Posts: 268

Rep: Reputation: 42
Quote:
Originally Posted by buccaneere View Post
Good advice. Sounds like something Microsoft would say. Or government.

Just out of curiosity, are you pro gun, or anti gun? You don't have to answer if you don't want...



In this house, I'm the only user. Digital BOSS Uh hUH.

Perhaps logging in as root user, which is a pain - log out, log back in - IS MORE SECURE, since networking is disabled when logging in as root user.

That was not a bad idea by developers...
Since when is security a bad idea? And what distro has no network access as root? If you wanted there is no reason you couldn't run as root 100% of the time (other than the security implications) and never create an unprivileged account.

I still don't get what it is you are trying to do that you need admin rights all the time. If you want to have an easy sharing setup just mount that partition on a folder that has chmod 777. Once a system is up and running with all the partitions/folders setup, software installed there should really not be any prompts for normal usage.
 
Old 06-06-2010, 02:13 PM   #11
John VV
LQ Muse
 
Registered: Aug 2005
Location: A2 area Mi.
Posts: 17,506

Rep: Reputation: 2618Reputation: 2618Reputation: 2618Reputation: 2618Reputation: 2618Reputation: 2618Reputation: 2618Reputation: 2618Reputation: 2618Reputation: 2618Reputation: 2618
// NOTE FROM MODERATOR:
// Please don't post these type of comments, as they threaten to derail/ignite the thread.
// Feel free to contact me via email if you need to discuss this. --win32sux

Last edited by win32sux; 06-06-2010 at 06:00 PM. Reason: Removed non-constructive comment.
 
Old 06-06-2010, 03:15 PM   #12
jschiwal
LQ Guru
 
Registered: Aug 2001
Location: Fargo, ND
Distribution: SuSE AMD64
Posts: 15,733

Rep: Reputation: 679Reputation: 679Reputation: 679Reputation: 679Reputation: 679Reputation: 679
If you are having permission problems on remote shares, my guess is that you don't have permissions and ownerships configured correctly. If you are using NFS to share directories between computers, you may not be using the same UID for your regular user between the computers.
Using the "user" mount option, for example, you would be able to mount an NFS share as a regular user. You need to be the owner to enter the mounted share. If you have an external FAT32 or NTFS drive, using UUID=<the uuid #> in /etc/fstab along with the uid=, gid= and the user option, you can mount it as a regular user and have the ownership and permissions set properly.
 
Old 06-06-2010, 03:18 PM   #13
Karl Godt
Member
 
Registered: Mar 2010
Location: Kiel , Germany
Distribution: once:SuSE6.2,Debian3.1, aurox9.2+3,Mandrake?,DSL? then:W7st,WVHB, #!8.10.02,PUPPY4.3.1 now:Macpup
Posts: 314

Rep: Reputation: 45
Wink

Quote:
The helmet is part of the upper arms in heraldry .
Helm (Heraldik) – Wikipedia
- [ Translate this page ]
[NON-ENGLISH CONTENT REMOVED BY MODERATOR]
de.wikipedia.org/wiki/Helm_(Heraldik) - Cached - Similar

http://translate.google.com/translat...-US:unofficial

Last edited by win32sux; 06-06-2010 at 05:44 PM. Reason: The LQ Rules require all content to be in English.
 
  


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
How to add user account(non-root)? cola Slackware 9 09-16-2009 08:13 PM
Using root permissions with another user JWT2 Linux - Security 11 10-06-2005 08:13 PM
Help! Cannot Add a User to User Manager or Change Root Password lennysokol Linux - General 2 06-25-2005 10:59 AM
Root permissions for a user Neutron1998 Linux - Newbie 1 09-30-2004 05:28 PM
User Permissions?Root? bongski55 Slackware 7 06-17-2003 07:13 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Security

All times are GMT -5. The time now is 09:02 PM.

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