Posts: 452
Jerry
Joined: 12 Sep 2007
#1
I wanted to put into one location the Wiki entries we now have (will keep this updated), so people would have an idea of when it will help. These include two items from the antiX FAQs that have been generalized for all four antiX variants, and some that are MX specific; most, however, are applicable to all.

The Wiki is open to all Devs (please let me know if you need access).

Alias
Alien
Aptitude
BIOS
BitJam's programs list
Bluetooth
Boot parameters
Broadcom wireless
Chmod
Compiling and installing a new kernel
Compiling software
Dave's programs list
DOSEMU
Enabling Netflix in Google-Chrome Web Browser
Firewalls
Frugal installation
Git
gksu
Guide to Conky
Guide to smxi/sgfxi/inxi
Help files for MX apps
Licenses for MX apps
In-house applications with available source
Installing software
KDE
Login greeter (lightdm)
Ndiswrapper
NFS
NX Server
Package building guide
PATH
PDF
Permissions
Printer drivers
README: what was done to set up rsync server
Repos - MX-14
Repos - MX-15
Root access
Rootkit
Rsync mirror script--original
Rsync mirror script--revised
Sound not working
Static DNS
su
sudo
Synaptic errors
Tar
Time settings
Tor
Unsupported Nvidia GPUs
UUID
Whisker Menu - Tips and tricks
Wine

Let us know of any improvements--and please cite when you can!
Last edited by Jerry on 05 Sep 2015, 13:01, edited 4 times in total.
Posts: 4,164
rokytnji
Joined: 20 Feb 2009
#2
Not sure Jerry. So I will post a link. It has helped me with editing sudo in the past


========= SCRAPER REMOVED AN EMBEDDED LINK HERE ===========
url was:"http://antix.mepis.org/index.php?title=Further_Lighten_antiX_Ratpoison"
linktext was:"http://antix.mepis.org/index.php?title= ... _Ratpoison"
====================================
!

I guess a section sudo? Like I said. Works for me. Maybe not others though.
Many thanks to macondo.

Sudo is installed by default in antiX
Edit the file / etc/sudoers
# nano / etc/sudoers
and added the last 2 lines for myself and my wife (the only other user) and left it looking like this:
# sudoers file.
# # This file MUST be edited with the"visudo" command as root.
#
# See the man page for details on how to write a sudoers file.
#
# Host alias specification
# User alias specification
# Cmnd alias specification
# User privilege specification
root ALL=(ALL) ALL
onthego ALL=/usr/sbin/mesm
%users ALL=/usr/bin/apt-get -s upgrade
macondo ALL = NOPASSWD : ALL
giovi ALL = NOPASSWD: /sbin/halt, /sbin/reboot
saved/exit
then I tested it, as user:
$ sudo apt-get update && sudo apt-get dist-upgrade
works fine. My wife can only shutdown and reboot.
Posts: 452
Jerry
Joined: 12 Sep 2007
#3
Not understanding...that link leads to a blank page. I have a short section in the Users Manual that talks about the root access possibilities, and maybe we should factor it out for an extended Wiki page on"Root access"?

Give me a correct link and I will set up the page if it seems like a good idea to you. We can set you up with access if you are interested..
Posts: 452
Jerry
Joined: 12 Sep 2007
#4
OK, went ahead and created this Wiki entry (good idea):


========= SCRAPER REMOVED AN EMBEDDED LINK HERE ===========
url was:"http://www.mepiscommunity.org/wiki/system/root-access"
linktext was:"http://www.mepiscommunity.org/wiki/system/root-access"
====================================


The"Lorum ipsum" part is for you ...

Will try to add in the editing sudo thing, if I can understand it.
Posts: 1,445
skidoo
Joined: 09 Feb 2012
#5
Jerry, in the pasted link above, the trailing exclamation point was supposed to be (needs to be) included in the urlstring

rokytnji, I am amazed. stunned.
OMG, on another forum, the denizens boxed my ears when I suggested editing that file.
THE DEBIAN WAY or whatever... is to use the"visudo" command.

The advisement against hand-editing, as I understand it, is that accidental introduction of stray characters
(whitespace? end of line space? variant unicode newline chars?) will wreck later parsing of the file.
Posts: 850
fatmac
Joined: 26 Jul 2012
#6
Its a security thing, visudo checks the syntax before saving, likely not needed if only altering one or two lines, but if setting it up for site use, could be disasterous.

I bought the book Sudo Mastery user access control for real people by Michael W. Lucas, (but have not read it yet).
Posts: 325
male
Joined: 04 Nov 2011
#7
sudo
is a genuflection before Windows users can not to memorize two passwords! __{{emoticon}}__
Posts: 4,164
rokytnji
Joined: 20 Feb 2009
#8
Jerry wrote:Not understanding...that link leads to a blank page. I have a short section in the Users Manual that talks about the root access possibilities, and maybe we should factor it out for an extended Wiki page on"Root access"?

Give me a correct link and I will set up the page if it seems like a good idea to you. We can set you up with access if you are interested..
Not sure what went wrong. My link should have took you here

Image

So I'll try and post the link again


========= SCRAPER REMOVED AN EMBEDDED LINK HERE ===========
url was:"http://antix.mepis.org/index.php?title=Further_Lighten_antiX_Ratpoison"
linktext was:"http://antix.mepis.org/index.php?title= ... _Ratpoison"
====================================
!

Hmmm. Must have found another forum bug maybe. My link shows the explanation point on the end here. But when it takes to the site. It is left off.
Oh well. Nice catch there skidoo. I shock everyone all the time. It is in my nature to be that way.

Different drummer n' all.

@jerry . I'd rethink access to the wiki page for me if I was you. My style is loosey goosey and does not carry over well for other folks.
I'd just probably upset folks. I hardly touch the AntiX wiki so to keep my writing style off of it for that reason.
Posts: 452
Jerry
Joined: 12 Sep 2007
#9
@jerry . I'd rethink access to the wiki page for me if I was you. My style is loosey goosey and does not carry over well for other folks.
I'd just probably upset folks. I hardly touch the AntiX wiki so to keep my writing style off of it for that reason.
Well, it does deviate quite a bit from standard English usage--but I wield a heavy editorial hand. Alternatively, you can PM me something; I might be willing to serve as scribe once in a while but I have found that gets abused pretty fast...
Posts: 452
Jerry
Joined: 12 Sep 2007
#10
I would very much appreciate it if someone who understands the situation in antiX 15 well could review the section on sudo in the Root access Wiki entry:


========= SCRAPER REMOVED AN EMBEDDED LINK HERE ===========
url was:"http://www.mepiscommunity.org/wiki/system/root-access#sudo"
linktext was:"http://www.mepiscommunity.org/wiki/syst ... ccess#sudo"
====================================


Aren't there some tricks about root password in 15 depending on context? I seem to remember seeing posts recently along that line and it would be good to spell them out here if necessary.

TIA
Posts: 1,445
skidoo
Joined: 09 Feb 2012
#11

========= SCRAPER REMOVED AN EMBEDDED LINK HERE ===========
url was:"http://www.mepiscommunity.org/wiki/system/root-access#sudo"
linktext was:"http://www.mepiscommunity.org/wiki/syst ... ccess#sudo"
====================================


pkexec
---------------- rarely/never used. IMO, docs should omit mentioning pkexec b/c its inclusion just adds confusion

sux -------------- sux is NOT installed in antix15, so I don't feel the docs should even mention it
"Aren't there some tricks about root password in 15 depending on context?"

The only context-related issue I can think of is this:
skidoo wrote:July 31, 2015 post42291.html#p42291
ControlCentre --} System --} Choose Startup Services

thought we covered this during betatesting but I can't find the post.
As evidenced here
antix-control-center-choose-startup-services-broken-t5823.html
the"odd" item (compared to other items, this requires root user password, user password for sudo not accepted) is a source of confusion.
Clicking opens a roxterm window, no explanation, prompting simply"Password:"
-=-
should be revised to either accept user's paswowrd for sudo, or to at least prompt"enter password for the ROOT USER account"
Last edited by skidoo on 02 Sep 2015, 06:06, edited 2 times in total.
Posts: 452
Jerry
Joined: 12 Sep 2007
#12
Thanks, that's what I was (not) thinking of...
Posts: 2,238
dolphin_oracle
Joined: 16 Dec 2007
#13
for the most part the graphical apps are defaulting to sudo access as gksu is configured that way. Some apps in the control center that use a popup terminal window for authentication are still requesting root passwords, as those particular apps do not use gksu.

***edit*** I see skidoo posted while I was typing __{{emoticon}}__ same issue, but its not just the services tab. There is at least one other, although at the moment I don't remember what it is.

***edit 2*** Set Time is the other that calls for a root password.
Last edited by dolphin_oracle on 27 Aug 2015, 14:40, edited 1 time in total.
Posts: 4,164
rokytnji
Joined: 20 Feb 2009
#14

Code: Select all

rokytnji, I am amazed. stunned.
sudo visudo opens nano in /etc/sudoers for me


========= SCRAPER REMOVED AN EMBEDDED LINK HERE ===========
url was:"http://linuxg.net/setting-a-special-text-editor-for-visudo/"
linktext was:"http://linuxg.net/setting-a-special-tex ... or-visudo/"
====================================


YMMV from mine.
Posts: 452
Jerry
Joined: 12 Sep 2007
#15
Yeah, one way or another you have to be root, which I didn't mention. Now have, thanks.