LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Fedora
User Name
Password
Fedora This forum is for the discussion of the Fedora Project.

Notices


Reply
  Search this Thread
Old 09-13-2011, 10:07 PM   #1
Pedroski
Senior Member
 
Registered: Jan 2002
Location: Nanjing, China
Distribution: Ubuntu 20.04
Posts: 2,116

Rep: Reputation: 73
sudoer list


How do I put myself in the sudoers list in Fed 14?? I wnt to install a vpn from command line, and the script tells me I am nnot in the sudoers list 'this will be reported'
 
Old 09-13-2011, 10:14 PM   #2
{BBI}Nexus{BBI}
Senior Member
 
Registered: Jan 2005
Location: Nottingham, UK
Distribution: Mageia 6, KDE Neon
Posts: 4,313

Rep: Reputation: 212Reputation: 212Reputation: 212
Quote:
Originally Posted by Pedroski View Post
How do I put myself in the sudoers list in Fed 14?? I wnt to install a vpn from command line, and the script tells me I am nnot in the sudoers list 'this will be reported'
A little bit of searching you would have found this yourself. Google is your friend.

Read this post: Adding a user to sudoers file
 
Old 09-14-2011, 05:46 AM   #3
Pedroski
Senior Member
 
Registered: Jan 2002
Location: Nanjing, China
Distribution: Ubuntu 20.04
Posts: 2,116

Original Poster
Rep: Reputation: 73
You are right sorry, I should have looked harder first. I had a lot of other problems getting video working and so on. The link you gave didn't really help a lot, but I found this after work today:

echo '(your)loginname ALL=(ALL) ALL' >> /etc/sudoers

Where 'loginname' is your user account.
Use 'ALL=(ALL) NOPASSWD:ALL' if you don't want to be prompted a password.
If you are prompted for a password with 'sudo' it is the user password, not root.

Worked fine!! It was at http://www.mjmwired.net/resources/mj...-fc6.html#sudo

Just for anyone who has the same problem!!
 
Old 09-14-2011, 03:38 PM   #4
{BBI}Nexus{BBI}
Senior Member
 
Registered: Jan 2005
Location: Nottingham, UK
Distribution: Mageia 6, KDE Neon
Posts: 4,313

Rep: Reputation: 212Reputation: 212Reputation: 212
Quote:
Originally Posted by Pedroski View Post
You are right sorry, I should have looked harder first. I had a lot of other problems getting video working and so on. The link you gave didn't really help a lot, but I found this after work today:

echo '(your)loginname ALL=(ALL) ALL' >> /etc/sudoers

Where 'loginname' is your user account.
Use 'ALL=(ALL) NOPASSWD:ALL' if you don't want to be prompted a password.
If you are prompted for a password with 'sudo' it is the user password, not root.

Worked fine!! It was at http://www.mjmwired.net/resources/mj...-fc6.html#sudo

Just for anyone who has the same problem!!
The solution you found is in the link that I posted. Thread #10. You have it fixed now so no problem.
 
Old 09-14-2011, 05:18 PM   #5
Pedroski
Senior Member
 
Registered: Jan 2002
Location: Nanjing, China
Distribution: Ubuntu 20.04
Posts: 2,116

Original Poster
Rep: Reputation: 73
Sorry, didn't mean to sound ungrateful, that link of yours was complex, it confused me. Iam grateful for your input.
 
Old 09-15-2011, 12:55 PM   #6
{BBI}Nexus{BBI}
Senior Member
 
Registered: Jan 2005
Location: Nottingham, UK
Distribution: Mageia 6, KDE Neon
Posts: 4,313

Rep: Reputation: 212Reputation: 212Reputation: 212
Quote:
Originally Posted by Pedroski View Post
Sorry, didn't mean to sound ungrateful, that link of yours was complex, it confused me. Iam grateful for your input.
You didn't come across as sounding ungrateful (not to me anyway) I was just pointing out the solution was right there.
 
  


Reply



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
sudoer list: Fedora 13 ciao303 Linux - Newbie 4 08-11-2010 03:06 AM
Sudoer Help ........ jitendriya.dash Linux - General 3 06-05-2009 05:02 AM
Add user to sudoer list but cannot use root commands vitalstrike82 Slackware 3 12-31-2008 07:27 AM
sudoer spidna Slackware 2 10-17-2006 02:51 AM
Sudoer??? SBN Linux - Software 1 10-03-2006 11:15 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Fedora

All times are GMT -5. The time now is 12:47 PM.

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