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.
View Poll Results: How many of you Slackware users use sudo instead of su ?
Can't answer the poll because it isn't an either/or problem. For one-line commands I use frequently, I tend to use sudo, for longer sessions as root, I'll use su.
Can't answer the poll because it isn't an either/or problem. For one-line commands I use frequently, I tend to use sudo, for longer sessions as root, I'll use su.
The only place that I use sudo is in my laptop so that I can do suspend to disk without having to su to root.
For all the rest, if I want to play God, then su and typing a password is a small price to pay. I like the discipline of thinking about whether I really need root privileges to perform a task.
I don't use sudo. I might see a 'slight' advantage to not having to type in your root password to do certain administrative tasks, but in the long run to me that can be a security risk if somebody else is using your computer and decides to mess around with commands. Especially if the user is unexperienced, and stumbles upon sudo, you may as well just gives them your root account. I prefer su. To me it is a lot safer anyways. Plus I am also too lazy to even bother setting up sudo.
If I need root access to a folder, I will open it using file-manager in super-user mode;
If I need root privileges at a command line, I will open the terminal program in super-user mode.
Technically you ARE using su, especially in CLI mode. The only thing is you are not ACTUALLY typing 'su', but are presented with a password prompt, its just that 'su' has already been called upon for you by the super user terminal, or super user mode in a file manager. You are merely typing your password for root.
but in the long run to me that can be a security risk if somebody else is using your computer and decides to mess around with commands. Especially if the user is unexperienced, and stumbles upon sudo, you may as well just gives them your root account.
I agree with that. My kids know my normal user login password, so they'd also have access to sudo (which is not a very good idea...).
Plus, my root password is a lot harder to guess,
I might see a 'slight' advantage to not having to type in your root password to do certain administrative tasks, but in the long run to me that can be a security risk if somebody else is using your computer and decides to mess around with commands. Especially if the user is unexperienced, and stumbles upon sudo, you may as well just gives them your root account.
Unfortunately, the perceptions of sudo have been completely ruined by the bastardization that *buntu has promoted. You shouldn't be using sudo to grant general root access, that isn't what it is intended to do (even though it can). The whole purpose of sudo is to grant root access to a limited number of commands. Anyone using sudo to grant general root privileges is abusing it.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.