VectorLinux
October 31, 2014, 03:14:47 am *
Welcome, Guest. Please login or register.
Did you miss your activation email?

Login with username, password and session length
News: Visit our home page for VL info. To search the old message board go to http://vectorlinux.com/forum1. The first VL forum is temporarily offline until we can find a host for it. Thanks for your patience.
 
Now powered by KnowledgeDex.
   Home   Help Search Login Register  
Please support VectorLinux!
Pages: [1]
  Print  
Author Topic: Trouble with sudo  (Read 1051 times)
bemrocky
Member
*
Posts: 2


« on: June 06, 2012, 07:30:42 pm »

I just installed Vector Linux Gold 7.0 and created a separate user account so that I don't have to log in as the root user. However, when I use the sudo command in the terminal  and enter the root password I get a response like this:

"Sorry, user katie is not allowed to execute '/usr/sbin/slapt-get --update' as root on HerbKatie.Linux.net.

This happens regardless of the command I am trying to execute with root permissions. Upon installation I checked all of the available permissions boxes when adding the account. Is there a way to fix this?

Thank you in advance.
Logged
bigpaws
Vectorian
****
Posts: 1856


« Reply #1 on: June 06, 2012, 08:37:15 pm »

You  need  to setup sudo in order to use it.

The command as root in the command line is:

visudo

edit and save the file.

Then sudo will work.

HTH

Bigpaws
Logged
hata_ph
Packager
Vectorian
****
Posts: 3258


-- Just being myself --


« Reply #2 on: June 06, 2012, 09:08:02 pm »

VectorLinux don't use sudo as default...why not use vsuper or use su instead?
Logged
roarde
Vectorian
****
Posts: 538


move the needle


« Reply #3 on: June 06, 2012, 10:22:18 pm »

su root -c '/usr/sbin/slapt-get --update'
Logged

Robert
VL STD 7.1 RC2.2.2, icewmvmods
bemrocky
Member
*
Posts: 2


« Reply #4 on: June 06, 2012, 11:06:57 pm »

Thank you all so much. "vsuper" worked perfectly. I have been using only Ubuntu for a couple of years, so it may take me a while to learn the differences.
Logged
Pages: [1]
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2013, Simple Machines Valid XHTML 1.0! Valid CSS!