antiX / MX LinuxThis forum is for the discussion of antiX and MX 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.
I am trying antiX, using IceWM, in a virtual box. Is the root account locked by default in antiX? I can neither log in to it nor, in either the liveCD's demo mode or a user account, find a package manager (which the designers might not bother making visible if root were locked) to install software.
I am using the full version of antiX, not the base version.
Last edited by newbiesforever; 07-09-2011 at 02:20 PM.
They are choosing to disregard user freedom in the name of safety, and are also assuming the user is ignorant of the dangers of using the root account. Oh, please--I've heard the lectures about the root account on and off since I started using Linux eight years ago. Every (legal) thing I do with my copy of a Linux distro, including whether I use the root account (for whatever reason) should be my decision.
And the reason I sought to open the root account is because I couldn't find a package manager in my antiX user account--there's nothing in the menu that I can identify as a package manager--and I was hoping the root account had access to one. (I'm unfamiliar with IceWM.) I wanted to install software.
Hmph. If the root account is indeed locked in antiX, I should defeat the designers' intent by remastering a copy with root unlocked and then sharing it online.
Last edited by newbiesforever; 07-09-2011 at 04:31 PM.
Distribution: antiX using herbstluftwm, fluxbox, IceWM and jwm.
Posts: 631
Rep:
antiX-full uses synaptic (or apt-get from command line). Once logged in as user (demo by default in live mode), open a terminal, type sux followed by root password (root in live mode) and then synaptic or whatever gui app you want to run.
sudo is not set up by default in antiX.
If you really want to login as root, then similar to {BBI}Nexus{BBI} post except instead of nogui cheat, use the number 3.
Edit: To enable root login, simply copy the .xinitrc file from user directory to /root.
Last edited by anticapitalista; 07-09-2011 at 04:33 PM.
They are choosing to disregard user freedom in the name of safety
No they're not, you are still free to use root, it's just not easy to find.
Quote:
and are also assuming the user is ignorant of the dangers of using the root account.
I think the precaution is geared more towards the newbie user. You have had 8 yrs to get to know your way around Linux, and I bet you didn't start running as root straight away. I don't see anyone lecturing you about running as root. It's up to the devs to decide how to present their distro. If it's not to your liking there are plenty more to choose from that will give you your 'defacto' freedom that you think has been curtailed. I would have thought after 8 yrs you would know how to search for the solution instead of posting a rant.
Using apt-get or install and use aptitude (but keep to one) from the command line is recommended, as is using the smxi script. Synaptic is best used for installing/upgrading individual packages.
Use 'sux' rather than 'su' when opening GUI apps as root in a terminal.
Sudo is not configured by default. antiX is not Ubuntu!
antiX-full uses synaptic (or apt-get from command line). Once logged in as user (demo by default in live mode), open a terminal, type sux followed by root password (root in live mode) and then synaptic or whatever gui app you want to run.
sudo is not set up by default in antiX.
If you really want to login as root, then similar to {BBI}Nexus{BBI} post except instead of nogui cheat, use the number 3.
Edit: To enable root login, simply copy the .xinitrc file from user directory to /root.
Thanks, that was everything I needed to know. Now I won't need to login as root. I suspected that not even sudo was enabled in antiX--Synaptic not being in the user account menu hinted at it. Now that's going too far--antiX users have to jump through extra hoops to make any safe and reasonable use of root (sudoing), much less to login as root. Thank you also, {BBI}Nexus{BBI}.
Quote:
Originally Posted by {BBI}Nexus{BBI}
No they're not, you are still free to use root, it's just not easy to find. I think the precaution is geared more towards the newbie user. You have had 8 yrs to get to know your way around Linux, and I bet you didn't start running as root straight away. I don't see anyone lecturing you about running as root. It's up to the devs to decide how to present their distro. If it's not to your liking there are plenty more to choose from that will give you your 'defacto' freedom that you think has been curtailed. I would have thought after 8 yrs you would know how to search for the solution instead of posting a rant.
No, not really. I'm still a novice user; I'm just not an irresponsible idiot who uses the root account unnecessarily.
Last edited by newbiesforever; 07-09-2011 at 04:52 PM.
synaptic is in the menu. Applications -> Preferences-> Synaptic
It is also in the antiX control centre under System -> Manage Packages.
The FAQ (installed and on line) mentions this.
This looks like I'm blind, but I plead that my antiX had not installed correctly in the virtual machine. I just reinstalled it, and now there are Synaptic and various other items that weren't there before. (It would not be the first time a LiveCD has screwed up when installing to my hard drive. Occasionally, one installs to my hard drive with the demo mode available.)
Quote:
Originally Posted by snowpine
Clearly you know nothing about anticapitalista (creator of antix)... !
Well, of course I don't know anything about Anticapitalista. I don't know anyone from LQ personally, and I don't know any biographical details about any user, except in a few cases I gather that a user is a programmer or does work for LQ.
Last edited by newbiesforever; 07-09-2011 at 05:51 PM.
There are more shades of root use than either sudoing or logging in as root. In my antiX installation, I just tried to edit the sources list in /etc/apt to add some repositories, but can't do it because that file is owned by root. Normally, I would right-click and then select "open as root," but that option naturally doesn't exist. So I have to use one of the methods discussed in this thread, ultimately just so I can add repositories containing KDE Trinity and install it. What a mess. I'll try Anticap's instruction to copy the .xinitrc file from user directory to /root. It doesn't sound like it would work, for the same reason I couldn't modify the sources.list--presumably root owns its .xinitrc file. But a guy who can design a fork of a distro knows what he's doing.
IceWM is nice; if I wanted to leave KDE, I'd probably keep IceWM. But I don't want to leave KDE. The only reason I'm messing around with AntiX and IceWM is because the regular MEPIS 11 is over 1 GB. I didn't have any blank DVDs lying around, but I had plenty of blank CDs for burning music and burning the MEPIS ISOs that used to fit onto CDs. I know full well that if I installed the regular MEPIS, I would promptly find a large amount of software that I don't need, because that's what always happens when I install a new copy of MEPIS.
Last edited by newbiesforever; 07-24-2011 at 02:41 PM.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.