PDA

View Full Version : Giving user root privileges in terminal.



PhilMize
16th June 2009, 03:40 AM
Uhhh soo I'm brand new to Fedora but have been a long time Ubuntu user and I can't believe this is stumping me. Terminal will not let me use root privileges. I've tried giving myself root privileges through the user accounts section under administration, then logged out and back in but nothing. I keep getting:

[Phil@Phil-Laptop ~]$ sudo yum install picasa
[sudo] password for Phil:
Phil is not in the sudoers file. This incident will be reported.
[Phil@Phil-Laptop ~]$ sudo su
[sudo] password for Phil:
Phil is not in the sudoers file. This incident will be reported.
[Phil@Phil-Laptop ~]$


Even sudo su won't work!

Am I doing something wrong? (picasa is just an example app to prove point)

I tried loging in as root as well and it said there was no profile made for root so now im like wth?

I checked out this post (http://forums.fedoraforum.org/showthread.php?t=223310&highlight=give+root+privileges+to+user) but it did not really help my prob.

Hlingler
16th June 2009, 03:43 AM
Unlike Ubungtu, sudo must be set up by editing the /etc/sudoers file. And you should be able to log into a terminal as root user with (note space and dash characters):
~]$ su -
Password: <type root user password>
~]#

V

P.S. Expect yourself to be reported to yourself in system logs. :D