SlackwareThis Forum is for the discussion of Slackware Linux.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
Some commands, such as iwconfig, I can't run with sudo, I have to type su and then run iwconfig. It happens with some other apps, but I can't remember them now.
Slackware != Ubuntu. It actually has a root account that you can log into. In Ubuntu they pretend the root account doesn't exist and instead allow the administrative account to run everything via sudo. In Slackware (and any other normal distro) you can run specific commands using 'su'. To run just one command without really logging in, try
Code:
$ su -c "command"
You need to supply your ROOT password, and not your user password. To use sudo (so you only have to enter your user password), you must add the specific commands to /etc/sudoers in a very specific format (look it up or try `man sudo`). To edit this file you should issue `visudo` as root (do NOT just open the file in a normal text editor -- visudo prevents multiple users from editing it at the same time and other lovely stuff).
I only set common commands (that require root privileges) up with sudo and use `su -c "command"` for less common tasks.
...and people think I'm overreacting by objecting to Ubuntu's deliberately dimwitted applications of sudo.
Between the abuse of sudo and the equally dimwitted "Lets have a COMPLETELY SEPARATE AND NEW DISTRO for every single X environment out there" its amazing that an *buntuers ever learn any Linux at all.
My apologies for the off-topic rant, we now return you to your regularly scheduled thread.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.