LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Linux Mint
User Name
Password
Linux Mint This forum is for the discussion of Linux Mint.

Notices


Reply
  Search this Thread
Old 07-28-2012, 06:27 PM   #1
njb
Member
 
Registered: Apr 2010
Location: Behind the Gateway
Distribution: Slackware 13.1
Posts: 167
Blog Entries: 4

Rep: Reputation: 16
How to grant root level access to simple admin user


Need your Help !
I'm using linux mint maya
I just mounted an NFS directory from my local server using fstab file
When I try to open it , I have an error message like this :
"You do not have the permissions necessary to view the contents of "HNB"."

NjB
 
Old 07-28-2012, 10:50 PM   #2
John VV
LQ Muse
 
Registered: Aug 2005
Location: A2 area Mi.
Posts: 17,624

Rep: Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651
access the NFS as root (su -)
or
edit the fstab line to allow non root read , or non root read/write
 
Old 07-29-2012, 04:46 AM   #3
njb
Member
 
Registered: Apr 2010
Location: Behind the Gateway
Distribution: Slackware 13.1
Posts: 167

Original Poster
Blog Entries: 4

Rep: Reputation: 16
Here is my fstab :
192.168.1.4:/volume1/HNB /media/HNB nfs rw,suid,dev,exec,auto,user,async,rsize=8192,wsize=8192,soft,timeo=14,intr 0 0

Can you see something I can change John ?

I acces NFS as a user wich belong to admin Group but,
How can I grant root privilege to the user I am ?

Last edited by njb; 07-29-2012 at 04:49 AM.
 
Old 07-30-2012, 11:36 PM   #4
John VV
LQ Muse
 
Registered: Aug 2005
Location: A2 area Mi.
Posts: 17,624

Rep: Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651
where did you come up with that line ?
from using Google there is a 2009 ubuntu post about slackware

however this should work just fine
Code:
192.168.1.4:/volume1/HNB /media/HNB nfs defaults 0 0
that WILL ask for a root password using a pop up
 
Old 08-03-2012, 12:09 PM   #5
njb
Member
 
Registered: Apr 2010
Location: Behind the Gateway
Distribution: Slackware 13.1
Posts: 167

Original Poster
Blog Entries: 4

Rep: Reputation: 16
Finely I found the solution John

I used this command line as root :

sudo chmod 0777 /media/HNB


Thank You
 
  


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
How to grant root level access to non root user zaeem Linux - Server 19 03-07-2012 11:51 AM
How to give user same access level as root - Fedora 14 - KDE MakeOrBreak Linux - Newbie 4 04-09-2011 04:22 PM
Grant normal user to run certain script with root access cdestiny Linux - Server 4 09-30-2008 02:42 AM
grant user access to /fat-c & copying users' preferences to another user n0x Linux - Newbie 1 07-04-2004 12:04 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Linux Mint

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