Root access (su, sudo, etc.) entry
Root access (su, sudo, etc.) entry
I have drafted up a new Wiki entry on this topic, along with cross refs to it for sudo and su:
http://www.mepiscommunity.org/wiki/system/root-access
Does it need a discussion of sudoers for antiX (wouldn't come from me!)? Included a link to a handy overview of advantages and disadvantages of using sudo.
I would appreciate some review/critique/etc. Any other documentation needed?
TIA
http://www.mepiscommunity.org/wiki/system/root-access
Does it need a discussion of sudoers for antiX (wouldn't come from me!)? Included a link to a handy overview of advantages and disadvantages of using sudo.
I would appreciate some review/critique/etc. Any other documentation needed?
TIA
Production: 5.10, MX-23 Xfce, AMD FX-4130 Quad-Core, GeForce GT 630/PCIe/SSE2, 16 GB, SSD 120 GB, Data 1TB
Personal: Lenovo X1 Carbon with MX-23 Fluxbox
Other: Raspberry Pi 5 with MX-23 Xfce Raspberry Pi Respin
Personal: Lenovo X1 Carbon with MX-23 Fluxbox
Other: Raspberry Pi 5 with MX-23 Xfce Raspberry Pi Respin
- chrispop99
- Global Moderator
- Posts: 3347
- Joined: Tue Jan 27, 2009 2:07 pm
Re: Root access (su, sudo, etc.) entry
I wonder whether a brief explanation as to when/how gksu might be used is desirable?
BTW, the section under 'Other' is using a different font to the rest of the page, and disappears off the edge here.
Chris
BTW, the section under 'Other' is using a different font to the rest of the page, and disappears off the edge here.
Chris
MX Facebook Group Administrator.
Home-built desktop - Core i5 9400, 970 EVO Plus, 8GB
DELL XPS 15
Lots of test machines
Home-built desktop - Core i5 9400, 970 EVO Plus, 8GB
DELL XPS 15
Lots of test machines
Re: Root access (su, sudo, etc.) entry
Thanks. Not totally sure about that gksu yet, but I added the man page to the Links for now.
EDIT: maybe I should put gksu in its own category like su and sudo?
EDIT: maybe I should put gksu in its own category like su and sudo?
Production: 5.10, MX-23 Xfce, AMD FX-4130 Quad-Core, GeForce GT 630/PCIe/SSE2, 16 GB, SSD 120 GB, Data 1TB
Personal: Lenovo X1 Carbon with MX-23 Fluxbox
Other: Raspberry Pi 5 with MX-23 Xfce Raspberry Pi Respin
Personal: Lenovo X1 Carbon with MX-23 Fluxbox
Other: Raspberry Pi 5 with MX-23 Xfce Raspberry Pi Respin
- dolphin_oracle
- Developer
- Posts: 22178
- Joined: Sun Dec 16, 2007 12:17 pm
Re: Root access (su, sudo, etc.) entry
maybe say MX Linux (antiX MX Edition) uses...su
antiX Linux (MX Linux) uses a “true root,” meaning that the Manual and the Forum will generally instruct the use of su. su lets you switch user so that you’re actually logged in as root but uses the environment of the user root,
gksu can be configured to use either sudo or root account authentication. in antiX 15 this is configurable in the control center although sudo is the default.
http://www.youtube.com/runwiththedolphin
lenovo ThinkPad X1 Extreme Gen 4 - MX-23
FYI: mx "test" repo is not the same thing as debian testing repo.
lenovo ThinkPad X1 Extreme Gen 4 - MX-23
FYI: mx "test" repo is not the same thing as debian testing repo.
Re: Root access (su, sudo, etc.) entry
Yeah, I meant to put "antiX MX" ...
Production: 5.10, MX-23 Xfce, AMD FX-4130 Quad-Core, GeForce GT 630/PCIe/SSE2, 16 GB, SSD 120 GB, Data 1TB
Personal: Lenovo X1 Carbon with MX-23 Fluxbox
Other: Raspberry Pi 5 with MX-23 Xfce Raspberry Pi Respin
Personal: Lenovo X1 Carbon with MX-23 Fluxbox
Other: Raspberry Pi 5 with MX-23 Xfce Raspberry Pi Respin
Re: Root access (su, sudo, etc.) entry
There's also kdesu for us KDE aficionados. 
One thing that puzzles me is why sudo is considered "safer" than su.

One thing that puzzles me is why sudo is considered "safer" than su.
Wouldn't "sudo rmdir /" while working under user do just as much damage as "rmdir /" while working under su?In Linux (and Unix in general), there is a SuperUser named Root. The Windows equivalent of Root is Administrators group. The SuperUser can do anything and everything, and thus doing daily work as the SuperUser can be dangerous. You could type a command incorrectly and destroy the system.
MX-14; 3.12-0.bpo.1-686-pae kernel using 4GB RAM
2.4GHz AMD Athlon 4600+
NVidia GeForce 6150 LE; 304.121 Display Driver
You didn't slow down because you're old; you're old because you slowed down.
2.4GHz AMD Athlon 4600+
NVidia GeForce 6150 LE; 304.121 Display Driver
You didn't slow down because you're old; you're old because you slowed down.
Re: Root access (su, sudo, etc.) entry
It's only safer with respect to ordinary users.
Will try to fit kdesu in somewhere.
Will try to fit kdesu in somewhere.
Production: 5.10, MX-23 Xfce, AMD FX-4130 Quad-Core, GeForce GT 630/PCIe/SSE2, 16 GB, SSD 120 GB, Data 1TB
Personal: Lenovo X1 Carbon with MX-23 Fluxbox
Other: Raspberry Pi 5 with MX-23 Xfce Raspberry Pi Respin
Personal: Lenovo X1 Carbon with MX-23 Fluxbox
Other: Raspberry Pi 5 with MX-23 Xfce Raspberry Pi Respin
Re: Root access (su, sudo, etc.) entry
You can tailor sudo to allow just a few commands to be run, by only some people, or a certain group, also it can 'time out'.joany wrote: One thing that puzzles me is why sudo is considered "safer" than su.
Whereas, if you su, you are now able to do anything system wide, including deleting it.
Re: Root access (su, sudo, etc.) entry
Small clarifiation:
gksu means (liberally) GTK(libs)-su.
When wheezy was in testing, except the obvious su, I used gksu for scripts on Desk Env. based on gtk like:
7kaa.sh:
pcsxr.sh:
My simple point: gksu is working for GTK libs; and (probably) not for KDE or any other.
gksu means (liberally) GTK(libs)-su.
When wheezy was in testing, except the obvious su, I used gksu for scripts on Desk Env. based on gtk like:
7kaa.sh:
Code: Select all
#!/bin/sh
gksu 'rovclock -m 864'
# gksu 'rovclock -m 972'
xrandr -s 800x600 -r 60
7kaa
xrandr -s 1360x768
# gksu 'rovclock -m 864'
gksu 'rovclock -m 756'
Code: Select all
#!/bin/sh
gksu 'rovclock -m 864'
# gksu 'rovclock -m 972'
xrandr -s 640x480 -r 60
pcsx
# gksu 'rovclock -m 864'
gksu 'rovclock -m 756'
xrandr -s 1360x768
Re: Root access (su, sudo, etc.) entry
My understanding is that gksu/gksudo or kdesu/kdesudo should be used for GUI programs. non_GUI programs should be called from su/sudo.
Yes, even I am dishonest. Not in many ways, but in some. Forty-one, I think it is.
--Mark Twain
--Mark Twain