LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   sudo tutorial (https://www.linuxquestions.org/questions/linux-newbie-8/sudo-tutorial-946239/)

siickboii 05-22-2012 12:59 AM

sudo tutorial
 
I have fedora 16 and I need a sudo tutorial. Im attempting to add respositorys.Thanks...

Tinkster 05-22-2012 01:36 AM

Something like this?

Luccas 05-22-2012 06:21 AM

Open your terminal and enter that code:

Code:

bash-4.1$ man sudo

[]'s!

Luccas 05-22-2012 06:39 AM

I don't know very much about Fedora, but yum seems to work like Debian's apt-get: there is a configuration file and you must add in it the links to the repositories. It's very easy. Open your terminal

Code:

bash-4.1$ su -
Password:
root@linux:~#

and try to put the links on your rsync script.


[]'s!

siickboii 05-22-2012 10:07 PM

[siickboii@siickboii ~]$ su --login -c 'visudo'
Password:
visudo: no editor found (editor path = /bin/vi)

as far as i get:(

evo2 05-22-2012 11:00 PM

Hi,

you seem to be asking about sudo but what you are actually interested in is configuring yum. Try searching for "yum tutorial" or similar on the web.

Evo2.

PS. sudo is just one way of obtaining root privileges. It happens to be the default in Ubuntu, but AFAIK, not in Fedora. More likely what you whan is what Luccas posted in post #4.


All times are GMT -5. The time now is 02:21 AM.