Help answer threads with 0 replies.
Go Back > Forums > Linux Forums > Linux - Distributions > Fedora
User Name
Fedora This forum is for the discussion of the Fedora Project.


  Search this Thread
Old 02-22-2006, 01:46 AM   #1
Registered: Oct 2004
Posts: 61

Rep: Reputation: 15
accessing of directory using sudo users

hi all
i ahve created a user called to be abhijit, to whom i want to give root priviliges.
i chaged in /etc/sudoers as
abhijit ALL=(ALL) ALL

but after this i am not able to access directory in my
/home/temp where i ahve something to be accessed
Old 02-22-2006, 02:42 AM   #2
Senior Member
Registered: Aug 2005
Posts: 1,755

Rep: Reputation: 49
What are you trying to do? Are you abhijit? Did you add "sudo " in front of whatever command you were doing?
Old 02-22-2006, 04:26 AM   #3
Registered: Oct 2004
Posts: 61

Original Poster
Rep: Reputation: 15
yes i did .
after that i logged into username : abhijit
and i am trying to access /home/temp which has been created by jass.

how can i access a directory created by other user.
i typed sudo /home/temp
command not found was the error
Old 02-22-2006, 04:34 AM   #4
Senior Member
Registered: Aug 2005
Posts: 1,755

Rep: Reputation: 49
you can either:
1. do whatever you need to do with that directory without needing to change to it (i.e. "sudo ls /home/temp", "sudo less /home/temp/foo", "sudo cp /home/temp/foo /bar", etc.)
2. open up a shell as root: "sudo su", and then you can change to it "cd /home/temp" and do whatever as root

Originally Posted by abhis_mail2002
i typed sudo /home/temp
"/home/temp" is a directory, not a command, so of course that doesn't work

Last edited by spooon; 02-22-2006 at 04:36 AM.


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
Problem Accessing Home Directory fish2ways SUSE / openSUSE 2 12-10-2005 02:51 PM
modem users: how are u accessing the net? webazoid Linux - Software 9 08-17-2004 04:20 AM
Accessing automount directory using chroot prakashpms Linux - Security 1 06-24-2004 06:17 PM
Problems accessing the home directory opensource Mandriva 1 01-03-2004 05:37 PM
Accessing the Active Directory GoRinNoSho Linux - Newbie 3 06-27-2003 10:44 AM

All times are GMT -5. The time now is 03:16 PM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration