Quote:
Originally Posted by jones5
Next sudo and passwords:
I also think there are issues with sudo. Also it seems some new users like me think sudo is full root access. If sudo can give very specific rights I can understand it. It is different to user access with password. Sudo would seem to be an extra level of control between user access and root access?
I like the idea of just having root password on your own box. Sudo seems more appropriate for large numbers of users.
As I am with Ubuntu at the moment I will create a user account and password. I will put at the back of my mind someone could use my Live Ubuntu or full installation and use sudo to gain access.
|
Sudo is a function to give users elevated permissions. By default, the only way anyone seems to use it, does give all users in the sudoers group full permissions to do anythng they want.
I have not looked at a new ISO from Manjaro for over a year so I am not sure they still do it this way but back then, at least, you actually gave a password to get into the live session and they posted it on their website so you could do so. You were asked for the user name (manjaro) and the password (manjaro). I have no idea if they support persistence. If they do then you could change the password easily using the "passwd" command.
I believe the Live session used sudo to save needing more than the one password. Their non-graphical installer was quite different and I liked it. Had a section for creating the user and would, right in the installer, create as many as you wanted. So you gave a user name and password for that user and were asked, before the password was processed, if the user should have sudo permissions. I, being me and only installing with one user, declined that but thought it was a great setup tool.
Decided not to be so lazy and run a search;
https://duckduckgo.com/?q=Manjaro+live+with+persistence
Checking the hits didn't come up with much.
https://forum.manjaro.org/index.php?topic=760.0
is as close as it comes. Uses a Suse tool of some sort.
Your persistent partition for distros that natively support such things needs to be properly labeled so as to be recognized and needs a script copied to it.
One of the answers on the manjaro forum (from way back) said that you couldn't dd the ISO to a stick and set it up for persistence. This is crap. dd is the best thing to use for putting any ISO, live or not, on a stick. It will take the whold stick. You can, however, add as many partition on to the stick once the ISO is in place. I have a 32 gig stick with a Debian 7 (Wheezy) live on it. 8gig persistent partition and then the rest of the drive is a data partition for recovered files.
I have the 8 gig persistent partition so I can have a large music library for company when working on someones computer.
To dd an ISO to a stick;
Code:
dd if=<file> of=<device> bs=4M; sync
This is the Debian recommended command. Will work without the "bs=4M: sync". I use the whole thing. Never gave any problem no matter what distro I used but I suppose the block size may optomally be different on a different distro.
The if is Input File. of is Output File.
if is true path to ISO. of is /dev/sdx where x is the device designation asigned by your system.
I use cfdisk to partition the stick after getting the ISO on there. cfdisk is included with all distros I have ever played with. cli ncurses partitioning agent. Aligns partition much better than gparted does.
Of course you have to use some other application with Windows but I have never done that. Don't use Windows at all because of Vista and being a grumpy geezer I hold a grudge.
You may want to try a different Live distro. You are somewhat familiar with the Debian branch of linux and I am partial to it so I will suggest Debian. They only put out an official Live ISO for stable (Debian 7, on which Ubuntu 12.04 was built) but the same team that puts that our puts out an unofficial ISO with nonfree content (the things that Ubuntu offers and uses to prove all other distros are hard).
http://live.debian.net/cdimage/relea...64/iso-hybrid/
http://live.debian.net/cdimage/relea...86/iso-hybrid/
You want the .iso file for which ever fits your system. Unity is not available. I think Gnome Shell sucks so I recommend Xfce but will admit that while their panel system and the rest of the system is great, if you use the menu instead of creating launchers on the panel you will not be pleased because their menu is crap.
Xfce doesn't offer a user/group gui.
When Jessie is released as the new stable (14.04 is based on it) there should be a Mate ISO which is forked from Gnome 2 and has a great panel system too. I used it until Gnome 3 was released. My wife uses Mate on her laptop, loves it. Being a panel freak I think the Xfce panel is what the Gnome 2 panel system wanted to grow up to be.
Unity was going to be in both Fedora and Suse repos and got to the Suse repo for one release and was dropped as no one used it. Fedora worked at porting it to their system for months and gave it up as not worth the effort. I know there are people that like it. That is fine with me. I think it is designed for illiterate HS dropouts that work in fast food joints. Yes I did test both it and Gnome Shell for Ubuntu. Gnome Shell sucks but is much better than Unity.
Cinnamon is a DE that is a fork of Gnome Shell and it is pretty usable. That is a Linux Mint development. Don't think it is in the Wheezy repos but is in Jessie. May be in backports, Mate now is for Wheezy (my wife runs Wheezy - I prefer unstable versions so run testing and Sid - sid mainly).
Ubuntu LTS is built on Debian testing. Jessie is not released yet because Debian doesn't work by the callendar and has rules about what stable means. It is stable enough for Ubuntu is not their criteria. Ubuntu regular releases, between the LTS releases, are based on Sid which is Debian unstable and where all packages for Debian testing start out.
I think, that if you want a stable OS you need to be looking at Debian or CentOS (a Red Hat branch distro). Lots of Linux folks think they have too many "old" packages. You use XP. Wheezy is 2 years old. A little age on a package means it has fewer bugs.
Both Fedora and Mageia are more upto date. I have used both and have Mageia installed on an external now. I think Fedora is more stable than Ubuntu in spite of having an almost identical dev cycle. Mageia is slightly, very slightly, behind Fedora and Ubuntu as far as the cutting edge but very close. It is generally very stable because they use more of a Debian approach to when to release.
The failure to have a set release date for the next stable drives some people up the wall. I can sympathize with businesses that want to know when they can upgrade to the next version but figuring 3 years with Debian will get you by fine as they try for a 2 year cycle and support the previous version (old stable) for a year after new stable is released so it really isn't a big damned deal.
Debian 6 (Squeeze) has reached its EOL but is still supported under a trial LTS program. Ubuntu needs this for their new, with 12.04 LTS, 5 year support policy. Certainly can't expect them to do the work to maintain all those packages. You can depend on them to take the credit for it though.
Wheezy and Jessie will probably be supported that way too. But we will have to see what happens. The squeeze-lts repo seems to be doing alright so far. At least my Squeeze has not broken and does get package upgrades. That they do not come from the Debian security team, who do a great job but don't have time to support several versions at once, worries me. But that is Ubuntus worry, not mine. I am keeping Squeeze on here to watch.
Debian installer sets up a root password and then a user and that users password. If you want sudo you need to set it up yourself.
In recovery mode you will be asked for your root password to continue if wanting to do some work while in recovery mode. Or just hit enter and continue on to a normal login.
I am told I don't understand the "Ubuntu security model". This, I think, is crap. I think I under stand it very well. It is the worst in Linux. It tries not to frighten you poor MS users. As an ex Window user I find this insulting.
By the way, I did read all the horror stories on the UFs about Debian being so hard to set up and use. Being me I installed it as my 3rd multi boot OS in my 4th week of using Linux and had no trouble with it at all. The LQ sticky thred on the sources.list was a big reason for that easy set up to give credit where credit is due. Lenny, Debian 5, was much harder to set up than Squeeze, Debian 6. With Wheezy and the start (Debian is slow to add new things to their work load) of Live install media and that team creating the unofficial nonfree Live Media about the only thing, besides eye candy of course, that Ubuntu offers is less stability and less default security. All the hardening applications available to Ubuntu come from the Debian repos in the first place so that is all available under Debian.
Look at your /etc/apt/sources.list either in your file manager or;
Code:
cat /etc/apt/sources.list
While looking at that monstrosity consider that the Sid sources.list only needs two lines. Including the repos for source code, only one with just binaries. With Stable you need 3 pairs of lines for the full repos.
Then as a thinking person, tell me which is more likely to be stable and easier to maintain the servers for in a timely fashion.
I will admit that an accusation of not understanding the Ubuntu package management model would be right though so it may be the greatest thing since sliced bread.