I have created a new user "hadoopuser".  I have logged out and logged in as hadoopuser.  Now I am trying to edit hostname, but I am getting error.  hadoopuser@ubuntu:~$ sudo gedit /etc/hostname    [sudo] password for hadoopuser: hadoopuser is not in the sudoers file.  This incident will be reported.   Kindly suggest how to change my hostname. I am new to ubuntu
Possible Duplicate:          I've added myself back into the admin's group I think, by following   But I still can't do commands like:  sudo aptitude update   I get the message  oshirowanen is not in the sudoers file.  This incident will be reported.   How do I add myself into the sudoers group now that I am in the admin group?
Trichromelibrary was suddenly downloading from Google Play Store Have men and women in the Wizarding World always had relatively equal rights? There are racial struggles and examples of racism, (Muggle-borns, centaurs, hous-elves, goblins, etc.) but are there any examples in the Wizarding World of sexism?  Have witches and wizards always had equal rights? When we measure the speed of a moving element we do it with the help of a reference frame. Now if we need to measure the speed of time, is it possible? Does time actually have a speed? Help needed in understanding proof: Every odd prime $p$ has exactly $(p-1)/2$ quadratic residues and $(p-1)/2$ quadratic nonresidues. Help needed in understanding proof: Every odd prime $p$ has exactly $(p-1)/2$ quadratic residues and $(p-1)/2$ quadratic nonresidues.   We assume there exist $k$ incongruent quadratic residues and each yield two solutions of the equation $x^2 \equiv a (\mod p)$. Also each of these solutions are incongruent, right ? So we have $2k$ solutions to quadratic congruences.  Then there are $p-1$ squares of the least residues, $1$ through $p-1$. But these need not be incongruent (consider $p = 7$ and $1^2, 6^2$). Then $2k = p-1$, why ?  Could someone explain to me in details what the reasoning is ? Is it possible to scale specific apps on Windows 10? Words with different meanings in American and British English This is similar to , but not quite the same.  There are quite a few words which have totally different meanings in American and British English and which are likely to cause confusion when heard by non-local speakers.  What are they?  We are looking for the same word with different meanings (for example jumper), and not words which are different between the two dialects (for example truck and lorry). What is the formula for percent of frame filled at a specific distance and focal length? What should we do with old, very popular closed questions? Motivated by the deletion of     On one hand, I disagree with these closures, because:  These questions were (and still are) very popular They have some good information in them (or at least the first one does) and it feels like bad sportsmanship to remove good information from the internet, particularly when it was contributed by your fellow users  Number 2 in particular bothers me. A lot. On the other hand, I do agree that:  The community of 10k users should be able to decide which closed questions they wish to delete on their own without me intervening These questions should definitely remain closed, because they either have an absurd # of answers, or are duplicates (though some duplicates ). Which means they are eligible for deletion … forever. These questions wouldn't survive more than 10 minutes if asked today on Stack Overflow, so in some ways they are artifacts from the past, like dinosaurs in an era of mammals.  There is some related discussion in:   While I normally favor code solutions here, I am not sure I like the idea that once a question gets 400 upvotes it should become extremely difficult to delete. It feels like mob rule. Official policy on the blog: [See  for more on this topic, as well as better illustrations of the final product.]  I have a document with a lot of short excerpts from another book scattered through it.  Putting frames around them looks a little too 'clean'. How can I get a 'torn page' type effect, to make it look as if the excerpt has been physically torn out of a book?  (I've occasionally seen this done in printed books, although I can't find an example right now.)  I'm not wedded to a very specific look here --  gives plenty of examples. But just to give this some frame of reference, here are some of the nicer ones:          (The strong colouration in this second example is a probably a little too distracting for actual use, although it might be interesting as an option. It's more the edge effect I'm interested in.)    Edit (again): I tried typesetting my text according to the updated versions of the answers below. Here are the results:    Or with interpolated shading: How do I pick a part that goes into a breadboard when I order it? I have just bought some 555 timers and they are timers for microelectronic circuits...could anyone tell me what I need to search for in order to get larger ones which will fit a breadboard? Thanks Will my software work on the next version of Windows I have some software and I'd like to know if it works on the next version of Windows (Windows 10). I have created an FME workspace which inputs a pipeline as well as other linear features which cross it (waterways, roads, railways, fences, other pipelines, etc).  The output is a point file which contains the crossing type.  What I would like to do is calculate the distance along the pipe from the start of the pipeline for each intersection.  So, as you travel along the pipeline, the distance attribute will increase.   I'm thinking that I'll need to use some of the linear referencing tools like MeasureGenerator, MeasureExtractor, or something like that, but I'm not sure how to do so.  Does anyone have an idea of how to do this? The  says that there is a moderator election occurring.   How does the election work and how can I get involved? In a family with two children, what are the chances, if one of the children is a girl, that both children are girls? Does a differentiable everywhere function have a continuous derivative? If a function $f$ defined on $[a,b]$ and differentiable everywhere, does it mean that its derivative $f'(x)$ is continuous everywhere on $[a,b]$?  My understanding is 'yes'. Because if there were 'a gap' in $f'(x)$, we could integrate back to $f(x)$ and show that where the gap is, there would be a sharp "angle" where $f(x)$ is not differentiable. I have written below Wrapper class.  global class BI_VA_AutomationWrapper {      global class BI_VA_AutomationRequest {      webservice String userName;     webservice String emailId;     webservice String buinessUnit;     webservice String orgName;     webservice String country;     webservice String environment;     webservice String myShopNumber;     webservice String BidsId;//for testing     webservice String Type; //for testing  }  global class BI_VA_AutomationResponse {      webservice String responseStatus;     webservice String myShopNumber;     //webservice list&lt;Error&gt; errorMessages;     webservice String  errorMessages;//for testing   } global class BI_VA_Error {      webservice String type;     webservice String message;    }}   And test class is,  @isTest public class BI_VA_AutomationWrapperTestClass  { public static testMethod void unitTest(){      BI_VA_AutomationWrapper.BI_VA_AutomationRequest wrap= new BI_VA_AutomationWrapper.BI_VA_AutomationRequest();        wrap.userName='Test@test.com';     wrap.emailId='Test@test11.com';     wrap.buinessUnit='AH';     wrap.orgName='ORD';     wrap.country='US';     wrap.environment='QA';     wrap.myShopNumber='123456789';     wrap.BidsId='123';     wrap.Type='ResetPassword';              BI_VA_AutomationWrapper.BI_VA_AutomationResponse res= new BI_VA_AutomationWrapper.BI_VA_AutomationResponse();     res.responseStatus = 'Success';     res.myShopNumber = '987654321';     res.errorMessages = 'Test error';      BI_VA_AutomationWrapper.BI_VA_Error error = new BI_VA_AutomationWrapper.BI_VA_Error();     error.type = 'Test';     error.message = 'Test';  }}   Code coverage is 0% only. Origin and correctness of “ain’t no”? In contemporary American English usage, I come across sentences like:   I ain’t got no money.  Ain’t no man like him.    Saying ain’t no sounds incorrect to me because it is a double negative.  What is the origin of this particular construction? I wasn’t able to find anything online related to the origins of this incorrect usage. Prove that if a function $f: X\to Y$ continuous then its graph is closed How to permanently set environmental variables My variables are   LD_LIBRARY_PATH=/usr/lib/oracle/11.2/client64/lib ORACLE_HOME=/usr/lib/oracle/11.2/client64   How to save these variables permanently ? Let $x$ be transcendental over $F$. Let $y=f(x)/g(x)$ be a rational function. Prove $[F(x):F(y)]=\max(\deg f,\deg g)$ Let $F$ be a field and $x$ transcendental over $F$. Let $y=f(x)/g(x)$ be a nonconstant rational function with relatively prime polynomials $f,g\in F[x]$. Prove $[F(x):F(y)]=\max(\deg f,\deg g)$.  My attempt: By replacing $y$ with $\frac{1}{y}$ if necessary we assume $\deg g\geq\deg f$. By the Euclid algorithm we assume $\deg g&gt;\deg f$. Then $\deg g=\max(\deg f,\deg g)$, let $n=\deg g$. Let $R(t)$ be this polynomial $$R(t)=yg(t)-f(t)=\frac{f(x)}{g(x)}g(t)-f(t)$$ Then $\deg R=\deg g=n$ because $n=\deg g&gt;\deg f$. The coefficients of $R(t)$ lie in $F(y)$ and hence $R(t)\in F(y)[t]$. Clearly $R(x)=0$.  Now I only have to prove $R(t)$ is actually the minimal polynomial of $x$ over $F(y)$. I believe the next step is to obtain a contradiction that $R(t)$ being reducible can lead to $f,g$ being not coprime, but I can't figure out how to do that.  P.S. A hint is preferred over a full answer.