LinuxQuestions.org
Latest LQ Deal: Complete CCNA, CCNP & Red Hat Certification Training Bundle
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 08-06-2018, 02:28 AM   #1
endless-rain
LQ Newbie
 
Registered: Aug 2018
Location: Melbourne
Distribution: Slackware 14.2 - Multilib
Posts: 25

Rep: Reputation: Disabled
Slackware 14.2 -Multi- | cannot use installpkg via sudo, user is member of wheel, and wheel option in sudoers is enabled ?


I'm trying to install some programs, the programs say do not install as root.

i seem to be ONLY able to do it as root, but i am under the impression, if groups says my user is a member of wheel and
have uncommented /etc/sudoers to allow members of wheel to perform ANY command?

I should be able to sudo installpkg no ?

I trying hard to read all the man pages but it's like information overload and my brain hurts :"(

wtf ?

Last edited by endless-rain; 08-06-2018 at 02:31 AM.
 
Old 08-06-2018, 02:41 AM   #2
coralfang
Member
 
Registered: Nov 2010
Location: Bristol, UK
Distribution: Slackware, FreeBSD
Posts: 699
Blog Entries: 3

Rep: Reputation: 207Reputation: 207Reputation: 207
What output are you getting when trying to run installpkg via sudo?
Did you modify your shell path to contain /sbin? eg;

Code:
export PATH=$PATH:/sbin/:/usr/sbin/:
 
1 members found this post helpful.
Old 08-06-2018, 02:53 AM   #3
endless-rain
LQ Newbie
 
Registered: Aug 2018
Location: Melbourne
Distribution: Slackware 14.2 - Multilib
Posts: 25

Original Poster
Rep: Reputation: Disabled
it says
sudo: installpkg: command not found

when I echo the $PATH of my NON-ROOT user it says

/usr/local/bin:/usr/bin:/bin:/usr/games:/usr/share/ant/bin:/usr/lib64/kde4/libexec:/usr/lib64/qt/bin:/usr/share/textmf/bin


I think that's what the problem is, but i get SO confused when i see like, BIN:/BIN:USR/BIN/:BIN:/SBIN.
I haven't figured it out properly yet, i have tried to read up on what those files mean, and there is too much information.
I need a nice simple page. that doesn't jump all over the place between different explanations.


It's all VERY confusing.
 
Old 08-06-2018, 02:55 AM   #4
endless-rain
LQ Newbie
 
Registered: Aug 2018
Location: Melbourne
Distribution: Slackware 14.2 - Multilib
Posts: 25

Original Poster
Rep: Reputation: Disabled
Also thankyou so much for the reply, people seem to be ignoring my posts, I have other unanswered questions also. :"(
 
Old 08-06-2018, 03:02 AM   #5
endless-rain
LQ Newbie
 
Registered: Aug 2018
Location: Melbourne
Distribution: Slackware 14.2 - Multilib
Posts: 25

Original Poster
Rep: Reputation: Disabled
ok, well, your suggested command worked, thankyou, and I was able to install, the package.
But I REALLY need some clear documentaton on what sbin and all that is and how it actually works.
 
Old 08-06-2018, 03:13 AM   #6
endless-rain
LQ Newbie
 
Registered: Aug 2018
Location: Melbourne
Distribution: Slackware 14.2 - Multilib
Posts: 25

Original Poster
Rep: Reputation: Disabled
ok, i found this seems to be quite straight forward.

https://www.techradar.com/au/news/so...e-linux-609245
 
Old 08-06-2018, 05:12 AM   #7
Alien Bob
Slackware Contributor
 
Registered: Sep 2005
Location: Eindhoven, The Netherlands
Distribution: Slackware
Posts: 7,173

Rep: Reputation: 5109Reputation: 5109Reputation: 5109Reputation: 5109Reputation: 5109Reputation: 5109Reputation: 5109Reputation: 5109Reputation: 5109Reputation: 5109Reputation: 5109
Quote:
Originally Posted by endless-rain View Post
ok, well, your suggested command worked, thankyou, and I was able to install, the package.
But I REALLY need some clear documentaton on what sbin and all that is and how it actually works.
You seem to lack some basic understanding of Linux in general, and Slackware in particular. I can not judge the reason for this, so I think it is best if you just read the documentation.
Start with this page: https://docs.slackware.com/
And on that page, click and read at least the following:
https://docs.slackware.com/slackware:install
https://docs.slackware.com/slackware:beginners_guide
Take your time reading these articles, and try to understand what is written. If you do not understand a topic, search the Slackware Docs Wiki and/or the Internet for more background.
There's also the Linux Essentials book, also called the Slackware Book, a Wiki-fied copy can be found here: https://docs.slackware.com/slackbook:start . It contains a lot of basic information about your computer and the available commands, and reading this book will greatly benefit you.
 
2 members found this post helpful.
Old 08-06-2018, 05:55 AM   #8
abga
Member
 
Registered: Jul 2017
Location: EU
Distribution: Slackware
Posts: 510

Rep: Reputation: 265Reputation: 265Reputation: 265
@endless-rain
I remember helping you recently with a VPN configuration and noticed that you were trying to do administrative tasks with sudo and you ended up with some issues and frustration. The same I notice here here in this thread. On that occasion I was maybe not clear enough and did not advise you to always use the root account when undergoing administrative tasks in Slackware.
Instead of sudo, always use su -
 
1 members found this post helpful.
Old 08-06-2018, 06:01 AM   #9
endless-rain
LQ Newbie
 
Registered: Aug 2018
Location: Melbourne
Distribution: Slackware 14.2 - Multilib
Posts: 25

Original Poster
Rep: Reputation: Disabled
Thanks guys, I am very sorry to be annoying

I am just learning all this stuff on the fly, I don't really have any friends, I'm not the smartest person alive, and learning stuff takes me a little longer than the average person.

But I am getting there, I appreciate all your Help and Guidance.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
[SOLVED] sudo,wheel,sudoers ALL:NOPASSWORD,reboot BW-userx Slackware 30 10-10-2016 06:11 AM
Sudo and wheel group NotionCommotion Linux - Newbie 5 03-16-2014 11:16 PM
[SOLVED] PS2 wheel mouse/wheel does not work kph56 Ubuntu 2 12-21-2010 08:42 PM
PS2 wheel mouse/wheel not working jayhel Linux - Hardware 2 06-18-2006 06:54 PM
4d wheel mouse - scroll wheel no worky CamelofCamelot Linux - Hardware 1 10-28-2004 08:33 PM

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

All times are GMT -5. The time now is 08:47 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration