Search results

  1. S

    sudo command problem

    Thanks for your reply. I have got a complete answer to my query. thanks once again.
  2. S

    sudo command problem

    artov, in the first command i.e. $sudo diff /tmp/foo/file[12] if I give the logged in user the access rights to the /tmp/foo directory, will this command work? thanks
  3. S

    sudo command problem

    thanks for the reply. passing the diff command without the quotes helped me. But when should I use "sh -c" with sudo command? I mean what is the use of adding that? Someone had already added that in the code. If I remove it, can it hav side effects in any case?
  4. S

    sudo command problem

    I have a user with limited access rights Right now,I am issuing comands like this: sudo sh -c "diff /tmp/file1 /tmp/file2" This makes my user to fire commands with higher privilege. Is there any workaround by which I can do the same by using something like: sudo "diff /tmp/file1...
Back
Top