It is currently Fri Jul 28, 2017 12:35 am



Welcome
Welcome to antiX-forum.

You are currently viewing our boards as a guest, which gives you limited access to view most discussions and access our other features. By joining our free community, you will have access to post topics, communicate privately with other members (PM), respond to polls, upload content, and access many other special features. Registration is fast, simple, and absolutely free, so please, join our community today!


Post new topic Reply to topic  [ 15 posts ] 
Author Message
 Post subject: MX/antiX Technical Documentation Wiki
PostPosted: Tue Aug 25, 2015 2:30 am 
Offline

Joined: Wed Sep 12, 2007 4:55 pm
Posts: 440
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 Sat Sep 05, 2015 3:01 pm, edited 4 times in total.

Top
 Profile  
 
 Post subject: Re: MX/antiX Technical Documentation Wiki
PostPosted: Tue Aug 25, 2015 2:42 am 
Offline
User avatar

Joined: Fri Feb 20, 2009 3:44 am
Posts: 4023
Location: Pecos, Texas
Not sure Jerry. So I will post a link. It has helped me with editing sudo in the past

http://antix.mepis.org/index.php?title= ... _Ratpoison!

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

Quote:
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.

_________________
Linux Registered User # 475019
Linux at Home courses
How to Search for AntiX solutions to your problems


Top
 Profile  
 
 Post subject: Re: MX/antiX Technical Documentation Wiki
PostPosted: Tue Aug 25, 2015 2:48 am 
Offline

Joined: Wed Sep 12, 2007 4:55 pm
Posts: 440
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..


Top
 Profile  
 
 Post subject: Re: MX/antiX Technical Documentation Wiki
PostPosted: Tue Aug 25, 2015 2:57 am 
Offline

Joined: Wed Sep 12, 2007 4:55 pm
Posts: 440
OK, went ahead and created this Wiki entry (good idea):

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.


Top
 Profile  
 
 Post subject: Re: MX/antiX Technical Documentation Wiki
PostPosted: Tue Aug 25, 2015 5:54 am 
Offline

Joined: Thu Feb 09, 2012 7:29 am
Posts: 1263
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.


Top
 Profile  
 
 Post subject: Re: MX/antiX Technical Documentation Wiki
PostPosted: Tue Aug 25, 2015 10:17 am 
Offline
User avatar

Joined: Thu Jul 26, 2012 9:46 pm
Posts: 760
Location: Surrey/Hants Border UK
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).

_________________
Linux (& BSD) since 1999.
(Now also ukuleles & harmonicas.)


Top
 Profile  
 
 Post subject: Re: MX/antiX Technical Documentation Wiki
PostPosted: Tue Aug 25, 2015 12:58 pm 
Offline

Joined: Fri Nov 04, 2011 3:50 pm
Posts: 318
Location: Chemnitz
sudo
is a genuflection before Windows users can not to memorize two passwords! :mrgreen:


Top
 Profile  
 
 Post subject: Re: MX/antiX Technical Documentation Wiki
PostPosted: Tue Aug 25, 2015 4:02 pm 
Offline
User avatar

Joined: Fri Feb 20, 2009 3:44 am
Posts: 4023
Location: Pecos, Texas
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

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.

_________________
Linux Registered User # 475019
Linux at Home courses
How to Search for AntiX solutions to your problems


Top
 Profile  
 
 Post subject: Re: MX/antiX Technical Documentation Wiki
PostPosted: Tue Aug 25, 2015 5:18 pm 
Offline

Joined: Wed Sep 12, 2007 4:55 pm
Posts: 440
Quote:
@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...


Top
 Profile  
 
 Post subject: Re: MX/antiX Technical Documentation Wiki
PostPosted: Thu Aug 27, 2015 2:57 pm 
Offline

Joined: Wed Sep 12, 2007 4:55 pm
Posts: 440
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:

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


Top
 Profile  
 
 Post subject: Re: MX/antiX Technical Documentation Wiki
PostPosted: Thu Aug 27, 2015 4:01 pm 
Offline

Joined: Thu Feb 09, 2012 7:29 am
Posts: 1263
Quote:
http://www.mepiscommunity.org/wiki/system/root-access#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 Wed Sep 02, 2015 8:06 am, edited 2 times in total.

Top
 Profile  
 
 Post subject: Re: MX/antiX Technical Documentation Wiki
PostPosted: Thu Aug 27, 2015 4:07 pm 
Offline

Joined: Wed Sep 12, 2007 4:55 pm
Posts: 440
Thanks, that's what I was (not) thinking of...


Top
 Profile  
 
 Post subject: Re: MX/antiX Technical Documentation Wiki
PostPosted: Thu Aug 27, 2015 4:07 pm 
Offline
User avatar

Joined: Sun Dec 16, 2007 4:49 pm
Posts: 2161
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 :) 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.

_________________
http://www.youtube.com/runwiththedolphin
eeepc 904ha antix 15 32 bit (streaming media player)
sony laptop amd 900mhz duran 512mb ram, antix 13 32-bit
lenovo s21e - 2gb ram, celeron - antiX-16 64 bit


Last edited by dolphin_oracle on Thu Aug 27, 2015 4:40 pm, edited 1 time in total.

Top
 Profile  
 
 Post subject: Re: MX/antiX Technical Documentation Wiki
PostPosted: Thu Aug 27, 2015 4:23 pm 
Offline
User avatar

Joined: Fri Feb 20, 2009 3:44 am
Posts: 4023
Location: Pecos, Texas
Code:
rokytnji, I am amazed. stunned.


sudo visudo opens nano in /etc/sudoers for me

http://linuxg.net/setting-a-special-tex ... or-visudo/

YMMV from mine.

_________________
Linux Registered User # 475019
Linux at Home courses
How to Search for AntiX solutions to your problems


Top
 Profile  
 
 Post subject: Re: MX/antiX Technical Documentation Wiki
PostPosted: Thu Aug 27, 2015 4:42 pm 
Offline

Joined: Wed Sep 12, 2007 4:55 pm
Posts: 440
Yeah, one way or another you have to be root, which I didn't mention. Now have, thanks.


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 15 posts ] 


Who is online

Users browsing this forum: No registered users and 1 guest


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
suspicion-preferred