I am booting 18.10 on USB. I want to protect the the account with a password that is not default by creating an account when I boot Ubuntu.
When I boot Ubuntu 10.04.3 from a live CD, it asks me to enter a username and password. I have not booted before, and I haven't created an account.
pm-hibernate freezes and/or fails to resume on Dell XPS 13, 14.04, 3.19 kernel I'm running 14.04 on a new XPS 13. In order to support the newer hardware, I'm running a mainline 3.19 kernel.   Hibernate resume has been iffy with the entire 3.19 kernel line, but recently (3.19.5) pm-hibernate no longer works at all. The screen will either a) switch off momentarily, then back on with all inputs frozen or b) switch off entirely, and fail to resume upon power on (despite displaying the correct resume-from-uuid message).  I have enough swap space (and it has worked in the past), I have checked that the uuid is being correctly referenced, and nothing seems particularly amiss in /var/log/pm-suspend.log (last 200 lines here: )  Thanks for your help. Determine which app is drawing on top of other apps? How to undelete a directory that was just deleted with "rm -R" command (in cloud drive)? I deleted an important directory with rm -R command. This is an very populer host data. It was located /var/zpanel/hostdata/ayrintilih After remove ayrintilih directory has gone everything.  I tried to undelete with ext4magic program. But it need to another hdd volume for recovery.  Error message:   ERROR: can not use "/root/recoveried" for recover directory. It's the same filesystem : "/dev/dm-0"   My ISP just replied my request:  Unfortunately there is no way to add another Volume to a virtual Instance.  If it would be a dedicated Server, we could do it, but not in a Cloudserver.  You could try to minimize the partition and create another one, that would  count as another Volume. We also recommend to have allways a  Backup for your Important files. I am travelling to Athens, Greece, shortly, and have seen . Should I be worried? Should I cancel my trip?  Update  It's fine, taxis are currently on strike, but Syntagma Sqaure is fine: In his  Feynman calculates the field momentum of a moving charged sphere with charge $q$, radius $a$ and velocity $\mathbf{v}$. He finds that the total momentum in the electromagnetic field around the charged sphere is given by:  $$\mathbf{p} = \frac{2}{3} \frac{q^2}{4\pi \epsilon_0} \frac{\mathbf{v}}{ac^2}.$$  He calls the coefficient between the field momentum, $\mathbf{p}$, and the velocity, $\mathbf{v}$, the electromagnetic mass:  $$m_\textrm{elec}=\frac{2}{3} \frac{q^2}{4\pi \epsilon_0 a c^2}.$$  He claims that this electromagnetic mass $m_\textrm{elec}$ has to be added to the standard "mechanical mass" of the sphere to give the total observed mass of the object.  Would this view be accepted by most physicists today?  Have any experiments been performed that show the effect of the additional electromagnetic mass on the dynamics of a macroscopic charged object?  I guess the problem is that such an effect would only be large enough to be observable for charged particles like electrons. In that case it would be difficult to distinguish mechanical mass, presumably due to the Higgs field, from electromagnetic mass. Maybe one could perform a high energy/short length scale experiment on an electron that excluded the effect of the electromagnetic mass? We have our main BU (business unit) at the top of the tree, and one of the other BUs is TEST. In TEST we have created an Installed Package and in that installed package we have added a Server-to-Server API Integration. In the Access tab of that API Integration we've disabled the integration for the Parent BU, and have enabled it for the TEST BU.  When we make Rest API calls to the endpoint created in that API Integration we always get data from the "Main" BU, and not from the TEST BU.  If I create a contact that is available in both the Parent and TEST BU, but if I try to trigger an email based on a Triggered Send definition only the definitions created in the Parent BU are available and not the definitions from the TEST BU.  How can I access the data in the TEST BU from the Rest API? And why aren't the permissions preventing me from taking actions on the Parent BU? Understand PAM and NSS In the last days I have set up some Linux system with LDAP authentication and everything works fine, but there's still something I can't really understand regarding NSS and PAM, also after a lot of research. Citing:  NSS allows administrators to specify a list of sources where authentication files, host names and other information will be stored and searched for  and  PAM is a set of libraries that provide a configurable authentication platform for applications and the underlying operating system  What I don't understand is how PAM and NSS work and interact together. In  the architecture is explained pretty well: I configure PAM to use pam_ldap for LDAP accounts and pam_unix for local accounts, then I configure nsswitch.conf to fetch information from local files and LDAP. If I have understood correctly LDAP is used twice: first by pam_ldap and then by NSS which is itself called from pam_unix. Is that right? Is LDAP really used twice? But why do I need to configure both NSS and PAM? My explanation is that PAM performs different tasks than NSS and it is used by other programs. But, then, it should be possible to use only NSS or only PAM, as I have read in . So I experimented a bit and I have first tried to delete LDAP from the nsswitch.conf (and the authentication stopped to work as if only pam_ldap is not enough to do the job). Then I re-enabled LDAP in NSS and I deleted it from the PAM configuration (this time everything worked fine, as if pam_ldap is useless and NSS is enough to authenticate a user). Is there anyone who can help me to clarify this? Many thanks in advance. UPDATE I've just tried something now. I removed again all the pam_ldap entries in all pam configuration fields and I have also removed shadow: ldap from nsswitch.conf. As now in all the system there are only the lines: passwd: ldap files and group: ldap files in nsswitch.conf. Well... the login with LDAP users works perfectly, those two lines (plus /etc/ldap.conf) are enough to configure LDAP auth. From my knowledge PAM in independent from NSS, but my tests showed it's not. So I ask myself is it possible to completely disable NSS and use only PAM? Are background jobs and foreground jobs always in running state? A job can be running or stopped (suspended).  When we are talking about foreground jobs and background jobs, are we only talking about running jobs?  Are background jobs and foreground jobs always in running state?  Does it make sense to say whether a stopped job is foreground or background? in the street or on the street Systemd backed tmpfs | How to specify /tmp size manually I mount /tmp on tmpfs using:  sudo systemctl enable tmp.mount sudo systemctl start tmp.mount   But this way /tmp takes up all the free RAM:  $ df -h /tmp Filesystem      Size  Used Avail Use% Mounted on tmpfs           3.9G   12K  3.9G   1% /tmp $   How do I tell systemd tmp.mount to use only 1G? I know I can alternatively not use systemd and manually add an entry to /etc/fstab and specify the size there. But I don't want to do that. I want to use systemd backed tmpfs. Extract, convert, store and reuse (x,y) coordinate components I'm looking for a way to insert a &lt;style&gt; tag into an HTML page with JavaScript.  The best way I found so far:  var divNode = document.createElement("div"); divNode.innerHTML = "&lt;br&gt;&lt;style&gt;h1 { background: red; }&lt;/style&gt;"; document.body.appendChild(divNode);   This works in Firefox, Opera and Internet Explorer but not in Google Chrome. Also it's a bit ugly with the &lt;br&gt; in front for IE.  Does anyone know of a way to create a &lt;style&gt; tag that   Is nicer Works with Chrome?   Or maybe   This is a non-standard thing I should avoid Three working browsers are great and who uses Chrome anyway? Can a countable set contain uncountably many infinite subsets such that the intersection of any two such distinct subsets is finite? Ubuntu gets stuck in a login loop Expected Value of a Hypergeometric Random Variable A question from Kunen's book: chapter VII (H9), about diamond principle Google is counting the domain home page ("/") as a duplicate of "/index.html" For only my index pages, I am receiving this warning in Google Search Console:     Duplicate, submitted URL not selected as canonical   I know that this occurs because Google is attempting to track both the default landing "page" (i.e. www.domain.example/) and the page to which to which DirectoryIndex points (i.e. www.domain.example/index.html). They are, in fact, the same page, and so the warning is the result of a false positive.  Two questions for our community:   Why does Google not conflate these and count them as a single page? Alternately, is there something wrong with my set up if this has happened? I can easily force both pages to point to a single canonical URL. But which is preferable, "/" or "index.html"? How do I limit the number of rows returned by an Oracle query after ordering? Is there a way to make an Oracle query behave like it contains a MySQL limit clause? In MySQL, I can do this: select *  from sometable order by name limit 20,10  to get the 21st to the 30th rows (skip the first 20, give the next 10). The rows are selected after the order by, so it really starts on the 20th name alphabetically. In Oracle, the only thing people mention is the rownum pseudo-column, but it is evaluated before order by, which means this: select *  from sometable where rownum &lt;= 10 order by name  will return a random set of ten rows ordered by name, which is not usually what I want. It also doesn't allow for specifying an offset. $$\lim _{x\rightarrow 5}\frac{x^2-25}{x-5}  = \lim_{x\rightarrow 5} (x+5)$$  I understand that to evaluate a limit that has a zero ("hole") in the denominator we have to factor and cancel terms, and that the original limit is equal to the new and simplified limit. I understand how to do this procedurally, but I'd like to know why this works. I've only been told the methodology of expanding the $x^2-25$ into $(x-5)(x+5)$, but I don't just want to understand the methodology which my teacher tells me to "just memorize", I really want to know what's going on. I've read about factoring in abstract algebra, and about irreducible polynomials (just an example...), and I'd like to get a bigger picture of the abstract algebra in order to see why we factor the limit and why the simplified is equal to the original if it's missing the $(x-5)$, which has been cancelled. I don't want to just memorize things, I would really like to understand, but I've been told that this is "just how we do it" and that I should "practice to just memorize the procedure." I really want to understand this in abstract algebra terms, please elaborate. Thank you very much. In what occasion could the word “precious” be taken disapprovingly, or sarcastically? I understand that the word “precious” in the following quote of Maureen Dowd’s article “Heart of Darkness” (NYT, March 20) literally means “2. valuable or important and not to be wasted” as defined in OALD:     Congressman Jones read an e-mail from a former boss of General   Allen’s, giving the congressman this unvarnished assessment:   “Attempting to find a true military and political answer to the   problems in Afghanistan would take decades. Would drain our nation of   precious resources, with the most precious being our sons and daughters. Simply put, the United States cannot solve the Afghan   problem, no matter how brave and determined our troops are.   But I didn’t know “precious” has another meaning as defined in OALD: 5. (disapproving, people and their behavior) very formal, exaggerated and not natural, and Readers English Dictionary: 2.(colloquial) terrible, almost worthless, until I was told by my respected forum mate a few days ago.   Being encouraged by his suggestion for me to “ask another question if I’m not sure of what he means by describing his input as “precious” is actually rather “precious” phrasing, I would like to ask:   What is an example of “precious” being used as “disapproving” or sarcastic way (as neither OALD nor CALD provides examples)? Is there an easy way to discern the instance “precious” being used as “disapproving” from the case being used in the sense of genuine “great value” as used in the above quote other than judging from the context?