Ubuntu :: Sudo Psw Is Accepted In Terminal But Not In GNOME
Nov 6, 2010
For example if I run command in terminal: sudo startupmanager, my psw is accepted and startup manager is started correctly.
But if I click "System- Administration- Start Manager" GNOME asks "Enter the administrator password" and same psw as in terminal is not accepted.
My account is assign to admin group, checked via System- Administration- Users and Groups
View 3 Replies
ADVERTISEMENT
May 29, 2010
I am new to fedora (been using debian based distro's for the longest time). With the new release I decided to give FC13 (The kde 64 bit spin) a try. I told it to wipe my entire hdd and encrypt the partitions. The partition manager made a few LVM partitions which I assume are encrypted.
The problem I am having is that if I attempt to use an application that would normally need root access to run, I am not prompted to enter my root password. Instead, I am required to logout and log back in as root. Is there a way to make it so that FC13 will prompt me to enter in my root password so I do not need to log in and out? Or is there something Different I should have done during the install process? Also, what is the terminal equivalent of "sudo" in fedora, or is it still sudo/KDEsudo
I also have not used SE Linux before. Do I need to manually enforce the permissions for my applications and generate my own profiles for it, or is that done automatically?
View 14 Replies
View Related
Dec 10, 2010
Linux-goers. I did some research on this, but I am still fairly new to Linux. In Ubuntu 10.10 (Maverick), I accidentally overwrote my "/bin/bash" file. Dude, using "sudo" with a small typo can work disasters. Bash is now broken in the Terminal (gnome-terminal). Terminal itself still works fine, technically, but bash is still hosed/broken. Here is what I did to try to fix it: Booted from Ubuntu 10.10 live CD. Mounted my Ubuntu partition and manually copied the good/fresh "bash" file onto my hard drive. Verified copy was successful. Didn't help, as you see. Reinstalled "gnome-terminal" using synaptic package manager. Tried to reinstall bash via synaptic, it failed with error, "E: /var/cache/apt/archives/bash_4.1-2ubuntu4_i386.deb: subprocess new pre-removal script returned error exit status 2"
In Terminal, all basic commands work as far as I can tell. ("ls", "pwd", navigation, etc.) Here are some problems:My "username@computername" does not display in the prompt; only the $ sign. Bash keyboard shortcuts such as uparrow and tab do not work. Instead, each inserts a key code. I can't even move the cursor left/right. Aliases (a function of bash and .bashrc) are broken, of course. My sanity level decreases when I use Terminal now. For what it's worth, even with "sudo" I get a "permission denied" error when trying to run Google Chrome! I read something about a ".bashrc" file being a possible problem, but I don't know how to make it work, or the file's proper locations in Ubuntu 10.10. Is there something I can do with a "make" or "apt-get install" command or something?? Could this simply be a permissions problem? Is the link to "/bin/bash", "/bin/sh", or a ".bashrc" file broken? Guide me, oh Linux gurus.
P.S. I always wondered what exactly bash was and how it was different from the basic terminal. LoL, this is an excellent way to demonstrate the difference, and I WANT IT BACK!
View 9 Replies
View Related
Nov 6, 2010
I'm using 10.04, and gnome-terminal GNOME Terminal 2.30.2 . I have irssi running on screen session on remote host. And I've been struggling for quite many days to configure it to produce either visual feedback or ring terminal's bell when I receive a private message or one of those that are highlighted.
My compiz settings window in General tab has 'Audible bell' checked.
My GNOME terminal has 'Terminal bell' checked.
I also added 'set bell-style audible' to my ~/.inputrc
And I also tried to manually load pcspkr module into my kernel.
No of the above helped or at least I haven't been able to notice any difference.
I also used some commands for irssi to produce bell sign.
View 2 Replies
View Related
Feb 27, 2010
Ubuntu won't let me use the sudo command in terminal. If I try, sudo: must be setuid root pops up. Also, if I try any tasks that require permission, the authentication box pops up and then disappears within one second.
View 9 Replies
View Related
Mar 20, 2010
I was following a guide to stop Ubuntu from always asking the root password. And apparently i messed something up in vsudo edit or something like that i was in... So now when i put in a sudo command i get this...
Quote:
>>> /etc/sudoers: syntax error near line 18 <<<
sudo: parse error in /etc/sudoers near line 18
sudo: no valid sudoers sources found, quitting
so i cant even get back to undo what i edited.
View 8 Replies
View Related
Jan 24, 2011
gnome-terminal from the Debian squeeze does not use the 'default_size_columns' and 'default_size_rows' from the /apps/gnome-terminal/profiles/Default/ folder of gconf.
View 6 Replies
View Related
Mar 5, 2011
Is there a terminal emulator which works well in an Ubuntu desktop and provides the following features which Mac OS X's Terminal application has? Re-wrapping text when the window is resized.A Clear command which clears scrollback (as the shell clear does not) and does not clear the cursor's line (typically containing a prompt).
View 2 Replies
View Related
Jan 12, 2011
when i try to install gimp with the terminal command:sudo apt-get install gimpI get this Error(yes its in german i know):Die folgenden Pakete haben unerflte Abhngigkeiten: gimp : Hgt ab von: libpoppler-glib4 (>= 0.12) ist aber nicht installierbarE: Beschdigte Paketeit says, that the packet: libpoppler-glib4 is corrupt.i already tried to reinstall libpoppler-glib4, but it wouldnt let me
View 9 Replies
View Related
Jul 23, 2010
I'm having trouble signing in using the sudo in the terminal.
I enter in the line: sudo abc (username = abc)
I get the line returned: [sudo] password for abc:
If I enter my normal login pw i get the message:
abc is not in the sudoers file. This incident will be reported.
If I enter the root pw I get the message: Sorry, try again.
I've just set up the debian OS and am trying to learn the linux way but it's a bit frustrating. so when I set up the system originally It had me make two passwords one for root and one for my user acct. So how do I get the sudo terminal to work?
View 2 Replies
View Related
Jul 21, 2010
Are x-terminal-emulator and gnome-terminal different in any way? I noticed when I when I put those commands in my terminal they both opened the gnome-terminal.
View 4 Replies
View Related
Jul 6, 2010
I have written a tiny script which switches between 2 CPU frequency throttling governors. Now I need to assign it to a shorcut key though "Preferences->Keyboard Shortcuts".
Here is the script:
Code:
#!/bin/bash
if [ `cat /sys/devices/system/cpu/cpu0/cpufreq/scaling_governor` = 'ondemand' ]
then
[code]....
As you can see this script involves sudo. I know that usually running commands with sudo requires "Run in Terminal" option for a shortcut, but in "Keyboard Shortcuts->Add" there is no option to run command in terminal. When I double click on the script and choose "Run in Terminal", then it functions as it should. How can I make this script execute by doing "Run" and not "Run in Termnal"?
View 2 Replies
View Related
Nov 14, 2010
My 1st time using Terminal with sudo it would not accept my password.I use it successfully to log in and is the only password i used during installation.is there a way to get terminal yo accept my password-it does recognize my user name.
View 2 Replies
View Related
Apr 29, 2010
In KDE's Konsole, I can do the following from the terminal:
dcop kwin KWinInterface currentDesktop
And it will tell me which desktop my terminal is connected to ( per [URL])
How can I determine what desktop number the current gnome terminal in a gnome session is connected to?
View 1 Replies
View Related
Aug 26, 2011
I find xcompmgr more than adequate for making a desktop look pretty modern, and I don't like the more extravagentCompiz gimmicks - but there is one thing that irritates when using xcompmgr which someone here might have worked round.
Rounded window borders don't draw and redraw properly when using the Terminal (gnome-terminal and the LXDE and Xfce ones) or system monitor and moving them from their default place. You get this little white botch at the corners. I'm not massively technical and I'm ambivalent about how much more I want to learn as I have plenty of creative outlets already, but I would like to solve this. Somehow xcompmgr is treating these programs as a different class? It's capable of drawing the window borders properly as it is just these two programs that get botched. Possibly this doesn't get noticed as maybe people usually use xcompmgr with openbox and LXDE and their square window borders. I did do a search but there was nothing matching what I saw.
View 3 Replies
View Related
Feb 21, 2011
Running 10.04. For some reason, starting today, I have no internet connection unless I run this command in terminal - sudo dhclient eth0. I have a hard wired ethernet connection on a Desktop PC with a static IP address (there are a number of devices in the house) and it has been running 100% for months and months. Why suddenly do I have to enter this command to get connection? When I switch on I get a connection in that when I click on the Top Panel icon and right click Connection Information it tells me I have an active connection to my router on the normal IP address. I cannot ping the router and Firefox says Server not found. After sudo dhclient eth0 everything works - what has happened since yesterday evening and this morning to stop what has been 100% for months?
View 6 Replies
View Related
Feb 26, 2011
I just set up apache on my PC and I cant change the permissions by right clicking because "I'm not the owner" and instead of using the chmod command on every file that I would like to edit I would just like to write a script on a text file, save it to my desktop so all I have to do is double click on it and boom I can edit all my files, etc.
View 2 Replies
View Related
May 30, 2010
I'm running CentOS 5.4 on i386 machine with 2.6.18-194.3.1.el5Whenever I login into Gnome, a gnome-termial window comes up. Instantly title says root@localhost before settling with user@localhost with current directory as ~/Downloads. Only happens with my particular user account (normal user), not with root as I tried. I also have KDE, Xfce, Fluxbox as other option at login, but terminal only shows up when I log into Gnome (not kde, xfce or fluxbox)I've done and
1. cronetab -e
Nothing there.
2. Don't have ~/.xinitrc ~/.session
3. Nothing in ~/.bashrc or ~/.bash_profile
4. Nothing in /etc/rc.local
View 4 Replies
View Related
Nov 4, 2010
Whenever I try to use the sudo command in the terminal I get the message unable to resolve host, then my computer name. Here's some command line output with some files which I think may be causing the problem. I have Operating Systems homework and need sudo
steve@steve-laptop:~$ sudo gedit /etc/resolv.conf
sudo: unable to resolve host steve-laptop
steve@steve-laptop:~$ cat /etc/resolv.conf
# Generated by NetworkManager
domain domain_not_set.invalid
search domain_not_set.invalid
nameserver 68.237.161.12
[Code].....
View 1 Replies
View Related
May 30, 2011
This is the error I get when removing gnome-session:
alex@alex:~$ sudo apt-get remove gnome-session
Reading package lists... Done
Building dependency tree
Reading state information... Done
You might want to run 'apt-get -f install' to correct these:
The following packages have unmet dependencies.
ubuntu-desktop : Depends: gnome-session but it is not going to be installed
Recommends: banshee-extension-ubuntuonemusicstore but it is not going to be installed
Recommends: gnome-accessibility-themes but it is not going to be installed
Recommends: ubuntuone-client-gnome but it is not going to be installed
E: Unmet dependencies. Try 'apt-get -f install' with no packages (or specify a solution).
And this is what happens when I do apt-get -f install:
alex@alex:~$ sudo apt-get -f install
[sudo] password for alex:
Reading package lists... Done
Building dependency tree
Reading state information... Done
Correcting dependencies... Done
The following package was automatically installed and is no longer required:
xulrunner-2.0-mozjs
Use 'apt-get autoremove' to remove them.
The following extra packages will be installed:
gnome-session
Suggested packages:
desktop-base
The following packages will be upgraded:
gnome-session
1 upgraded, 0 newly installed, 0 to remove and 21 not upgraded.
Need to get 0 B/11.8 kB of archives.
After this operation, 8,192 B of additional disk space will be used.
Do you want to continue [Y/n]? y
(Reading database ... 250821 files and directories currently installed.)
Preparing to replace gnome-session 3.0.1-0ubuntu1~build2 (using .../gnome-session_3.0.2-0ubuntu3~natty1_all.deb) ...
Unpacking replacement gnome-session ...
dpkg: error processing /var/cache/apt/archives/gnome-session_3.0.2-0ubuntu3~natty1_all.deb (--unpack):
trying to overwrite '/usr/share/xsessions/gnome-shell.desktop', which is also in package gnome-shell 3.0.1-0ubuntu1~build1
Errors were encountered while processing:
/var/cache/apt/archives/gnome-session_3.0.2-0ubuntu3~natty1_all.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)
View 9 Replies
View Related
Mar 10, 2011
I have installed Ubuntu Server 10.10 in Virtual Box in order to evaluate it for a project.I have installed Gnome and can log in fine using my password. However, whenever I am prompted for my password when doing anything SUDO I am told my password is incorrect, starting Synaptic, for example
View 9 Replies
View Related
Dec 18, 2010
[code]...
I keep getting this error when i try to update my Graphic card.
View 3 Replies
View Related
Mar 29, 2010
Trying to install a game and its asking for root password which i type in and it keeps coming back saying that its wrong but if i try and input the same password in when using package manager it works fine ?? and caps is off
View 4 Replies
View Related
Aug 2, 2010
I have recently helped a friend of mine install ubuntu on their macbook which they have had since 2007 and we have run into a problem connecting to her wireless network. The WPA2 password that she uses is "invalid" while logged in under her ubuntu partition. We are able to connect to unprotected wifi networks without a problem and her home network can be accessed via OSX and my linux install on an acer aspire one (I'm running Peppermint OS at the moment). This has been a problem since day one of her ubuntu installation.
View 2 Replies
View Related
May 29, 2011
I did a routine update on 11.04, and after it was complete my root password appears to have changed.I have NOT forgotten it, and I'm absolutely sure that I'm typing it in correctly. More frustratingly, I know that I had to use it in order to do the update, but right after it was completed, I tried to make a small change and it was telling me that it's incorrect
View 4 Replies
View Related
Jan 28, 2010
Installed ubuntu with dual boot Vista and installed wireless driver in ubuntu , so far so good, all accesible wireless networks comes up in the wireless list but when i want to connect to my own network it wil not accept the password and doesn't connect...
View 6 Replies
View Related
Feb 13, 2011
I love to submit all bugs as I know the importance that this can play for further development. When I click on Bugzilla it allows me to write information etc and I even sign in with my forum id (I know it is not necessarily correct) but I didn't know what else to do and thought it would work. When I sign in it does not reject me until the very final step of the bu reporting process.My question to anyone is how can I get my bug reports to be accepted or how can I sign in to this area of Fedora if required?
View 2 Replies
View Related
Aug 16, 2010
Yes thats right. Last night I changed my logon password for better security. (have a feeling my flatmate knows it). When I tried to log in today, it wouldn't accept my password. No I know that I got it correct. I know this for a fact. So after a few tries, I decided stuff this, I am going to reset it using recovery console. But the recovery console just hangs with the following on the screen:
[4.1098198] Console: switching to colour frame buffer device 100x30
I can ctrl+alt f2, and I just get a flashing cursor. So that's it then. My ubuntu box is hosed and I am about twenty minutes away from formatting and starting again. 6 months of schoolwork, designs for architectural competitions etc all gone.
View 9 Replies
View Related
Apr 1, 2010
i have created a network at home, and i have connected 3 pc to a stwitch and the switch is connect to a computer which has xp in it. new i can use internet easily but when i am using internet in ubuntu it is ok, and also download any thing is also very good, but when i write "sudo apt-get" in terminal or use "synaptic package manager" they download software where slow not more than 14kb or sometimes in bytesi dont know what is the problem
View 5 Replies
View Related
Jul 25, 2011
can't cd to root acount /home in terminal - sudo cd /root fails?
View 3 Replies
View Related