I just discovered when I wanted to install a package that my Administrator account has changed to a Standard account and I don't have access to sudo. There is no other user account except my account.
I am running 12.04 LTS. It's a pretty default installation and is the only OS on this machine.  I have two users one has administrator rights the other does not. I accidentally removed administrator rights from the "admin" user.  I tried to  but that requires reaching GRUB during boot but I cannot get there because my /etc/default/grub has GRUB_HIDDEN_TIMEOUT=0 and changing that to a positive integer requires admin privileges to save the changes and run sudo update-grub.  Should I boot from LiveCD? The  discouraged my a bit. Right now all I have handy is an install DVD from 11.10, but that did not help me much.  Not sure what to do now.  Any suggestions?  NOTE: 12.04 does not have an admin group and I have not enabled root
A  is river or stream that flows into a larger river.  A  a stream branching off a river.    Is there a word that combines both structures, the idea of a river that splits in two and later rejoins to become one river again?           /---------------\ ---------                 --------------------          \---------------/   My focus here is on the waterway, not the land. I’m looking for a word describing the behavior of the river splitting and later rejoining, without regard for the geography, and without regard for the cause or effect between land and water. Ubuntu copy dialogue stops at the last moment for a long time Whenever I try and copy a file to an USB flash disk, the progress bar runs till the end very fast and stops for an indeterminable time before it is complete.  Is there an issue with ubuntu or my flash disk is what I am not able to figure out. All I want is a realistic copy dialogue Is Ubuntu compatible with my hardware? I am a bit financially strapped and received a Gateway GT5056 tower. The tower has an AMD dual core 64-bit processor in it. Will Ubuntu 12.04 run on this machine? I will not have any other application other than LibreOffice installed. File upload to Heroku not working When I tried to run , I got the below screen:    The captcha is missing!  I tried in other browsers too.    Update:  From @Oded's comments, I changed to HTTP and it was working perfectly.  Out of curiosity I would like to know why the captcha isn't working when accessing Data Explorer over HTTPS. "Subject, verb, direct object, object complement" versus "subject, verb, indirect object, direct object" Reading English Grammar (HarperCollins College Outline, published by HarperResource, an imprint of HarperCollinsPublishers) I found a chapter (Sentence Basics) that explains that in English there are different sentence patterns; in particular   Subject, verb, direct object, object complement Subject, verb, indirect object, direct object   The chapter reports the following example for the patterns:     Alice called Charles Professor Miller.   Alice gave Charles the rabbit.   What is the difference between the two kind of sentences? What is the difference between the object complement in the first case, and the indirect object in the second case?  PS: The question, which could appear silly, comes from the fact in my first language there is only the object complement. Show that there's no continuous function that takes each of its values $f(x)$ exactly twice. I need to prove the following:  There's no continuous function $f:[a,b]\to \mathbb{R}$ that takes each of its values $f(x)$, $x\in [a,b]$  exactly twice.  First of all, I didn't understand the question. For example $x^2$ takes $1$ twice, in the interval $[-1,1]$. Is it saying that it does not occur for all $x$ in the interval? But what about $f(x) = c$? Is it saying that it does not occur only exactly $2$ times, then? I have no idea about how to prove it. I know that for $f(x)$ such that $f(a)&lt;f(x)&lt;f(b)$, if $f$ is continuous then there is a $c\in [a,b]$ such that $f(c) = f(x)$.  Now, there's the following proof in my book and I really wanted to understand it, instead of just getting a new proof  Since the interval $[a,b]$ has only $2$ extreme points, then the maximum or minimum of $f$ must be in a point $c\in int([a,b])$ and and in another point $d\in [a,b]$. Then, there exists $\delta&gt;0$ such that in the intervals $[c-\delta, c), (c,c+\delta)$ (and if $d$ is not extreme of $[a,b]$, $[d-\delta, d]$) the function takes values that are less than $f(c) = f(d)$. Let $A$ be the greatest of the numbers $f(c-\delta), f(c+\delta), f(d-\delta)$. By the intermediate value theorem, there are $x\in [c-\delta, c), y\in (c, c+\delta]$ and $z\in [d-\delta, d)$ such that $f(x)=f(y)=f(z)=A$. Contradiction.   Well, why the last part? Why is it that I can apply the intermediate value theorem to these values? For example, $&lt;f(c-\delta)&lt;p&lt;f(c)$, then by the theorem I know that there exists $m\in [c-\delta, c)$ such that $f(m) = p$. Same for the other intervals. But what guarantees thhat the greatest of the values between  $x\in [c-\delta, c), y\in (c, c+\delta]$ will be inside the intervals $[c-\delta), c), (c,c+\delta), [d-\delta, d)$? Tempdb Add files require Restart Does adding Tempdb files require a restart? We would like to Add files on the same drive, Not Delete and Not modify. We tested in Dev and QA environment, restart was not required. However for production I would like to be sure everything works properly. Some are stating conditions, not always necessary, sometimes necessary, I am reading resources below:  ALTER DATABASE [tempdb] ADD FILE ( NAME = N'tempdev2', FILENAME = N'G:\tempdb2.ndf' , SIZE = 12288000KB , MAXSIZE = UNLIMITED, FILEGROWTH = 0 ) GO ALTER DATABASE [tempdb] ADD FILE ( NAME = N'tempdev3', FILENAME = N'G:\tempdb3.ndf' , SIZE = 12288000KB , MAXSIZE = UNLIMITED, FILEGROWTH = 0    Do You Need an Outage to Add tempdb files? Brent Ozar  "Technically, not always. But practically speaking, yes. If you have to shrink files, that’s very difficult while SQL Server is in use, and we’ve seen cases where anti-virus/file control tools didn’t act up until SQL Server was restarted after the files were added."   "Once the additional files have been created, it’s not always necessary to perform a service restart.  However, in many production environments, simply modifying the filesize of the existing TempDB datafile (tempdev) is not possible without restarting services first. "  The following resources are saying no restart required: Is there any significant difference between Nikon and Canon? What should I do when I have lenses with different filter thread sizes? Can I create a TIN from contours lines (shp) in QGIS? I need to do a slope analysis, and would like to make a TIN from 2m contours lines.  Or do a slope analysis directly from contours? The only DEM available is not precise enough.  I do not have any elevation raster files.  And how do I then make slope classes?  The TIN properties does not seem to be able to classify anything other than elevation. I don't understand at all why:  \begin{equation} \sum\limits_{n=0}^\infty p_n x^n = \prod\limits_{k=1}^\infty (1-x^k)^{-1} \end{equation}  Where $p_n$ is the number of partitions of $n$. Specifically how can the sum of positive numbers ever be factored into a fraction or factors to the $-1$ power? Is this something purely notational or am I missing something big?  Thanks for all the help! We have a sequence $(x_{n})_{n=1}^\infty$ in a Hilbert space $H$ and we know that:   for every $n \in \mathbb{N}$ holds $\|x_{n}\|\le1$ for every $m\ne n$ holds $\|x_{n}-x_{m}\|\ge r &gt; 0$   How I can show that $r \le \sqrt2$ ? Recently I asked about the  pertaining to Voldemorts new face. However I was corrected by ...     Well, I think the confusion comes with mixing movie canon with book canon. In Philosopher's Stone, here's what Harry sees when Quirrell unwraps his turban:           Harry would have screamed, but he couldn’t make a sound. Where there should have been a back to Quirrell’s head, there was a face, the most terrible face Harry had ever seen. It was chalk white with glaring red eyes and slits for nostrils, like a snake.          Philosopher's Stone - page 212 - UK - chapter 17, The Man With Two Faces      So it seems at some point between leaving school, and sticking his face to the back of Quirrel's head possessing Quirrel he got a new face some how.   How did he manage that? Is it some dark magic he applies? Is it from possessing snakes in Albania? What is the physics of a spinning coin? When we spin a coin on a table, we observe 2 things:   It slows down and stops after sometime. It does not stay at just one point on the table but its point of contact with table changes with time.   I was trying to explain quantitatively this but I am stuck at how to take frictional torques into account. Any help will be appreciated. Here is a question as phrased in Advanced Linear Algebra (Steven Roman):     Show that a linear operator $\tau$ on a finite-dimensional complex inner product space $V$ is normal if and only if whenever $S$ is an invariant subspace under $\tau$, so is $S^\perp$.   I'm only interested in the $\Rightarrow$ direction. Wikipedia (and ProofWiki)  that uses some kind of computation with the trace. Linear Algebra Done Right chooses an orthonormal basis and then uses the fact that $\Vert \tau v \Vert = \Vert \tau^* v \Vert$.  However, the above  proofs seem a bit too computational to me. Can the following argument work?  (Use $\odot$ for orthogonal direct sum.) Suppose that $\tau$ is normal and write $$V=E_{\lambda_1} \odot \cdots \odot E_{\lambda_k}$$ where the $E_{\lambda_i}$ are the eigenspaces of $\tau$. If $S$ is a $\tau$-invariant subspace then $\tau|_S$ is diagonalizable, so $$S=\widetilde{E}_{\lambda_1} \odot\cdots\odot \widetilde{E}_{\lambda_k}$$ where the $\widetilde{E}_{\lambda_i} \le E_{\lambda_i}$ are the eigenspaces of $\tau|_S$ (which could be trivial). Then choose orthogonal complements $D_i$ such that $E_{\lambda_i} = \widetilde{E}_{\lambda_i} \odot D_i$, and then $$S^\perp = D_1 \odot\cdots\odot D_k.$$ Since each $D_i$ is a subspace of an eigenspace, they are all $\tau$-invariant. sudo: /etc/sudoers is owned by uid 501, should be 0 To run programs as sudo without password, I edited /etc/sudoers with wrong content.   Then I re-edited it with Mac's default text editor(course sudo cannot be used when /etc/sudoers is wrong).  I tried to run sudo agin, and get this error:   sudo: /etc/sudoers is owned by uid 501, should be 0 sudo: no valid sudoers sources found, quitting   What should I do? I cannot remember the root password (maybe I haven't ever set root password before). Generate t distributed random variable in matlab How can we generate t distributed random variables with given mean and covariance in matlab. trnd is a function in matlab but we can get random variable with different degrees of freedom but how to get random variable with given mean and covariance? When I finished Normal Mode at around Level 30 and went back to the  (still at Normal mode), I found that all enemies there are now very easy to kill, meaning they didn't level up (or hit a level cap).  When I went to  as a Level 36 character in True Vault Hunter Mode, I noticed that the enemies are the same level as me.  What factors determine enemy levels?   Specifically, I would like to know:       Are enemies affected by what level a character accepted a mission?      Or is it what level a character is when they first entered an area?      How does Normal Mode, True Vault Hunter mode, and the Ultimate True Vault Hunter Mode affect enemy levels?     Are there enemies that will scale to the player level, as the player levels up? Any enemy leveling differences specific to the DLC areas?         EDIT:   There is now  that explains how this works generally: "In playthrough 1, outside of the DLC, there's no such thing as scaling. Enemy levels are determined solely by the area they're in and your mission." Can anyone expound on that, and comment or provide an answer on what are the specific enemy levels on specific areas and/or missions?    states that "enemies do not actually "scale", or at least from what we know of..." and lists specifics for enemy levels on certain areas in the game (sans DLC areas). Can anyone expound on that and/or add specifics for enemy levels in the DLC missions or areas in TVHM (PT 2.0) and/or UTVHM? The  update has just been released, can anyone provide info about enemy levels on that mode, including the DLC areas or missions? Run a Windows Service as a console app