Re: cant get into a file with sudo (Ubuntu 8.04)




"Martin Gregorie" <martin@xxxxxxxxxxxxxxxxxxx> wrote in message
news:pan.2008.04.26.18.22.56.799813@xxxxxxxxxxxxxxxxxxxxxx
On Sat, 26 Apr 2008 17:37:30 +0100, David wrote:

Trying to open a file ( /sys/devices/pci0000:00/0000:00:0f.0/ssb_sprom )
with gksudo gedit using a new install of the latest Ubuntu 8.04 but get
"could not open the file".
I thought that if I do sudo (correct password of course) I could get
into anything.
Is this correct?

No. You can only run commands that are permitted by the contents of
/etc/sudoers

sudo -l

will list what you're allowed to do. See "man sudoers" for more details
and how to change the list of permitted commands.

Many thanks.
Dave


.



Relevant Pages

  • Re: Web-Camera help configure D-Link DSB-C320 USB
    ... I see that there is a gspca driver in the Ubuntu kernel, try loading it, ... > You need to install spca5xx-source and run module-assistant (that will ... > sudo apt-get install spca5xx-source. ...
    (Ubuntu)
  • Re: Feedback please
    ... >>> straight Fedora user and no desire to move to Ubuntu, ... > If so this unsafe allowing users to install anything they want. ... And about ubuntu sudo you are right only the first user can do it, ...
    (Fedora)
  • Re: cant get into a file with sudo (Ubuntu 8.04)
    ... with gksudo gedit using a new install of the latest Ubuntu 8.04 but get ... I thought that if I do sudo I could get into ...
    (uk.comp.os.linux)
  • Re: ruby gems on ubuntu
    ... Every time I run setup.rb (with sudo) I get this message ... Is this an issue with ubuntu? ... apt-get install ruby-1.8.2 ... gem install ...
    (comp.lang.ruby)
  • Re: question
    ... | I am new to ubuntu, I recently switched from xp to ubuntu and now I have ... also I forget to install and login as root and installed it as ... or you can use sudo and then the command that you want to run such as ...
    (Ubuntu)