I'm afraid I locked myself out of the sudo/root options. The one account that had sudo rights now reports that it doesn't have these anymore. How can I restore this? Do I need to use a live stick?
I clean-installed Ubuntu 11.10 today, and then installed VirtualBox.  This required me to add myself to the vboxusers group, and since 11.10 seems to no longer have a graphical app to add users to a group, I ran the following command:  sudo usermod -G vboxusers stephane   This is a problem.  I now see what I should have run instead is:  sudo usermod -aG vboxusers stephane   The end result is I'm no longer in the groups I should be in.  Including whatever group is required to run "sudo".  When I run any command as sudo now, I get the following:  $ sudo ls [sudo] password for stephane:  stephane is not in the sudoers file.  This incident will be reported.   Is there a way to fix this, or do I need to re-install from scratch again?
How do I install minecraft 1.9 on mac? How to delete file(s) in secure manner? Sorting citations using \cites command in biblatex I am using biblatex for citations and bibliography. Now I often have lists of multiple citations, for which biblatex has the \cites command. Now I can get citations to automatically sort if I don't want page numbers, but I cannot get it right with page numbers.  What I want is all citation ordered chronological (oldest first). Is this possible, or must I just do this by hand?  Here is an example.  \documentclass[11pt,oneside]{memoir}  \usepackage[     style=authortitle,     useprefix=false,     maxnames=2,     firstinits=true,     sortcites=true,     uniquename=init,     abbreviate=true,     backend=biber,     sorting=ynt ]{biblatex}  \begin{filecontents}{jobname.bib} @book{tom1,   author = {Author, A.},   year = {2001},   title = {This book is from 2001},   shorttitle = {2001}, } @book{tom2,   author = {Author, A.},   year = {1999},   title = {This book is from 1999},   shorttitle = {1999}, } \end{filecontents}  \addbibresource{jobname.bib}   \begin{document} This one is corrent.\footnote{\Cites{tom1,tom2}.} This one is corrent.\footnote{\Cite{tom1,tom2}.}   This one is incorrent.\footnote{\Cites{tom1}{tom2}.} This one is incorrent.\footnote{\Cites[1]{tom1}[12]{tom2}.} \end{document} How can I use JavaScript on the client side to detect if the page was encrypted? Is it possible to detect, on the client side, whether the user is using an encrypted page or not?  Put another way -- I want to know if the URL of the current page starts with http or https. I quite often add a question as a favourite when there is something of interest to me in it or its answers. Looking back through my favourites, I cannot remember why I added some of them as a favourite.  What I'd like to be able to do is to add a note/comment when I add a favourite as a reminder as to why I've added it. This will show on my favourites page, but nowhere else - and possibly to no one else.  In addition, it would be good to be able to favourite an answer to a question, thereby adding a favourite to both the question and a particular answer with something of note in it. This would only show as a single favourite, but when clicking its link would go to the favourited answer.  Possible? Or is there another way of doing this? I've already got too many favourites to remember why I added a lot of them. Plural nouns in nominal compounds I wonder whether there are rules or guidelines regarding plural nouns in nominal compounds. For example a compound university students list. If there are many lists and many universities is it grammatically correct to say universities students lists? Must all elements be in the plural form or can some be left in singular, even though the meaning is plural? I've seen an expression universities student lists; is it correct? Object of class mysqli_result could not be converted to string Is the uncertainty principle just saying something about what an observer can know or is it a fundamental property of nature? I ask this question because I have read two different quotes on the  that don't seem to match very well. There are similar questions around here but I would like an explanation that reconciles these two interpretations specifically:   Feynman talks about the uncertainty principle in one of his lectures and mentions it as the reason why electrons don't crash into the atom's nucleus: If they did they would have an exact location and momentum which is not allowed by the uncertainty principle. In saying this it is clear that the uncertainty principle is a fundamental property of nature because it has an effect on where an electron can reside. Recently I read - somewhere else but I forgot where exactly - an account of the uncertainty principle where there was explained how we can measure position of a particle by firing another particle into it, the collision disturbs the velocity of the observed particle therefore we can not know its momentum anymore.   Now, 2) very much seems like a limitation of what the observer can know, while 1) attributes a fundamental property of nature to it (electrons don't crash into the nucleus). What is the correct way to think about this? How to give permissions to specific command? I would like to run fastboot command without sudo. it's working if I put sudo in front of it, otherwise it wont.  like this:  $ sudo fastboot devices 2738006a    fastboot  $ fastboot devices no permissions  fastboot   How do I solve this? Solve for $A,B$: $\mathrm{LCM}(A,B)=168$, $\mathrm{HCF(A,B)}=12$ What is the "N+1 selects problem" in ORM (Object-Relational Mapping)? The "N+1 selects problem" is generally stated as a problem in Object-Relational mapping (ORM) discussions, and I understand that it has something to do with having to make a lot of database queries for something that seems simple in the object world.  Does anybody have a more detailed explanation of the problem? Why, microscopically, is the voltage drop across a resistor affected by the current through it? If voltage is a potential difference, describing how much energy will be lost per unit charge as charge carriers pass through the resistor, why would the rate at which charge flows (i.e. current, $=dq/dt$) affect the amount of energy lost per unit charge?  I suppose I am asking why a quasi-"extensive" property of the system (current) would affect a quasi-"intensive" property of the system (voltage drop across the resistor).  Apologies if the answer is obvious; I was having trouble understanding why the rate of charge flow would factor into voltage drop whilst trying to rationalize Ohm's law for myself. Can we switch terminals at Heathrow (LHR) for shopping only? Does there exist a continuous function $\: f : \mathbf{R} \to \mathbf{R} \:$ such that for   all  functions $\: g : \mathbf{R} \to \mathbf{R} \:$, for all real numbers $x$,  there exists a real number $y$ such that $\: x &lt; y \:$ and $\: g(y) &lt; f(y) \:$? Mathematical Basis behind inflation of Standard errors of Regression estimates due to multicollinearity We know that due to multi-collinearity, the standard errors of beta estimates get inflated. But what is the mathematical basis to it?   I am looking for some mathematical relationship or something to explain this.   Like I understand if standard error of betas goes up, then t-statistics goes down and we might not be able to reject the null or the variables would appear non-significant.   But what is the mathematical relationship between multicolllinearity and inflation in variance of coefficients? How can I speed up D&D 3.5e combat? I'm looking for ways to speed up the combat in my D&amp;D 3.5 game. It seems that turns - both player and non-player - simply take too long. I have thought about giving everyone a 30 second timer, but I'm afraid that might inhibit their ability to come up with strategy and tactics. Notify on retagging A question here on meta for instance may stick around for quite a while. A feature-request  maybe even for months. Then the status (tags) gets changed to  or  or whatever and the OP does not get notified.  On a normal post-edit we get a notification but retagging does not count for that. Please add retagging to the edit notifications. Prove that $\sum_{k=0}^{m}\frac{\binom{m}{k}}{\binom{n}{k}}=\frac{n+1}{n+1-m}$ Prove that $\sum_{k=0}^{m}\dfrac{\binom{m}{k}}{\binom{n}{k}}=\dfrac{n+1}{n+1-m}$.  We know, n > m. From the right side. we have $\dfrac{n+1}{n+1-m}=\dfrac{1}{1-\dfrac{m}{n+1}}$. since n > m. $0&lt;\dfrac{m}{n+1}&lt;1$. Then $\dfrac{1}{1-\dfrac{m}{n+1}}=1+\dfrac{m}{n+1}+(\dfrac{m}{n+1})^2+...$ I don't know what to do next? Did I choose the right path? How to block and unblock https access on OS X 10.9 I am working on a test project that requires me to block https access for a specific app on my Mac (OS X 10.9).   The instruction provided are "Chinese" to me and I have no idea where to start:  (Example: Alter the iptables) Steps:   Block the port:  root@QA9:/opt/appname/appnamerouter2# iptables --list root@QA9:/opt/appname/appnamerouter2# iptables -A INPUT -p tcp --destination-port 443/8443 -j DROP root@QA9:/opt/appname/appnamerouter2# iptables --list  For Open the Port:  root@QA9:/opt/appname/appnamerouter2# iptables -D INPUT 1 How to use aes-encryption in PostgreSQL? I tried aes-encryption by using following statement:  SELECT encrypt('test', 'key', 'aes');   which worked, but I am not able to decrypt the value. I inserted it in a field of datatype bytea but I'm not sure if that was the right way.   SELECT decrypt(pw, 'key', 'aes') FROM table WHERE ID = 1;   gives me the error     ERROR:  function decrypt(bytea, unknown, unknown) does not exist   LINE 1: SELECT decrypt(pw, 'key', 'aes') FROM tabelle WHERE ID = 7;                  ^   HINT:  No function matches the given name and argument types. You might need to add explicit type casts.   Does that really mean that encrypt() is an existing function, but not decrypt()? How else could I retreive aes-encrypted values?