<html>
<head>
<style><!--
.hmmessage P
{
margin:0px;
padding:0px
}
body.hmmessage
{
font-size: 12pt;
font-family:Calibri
}
--></style></head>
<body class='hmmessage'><div dir='ltr'>hi Len,<br>thank you for the info.<br>The analysis you state is correct and pretty much how I feel about liveUsb vs install on usb as well.<br><br>You mention that autologic can be disabled from the initrd - or at least that is what the guide states.<br>Well in that case I am confused about were does initrd "jurisdiction" end and where does squashfs jurisdiction begins.<br>Ie where are the limits between the 2, what does one setup and what does the other etc. Is there a guide you can point me to to understand all this?<br><br>The confusion outflows from the fact that I actually have managed to disable autologin (as explained in the link i provided), but from the extracted squashfs rather than the extracted initrd. <br><br>Now as far as the username is concerned, the link you provided states in bold that I should remember to create a user and password, but it does not say how. should I create a new entry in <initrd_root>/etc/passwd ? what about a password? should I copy a string from my host's /etc/shadow and create the new file <initrd_root>/etc/shadow and paste the password string in there?<br>or what else??<br><br>thank you for your help!<br><br><br><div>> Date: Mon, 2 Feb 2015 21:54:33 -0800<br>> From: len@ovenwerks.net<br>> To: ubuntu-studio-devel@lists.ubuntu.com<br>> Subject: Re: [ubuntu-studio-devel] how can I alter the username in a live session<br>> <br>> On Mon, 2 Feb 2015, Mike Holstein wrote:<br>> > <br>> > what i did, in a similar case.. i made a close of the OS as i wanted it. when<br>> > restoring the image, i changed the hostnames as i wanted.<br>> > <br>> > it really depends on what you want. if you want a bootable USB stick with<br>> > ubuntustudio on it, that has a "custom" hostname, you can just do a normal<br>> > installation onto that USB stick, and set the name at install..<br>> <br>> Hey Mike, That does work (I have done it). I have also used a USB drive <br>> (with rotating disk) which is much faster. It is the same with a live USB <br>> ISO. It is faster. It is still a little slow, but despite having to un <br>> compress files as it reads them it is faster. What happens (near as I can <br>> tell) is that the cpu can uncompress faster than the USB stick can be <br>> read. The file size is smaller and so can be read faster too. Of course, <br>> once the Application is loaded and running, disk speed doesn't matter.<br>> <br>> The other plus to using an iso is the image is smaller than an install.<br>> <br>> The plus side for the install is it is maintainable... it can be upgraded, <br>> new apps can easily be installed etc. With a fast USB stick or SSD, the <br>> install would be the way to go. Do not add a swap part though... swap will <br>> burn up cycles in a SSD too fast.<br>> <br>> Anyway, https://help.ubuntu.com/community/LiveCDCustomization tells you <br>> how to change the username. It seems it is hard coded into the initrd :P<br>> Look for "Advanced Customizations". You can either remove the autologin <br>> and add a real user/password, or change the username for the auto login <br>> and or the system name. The user's home directory gets created at boot <br>> time each time un less persistance is selected when creating the usb <br>> stick... then it only gets created the first time. But the changes to the <br>> /etc/* files get done every time.<br>> <br>> As you can see, the username stuff is not ubuntustudio specific, it just <br>> grabs the flavour name and uses that.<br>> <br>> --<br>> Len Ovens<br>> www.ovenwerks.net<br>> <br>> <br>> -- <br>> ubuntu-studio-devel mailing list<br>> ubuntu-studio-devel@lists.ubuntu.com<br>> Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-studio-devel<br></div>                                         </div></body>
</html>