LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 05-15-2013, 05:16 AM   #1
textillis
Member
 
Registered: May 2013
Location: Northern Rivers, NSW, Australia
Distribution: Slackware64-current, Mint Nadya
Posts: 299

Rep: Reputation: 2
Talking "'user' has no sudo rights. This will be reported"


I've obviously missed some important details when I created my non-root account.

Could someone kindly set me straight on this so that I don't get into trouble?
 
Old 05-15-2013, 05:37 AM   #2
smallpond
Senior Member
 
Registered: Feb 2011
Location: Massachusetts, USA
Distribution: Fedora
Posts: 4,140

Rep: Reputation: 1263Reputation: 1263Reputation: 1263Reputation: 1263Reputation: 1263Reputation: 1263Reputation: 1263Reputation: 1263Reputation: 1263
What command were you running?

This should explain the message:
http://xkcd.com/838/
 
1 members found this post helpful.
Old 05-15-2013, 05:45 AM   #3
EDDY1
LQ Addict
 
Registered: Mar 2010
Location: Oakland,Ca
Distribution: wins7, Debian wheezy
Posts: 6,841

Rep: Reputation: 649Reputation: 649Reputation: 649Reputation: 649Reputation: 649Reputation: 649
Quote:
Originally Posted by textillis View Post
I've obviously missed some important details when I created my non-root account.

Could someone kindly set me straight on this so that I don't get into trouble?
sudo gives a normal user power to insdtall software or make changes to the system, but in order for a usere to use sudo he /she must be part of the /etc/sudoers/group. In order to be included in the /etc/sudoers group you must edit it to include the user.
http://www.garron.me/en/linux/visudo...lt-editor.html

Last edited by EDDY1; 05-15-2013 at 05:49 AM.
 
1 members found this post helpful.
Old 05-15-2013, 05:47 AM   #4
textillis
Member
 
Registered: May 2013
Location: Northern Rivers, NSW, Australia
Distribution: Slackware64-current, Mint Nadya
Posts: 299

Original Poster
Rep: Reputation: 2
Quote:
Originally Posted by smallpond View Post
What command were you running?

This should explain the message:
http://xkcd.com/838/
I used the sudo cmd to install some software.
 
Old 05-15-2013, 05:57 AM   #5
EDDY1
LQ Addict
 
Registered: Mar 2010
Location: Oakland,Ca
Distribution: wins7, Debian wheezy
Posts: 6,841

Rep: Reputation: 649Reputation: 649Reputation: 649Reputation: 649Reputation: 649Reputation: 649
see if user is part of sudoers group
Quote:
cat /etc/sudoers
 
1 members found this post helpful.
Old 05-15-2013, 06:04 AM   #6
brianL
LQ 5k Club
 
Registered: Jan 2006
Location: Oldham, Lancs, England
Distribution: Slackware64 15; SlackwareARM-current (aarch64); Debian 12
Posts: 8,298
Blog Entries: 61

Rep: Reputation: Disabled
If it's your own computer, and you're the only user, then you don't really need sudo. If you're installing a Slackware package, log in as root:
Code:
su -
Enter root's password, then install:
Code:
installpkg packagename
Easy.
See:
Package management

Last edited by brianL; 05-15-2013 at 06:07 AM.
 
1 members found this post helpful.
Old 05-15-2013, 06:30 AM   #7
textillis
Member
 
Registered: May 2013
Location: Northern Rivers, NSW, Australia
Distribution: Slackware64-current, Mint Nadya
Posts: 299

Original Poster
Rep: Reputation: 2
my computer

Quote:
Originally Posted by brianL View Post
If it's your own computer, and you're the only user, then you don't really need sudo. If you're installing a Slackware package, log in as root:
Code:
su -
Enter root's password, then install:
Code:
installpkg packagename
Easy.
See:
Package management

That makes sense.
Thanks brian, thanks one and all.
 
  


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
How to configure for forwarding "sudo" syslog events in user specified file? nagendrar Linux - Newbie 3 10-27-2011 04:55 AM
[SOLVED] "sudo: Can't mkdir /var/run/sudo/%user%: File exists" CNBarnes Linux - Server 7 01-10-2011 04:11 PM
user rights for harddrives, writing only in "My documents"? Tentacle Linux - General 3 12-02-2005 08:54 AM
normal user want to perform "init 6" by using " sudo acbenny Linux - General 3 08-08-2004 07:41 AM
User rights like "ROOT" ishwar Linux - General 13 01-04-2003 09:11 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 03:10 AM.

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