LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
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 04-30-2004, 03:14 PM   #1
dstjames
LQ Newbie
 
Registered: Apr 2004
Location: Detroit MI USA
Distribution: SUSE 10.0
Posts: 15

Rep: Reputation: 0
Linux root rights


On SUSE 9.0 how do I set my user account to have root rights? I want to be able to access some Netware mount points but to write to them I have to have root access. I went into Yast and edited my account to add me to the root group and make that group my default but I still dont have root rights. How do I do this? As you can tell I'm sure I am a linux newbie.

Any help appritiated.

Thanks
 
Old 04-30-2004, 03:59 PM   #2
iainr
Member
 
Registered: Nov 2002
Location: England
Distribution: Ubuntu 9.04
Posts: 631

Rep: Reputation: 30
Hi dstjames,

I think you're probably asking the wrong question. You shouldn't give your account root rights because someone who can get control of your account could then control the whole computer very easily - the traditional Windows situation that has led to one group of Polish hackers claiming to control 450,000 Windows PCs.

What you want to do is change the access controls of the Netware mount point to allow non-root users to write to them (or, even better) just to allow your user account to write to them. I'm not sure how to do that, but that's the area you need to be looking at.
 
Old 04-30-2004, 04:44 PM   #3
witeshark
Member
 
Registered: Jan 2004
Location: Miami FL
Distribution: Mac OS X 10.4.11 Ubuntu 12.04 LTS
Posts: 429

Rep: Reputation: 30
Quote:
Originally posted by iainr
Hi dstjames,

I think you're probably asking the wrong question. You shouldn't give your account root rights because someone who can get control of your account could then control the whole computer very easily - the traditional Windows situation that has led to one group of Polish hackers claiming to control 450,000 Windows PCs.

What you want to do is change the access controls of the Netware mount point to allow non-root users to write to them (or, even better) just to allow your user account to write to them. I'm not sure how to do that, but that's the area you need to be looking at.
Good advise! And just a tick more, please don't use root login or su to root while on line. Permissions to files and users can be adjusted in the command line shell/terminal
 
Old 07-24-2004, 05:27 AM   #4
jschiwal
LQ Guru
 
Registered: Aug 2001
Location: Fargo, ND
Distribution: SuSE AMD64
Posts: 15,733

Rep: Reputation: 682Reputation: 682Reputation: 682Reputation: 682Reputation: 682Reputation: 682
You can use the -u option to scpmount or in the fstab file to become the user of the share.

Or you could use the -g gid option and make certain users the group owners of the share.
 
  


Reply



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
ubuntu, I can no longer become root or have root rights TroelsSmit Linux - Newbie 7 03-24-2007 07:17 PM
Root/User rights to Root commands? mrde50garfield Linux - Software 2 10-24-2006 05:42 AM
Non root rights in Mozilla dazzlehank Slackware 5 01-19-2004 03:47 PM
root has lost its rights DoubleM Linux - General 3 03-19-2003 02:10 PM
root rights tfrye Linux - Security 1 12-20-2000 02:28 AM

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

All times are GMT -5. The time now is 12:21 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