I want to use different password to logging into desktop from what I can use for sudo -s or sudo -s -u root on terminal/bash. And also I don't want any additional users with different desktops(like windows). And I also don't want this to use to be able to even browse system folders and should only be able to play media and browse internet. Is there a way I can do this? I am using Ubuntu 20.04.1 with GNOME 3.36.4.
How can I give a user one password for normal usage when logging in, and another password for system administration and sudo access? I want one user to have two passwords.
Terminal returns not found for most commands Mac OSX What do you call someone who acts and thinks it is helpful, even though they do not know the context of what is going on? What is a name for a person who assumes they are doing something helpful, even though they are ignorant to the situation? Someone who reacts without bothering to understand what’s going on, and feels as though they are doing good? Is there such a word?   For instance, someone who pulls another out of the pool, and pats them self on the back for saving them from drowning...without ever asking if the person was drowning or merely swimming. The entire  site is blank right now.  The header and footer are shown, but no questions. Java Swing: Displaying images from within a Jar When running a Java app from eclipse my ImageIcon shows up just fine.  But after creating a jar the path to the image obviously gets screwed up.  Is there a way to extract an image from the jar at runtime so I can then open it up?  Or, is there a better way to do this?  I'd like to distribute a single jar file if possible. I have the table below and i want it to read through columns A-B and then sum the values that match their names in columns C-D.  So that in a column elsewhere of a list of names i have the sum of their values from this table. For example Ed features in both columns with a value of 1 and 3, so would return a value of 4. Struggling to get this to work nicely. My actual table consists of 4 columns names and two sets of 4 columns with numbers.    A       B       C   D Steve   Jeff    4   1 James   Calum   1   1 Alex    Andy    2   1 Peter   Ed      0   3 Owen    Harry   1   2 Jeff    Steve   4   1 James   Calum   1   1 Andy    Alex    2   1 Peter   Owen    0   3 Ed      Harry   1   2 Where to get 2010 Census Block data? I would like to download 2010 Census Block Data for several towns and I can't seem to find it on American Factfinder.   Is it there? And if not, does anyone know where I could find it? How do I restore iPhone 6s stuck on connect to iTunes screen/Apple logo I'm not really sure how, but after I woke up today, my phone was just displaying the loading spinner and doesn't start up anymore. It's weird because my phone turned off last night and suspecting that it was probably out of charge, I thought charging it overnight would fix the problem.   So, my iPhone is currently stuck on the iTunes/Apple Logo loop. When I put it into DFU/Recovery Mode and connect it to iTunes, it isn't able to restore it. It keeps throwing "Network Connection Problems" -- it downloads iOS 10 for a bit and suddenly stops downloading, throwing the error. I've also tried downloading a custom .ipsw from  but it seems that the file is corrupted whenever iTunes tries to unpack it.   Any thoughts on how I could go about fixing this?   Note - I don't have a jailbroken iPhone. Can I bake in a convection microwave? I have microwave oven, but I can't bake cakes and cookies in it. So I need an electric oven, but people are suggesting I buy a convection microwave to do both baking and normal microwaving. Will that work? Or do I really need to get an electric oven to bake? To prove the convergence of the p-series   $$\sum_{n=1}^{\infty} \frac1{n^p}$$  for $p &gt; 1$, one typically appeals to either the Integral Test or the Cauchy Condensation Test.  I am wondering if there is a self-contained proof that this series converges which does not rely on either test.    I suspect that any proof would have to use the ideas behind one of these two tests. How can I set the drawableRight resource via code? I've been reading up on STL containers in my book on C++, specifically the section on the STL and its containers. Now I do understand each and every one of them have their own specific properties, and I'm close to memorizing all of them... But what I do not yet grasp is in which scenario each of them is used.  What is the explanation? Example code is much prefered. com.google.android.trichromelibrary causes many Android apps to crash Recently, apps that are fine an hour ago now crash when I open them. The crash report message seems to be caused by a null pointer exception (NPE) in com.google.android.trichromelibrary. Apps affected for me:  Gmail Dashlane  Is it just me, or is there actually something wrong with the library? How can I fix these affected apps? Crash report: *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** Build fingerprint: 'Xiaomi/polaris/polaris:10/QKQ1.190828.002/20.9.4:user/release-keys' Revision: '0' ABI: 'arm64' Timestamp: ... pid: ..., tid: ..., name: com.dashlane &gt;&gt;&gt; com.dashlane &lt;&lt;&lt; uid: ... signal 11 (SIGSEGV), code 1 (SEGV_MAPERR), fault addr 0x0 Cause: null pointer dereference          ...  backtrace:     #00 pc 00000000038621f0 /data/app/ com.google.android.trichromelibrary 438909034-YaxP9ttrIDcQBfleP5vm7Q==/base.apk! libmonochrome_64.so (offset 0x646000) (BuildId: ... )  (click  for the screenshot of the bug report) Timestamp in the  is going out of it's boundary.        AFAIK, the suggested edits timestamp was near to it's type (i.e. asked, proposed) like this:        Checked on Chrome (27.0.1453.110 m), Firefox (21.0) on Windows XP  The issue is in other Stack Exchange sites as well. E.g. Have a look at  on Physics.SE. Also in   Can we fix this? How to install program to all user accounts in Windows? I have several accounts on my home PC. I want to install a program for all user accounts, not just the one I used to perform the installation. How do I go about doing this?  I installed a program from an admin account, but it doesn't show up in the other local accounts.  I was not able to find any documentation on how to do this.  I have Windows 8.1, if that matters. Preserve bash history in multiple terminal windows I consistently have more than one terminal open. Anywhere from two to ten, doing various bits and bobs. Now let's say I restart and open up another set of terminals. Some remember certain things, some forget.  I want a history that:   Remembers everything from every terminal Is instantly accessible from every terminal (eg if I ls in one, switch to another already-running terminal and then press up, ls shows up) Doesn't forget command if there are spaces at the front of the command.   Anything I can do to make bash work more like that? How to interpret Mean Decrease in Accuracy and Mean Decrease GINI in Random Forest models Can a multiclass character with 1 level of wizard copy any wizard spell they find into their spellbook? The &quot;Your Spellbook&quot; sidebar for the wizard includes the following line:  Copying a Spell into the Book. When you find a wizard spell of 1st level or higher, you can add it to your spellbook if it is of a level for which you have spell slots and if you can spare the time to decipher and copy it.  Does this mean that a Wizard 1/Cleric 19 can copy any wizard spell they find into their spellbook? Is there anything preventing them from casting these spells? Is two-thirds plural? Is 2/3 always, sometimes or never plural?  E.g.     1a) 2/3 of the pizza were eaten.     1b) 2/3 of the pizza was eaten.      2a) 2/3 of the visitors were men.     2b) 2/3 of the visitors was men.   I feel that example 1 could go either way but example 2b sounds very wrong.  Is there a rule for this? Can I deduct a contribution to a traditional IRA if I am also contributing to a 401(k) in the same tax year? Environment variables in Mac OS X Update: The link below does not have a complete answer. Having to set the path or variable in two places (one for GUI and one for shell) is lame.  Not Duplicate of:     Coming from a Windows background where it's very easy to set and modify environment variables (just go to System Properties > Advanced > Environment Variables), it does not seem to be that straight forward on Mac OS 10.5. Most references say I should update /etc/profile or ~/.profile. Are those the equivalent of System Variables and User Variables? For example, where should I set my JAVA_HOME variable?    EDIT:  I want to be able to access the variable from the terminal as well as an app like Eclipse. Also, I hope I don't have to restart/logout to make this take effect.