General :: Ubuntu / Sudo Also Doesn't Work

Jun 30, 2011

I have ubuntu server 8.x which works Ok but the other day I changed the owner of some files "the directory /etc" from root me. Now a lot commands do not work like reboot and such. So I tried to put ownership back to root and I can't. I say I dont have proper privilege. Sudo also doesn't work. I conect to the server using ssh with putty. What could I do to fix the problem? Update to the new version? This server has been working really well for a few years. The reason I changed the owner of the directory to myself is so I could edit some config files from my windows machine using a FTP client like WinSCP.

View 3 Replies


ADVERTISEMENT

General :: Sudo Command Doesn't Work

Oct 17, 2010

I want to install some software using sudo apt-get command,but it dosen't work.(my network works well) how to handle it? below is the output of terminal:

@ubuntu:~/Downloads$ sudo apt-get install build-essential cdbs fakeroot dh-make debhelper debconf libstdc++6 dkms libqtgui4
Reading package lists... Done
Building dependency tree

[Code].....

View 4 Replies View Related

General :: Why Doesn't 'sudo Gedit' Work In Vinagre

Oct 13, 2010

I've set up a low cost box with Ubuntu Lucid Lynx at home behind a router, and managed to get remote access running. My goal is to be able to host a small website and work on it remotely, so I isntalled ftp (vsftpd). When I tried to edit the vsftpd.conf file in Vinagre from work, I could only open it read-only, no surprise. When I tried 'sudo gedit' or 'sudo gedit /etc/vsftpd.conf' from terminal in Vinagre, I received the prompt for the password to elevate privileges (again, expected); however, after I hit Enter, nothing happens. I've tried a bunch of different things, but I can't get it to work. I can stop & start my ftp service with 'sudo service vsftpd stop/start' and it seems to work fine.

View 2 Replies View Related

General :: "sudo Su - Someuser -c Xterm" Doesn't Work

Oct 2, 2009

I have a user A that need to log into a linux box, change to user B, and then fire up a GUI.

I've tried this:

Code:

[userA@server ~]$ sudo su - userB -c "xterm"
X connection to localhost:10.0 broken (explicit kill or server shutdown).

Running "echo $DISPLAY" shows the same value for user A as for user B when I first run "sudo su - userB". I thought that if the $DISPLAY variable is set correctly this would work, but apparently it doesn't. Does anyone else here know how to get this working?

EDIT: I forgot to mention that I'm SSH-ing into the server, and have x-forwading enabled.

View 1 Replies View Related

OpenSUSE :: Sudo Gedit Doesn't Work - Cannot Open Display

Nov 7, 2010

I am trying to edit a postinfo.xsl in my root file dir, and with the command:

frank@linux-avnb:~> sudo gedit

(gedit:14150): Gtk-WARNING **: cannot open display: frank@linux-avnb:~>

I get the following. what am i doing wrong?

View 3 Replies View Related

Ubuntu :: Sudo Command Doesn't Work Anymore - No Valid Sudoers Sources Found

Jan 21, 2011

I was changing some file permissions with the chmod 777 command and i accidentally executed:

Code:

sudo chmod 777 /*/*/*/*

and now i can't get root access to anything. If I try executing a sudo command i get:

sudo: /etc/sudoers is mode 0777, should be 0440
sudo: no valid sudoers sources found, quitting

View 9 Replies View Related

Ubuntu :: Typed "sudo Apt-get Install Zlib" But It Doesn't Work?

Jul 10, 2010

I have to install zlib for running ./configure.I typed "sudo apt-get install zlib" but it doesn't work...Quote:configure: error: zlib library not found or incompatible, please specify the correct path with --with-zlib=DIR... stopping

View 8 Replies View Related

Ubuntu Installation :: "Error Booting Operating System" - Sudo Grub; Root (hd0.0)...) Doesn't Work

Mar 1, 2011

I installed 10.04 (clean install) on a 250G drive (partitioned to 107G for the system files). It was working fine, until I wanted to install Window$ for the use of Adobe stuff. I popped the Windows XP disc in, it loaded its files, then I tried to choose a partition for installation. There was an error saying that I can't do that, and needed to delete a partition blah blah. I thought it was too much trouble, so I quit and just wanted to use my 10.04. Booted, and it says "Error booting operating system" I WAS SHOCKED.

I tried to install grub (but don't need that right? I DO NOT want to dual boot now), but the usual method ( the sudo grub; root (hd0.0)...) doesn't work ,because something like "stage1" is missing. I tried many methods by still the same error. The reason I do not want a clean install is that I did many fixes on my 10.04 so that it would work with my EeePC 1001pxd, and I do not want to go through that again. I will be checking my email frequently on other computers if I have a chance.

View 1 Replies View Related

Ubuntu Installation :: Software Centre Doesn't Work - Error "sudo Apt-get Install Vlc Vlc-plugin-pulse Mozilla-plugin-vlc"

Jan 31, 2011

I have just installed the newest version of ubuntu (10.10 the maverick meerkat) and im struggling installing any programs, wine and vlc arnt appearing on synaptic package manager and anything i try to do in either the command promt or ubuntu software centre doesnt work either. On the command promt when i follow the commands as seen on various tutourials the command promt comes back with an error. VLC example given below.

[Code]...

View 5 Replies View Related

General :: Aliases Work After Running Sudo SU Command?

May 7, 2010

I can make aliases fine by editing the .bashrc file in my home directory, but the first thing I do when I open a terminal window is sudo su so I don't have to type sudo in front of every command. The problem is, I am then not able to use my aliases. How can I make aliases that work after I run the sudo su command?

View 2 Replies View Related

General :: Make Shared Keys .ssh/authorized_keys And Sudo Work Together?

Jul 15, 2010

I've setup the .ssh/authorized_keys and am able to login with the new "user" using the pub/private key ... I have also added "user" to the sudoers list ... the problem I have now is when I try to execute a sudo command, something simple like:

$ sudo cd /root

it will prompt me for my password, which I enter, but it doesn't work (I am using the private key password I set)Also, ive disabled the users password using

$ passwd -l user

I am trying to harden my system ... the ultimate goal is to use pub/private keys to do logins versus simple password authentication. I've figured out how to set all that up via the authorized_keys file.Additionally I will ultimately prevent server logins through the root account. But before I do that I need sudo to work for a second user (the user which I will be login into the system with all the time).

For this second user I want to prevent regular password logins and force only pub/private key logins, if I don't lock the user via" passwd -l user ... then if i dont use a key, i can still get into the server with a regular password.But more importantly I need to get sudo to work with a pub/private key setup with a user whos had his/her password disabled.

1) I've adjusted /etc/ssh/sshd_config and set PasswordAuthentication no This will prevent ssh password logins (be sure to have a working public/private key setup prior to doing this

2) I've adjusted the sudoers list visudo and added

root ALL=(ALL) ALL
dimas ALL=(ALL) NOPASSWD: ALL

3) root is the only user account that will have a password, I am testing with two user accounts "dimas" and "sherry" which do not have a password set (passwords are blank, passwd -d user)

The above essentially prevents everyone from logging into the system with passwords (a public/private key must be setup). Additionally users in the sudoers list have admin abilities. They can also su to different accounts. So basically "dimas" can sudo su sherry, however "dimas can NOT do su sherry. Similarly any user NOT in the sudoers list can NOT do su user or sudo su user.

View 3 Replies View Related

General :: Mail() Function Doesn't Work With HOTMAIL But Its Work With Others?

Apr 27, 2011

i have tried mail function in php to send email from the local host its work for yahoo but not with HOTMAIL whay ! actually i tried to figure it out,

View 1 Replies View Related

General :: Sudo Pppoeconf Made DSL Working But NetworkManager Applet In Panel Ceased To Work

Nov 1, 2009

A fresh installation of ubuntu 9.10 stopped my DSL internet connection. sudo pppoeconf solved the problem of net, but NetworkManager applet in panel now not working. it says wired networks, device not managed.

View 2 Replies View Related

General :: CentOS / Sudo Doesn't Accept Root Password But Logging In As Root Works

Apr 9, 2010

I was trying to edit a file requiring root permissions, so I used sudo. I typed the root password and it failed. This happened three times, and the process was ended. I then logged in as root (su) and was able to navigate to the file and make changes as root. Am I missing something? How would I edit the sudoers file such that this password would work? Or is there another way to log in to the sudo group to make these changes? How do I set sudo passwords?

View 1 Replies View Related

General :: Sudo Cd /root Gives Sudo - Cd - Command Not Found

Jan 6, 2011

Kernel 2.6.21.5, Slackware 12.0

Code:

Code:

On the other hand

Code:

So, I do not understand why the notification "sudo: cd: command not found", considering cd is a bash built-in command.

View 3 Replies View Related

Ubuntu :: Sudo Doesn't Keep Environment Variables

Jul 19, 2010

When I execute something with sudo, the environment that it executes in doesn't have all the environment variables from /etc/profile{,.d/} defined. I googled around and found that there is a way to get the environment variables from the calling environment to be carried over to sudo's own environment, but that's not exactly what I want. I just want sudo to read the /etc/profile and /etc/profile.d/ before executing commands.

View 2 Replies View Related

Ubuntu :: Sudo Doesn't Accept Password?

Oct 10, 2010

I've read through some threads here but the problem I'm having doesn't seem to be the problem others are having.

I just reinstalled 10.04 today after my last installation messed up after a month.

early when I first installed the terminal and sudo were working perfect but now, this is what I'm getting:

[sudo] password for dimebag:
<password>
Sorry, try again.
[sudo] password for dimebag:

[Code].....

I tried every solution I saw and nothing works. I've been having a heck of a time trying to install things.

View 3 Replies View Related

Ubuntu :: Sudo Command Doesn't Recognize My Password?

Jun 18, 2010

This is a new installation.My system login password is recognized and that same passwd is recognized by the Software Centre, but not with sudo in the terminal.

View 2 Replies View Related

General :: Sound On Ubuntu Doesn't Work

Mar 7, 2011

I have this old kUbuntu box here, which used to be 8.04. For some reason after a bunch of upgrades and other unrelated changes sound doesn't work any more.

Sound works on this machine when rebooting to Windows, so it's not hardware problem. It used to work on Linux on this machine before, so it's not weird hardware. (lspci says 00:10.1 Audio device: nVidia Corporation MCP51 High Definition Audio (rev a2)) This problem persists across resets. alsamixer etc. claims sound is not muted, and volume is high. it's the same no matter which program I try to play some sounds (or which -ao for mplayer, default seems to be pulse) nothing obvious shows up in system settings

Do I really need to reinstall the system to fix that, or is there something simple I'm missing?

View 1 Replies View Related

General :: Why Doesn't Hibernate Work In Ubuntu 10.10

Dec 3, 2010

Why doesn't Hibernate work in Ubuntu 10.10?

I have tried to research the problem and suspect that the hibernation function is not a default function of the system. But how do I install it.

View 4 Replies View Related

General :: Installing Ubuntu Doesn't Work?

Mar 22, 2011

i am trying to install "uBuntu" on a systeam "XP" standard installation but nothing happen, only if i start whit reboot my system. but i what to do so when my system is ruining. Its possible?

View 4 Replies View Related

General :: NIC 3Com900 PCI Doesn't Work On Ubuntu 10.02 LTS

Sep 24, 2010

I just installed Ubuntu 10.02LTS in my computer and it doesn't recognize my ethernet PCI card. Which is and how can I install the right driver?

The card is: 3Com EtherLink XL PCI 3C900-TPO

View 1 Replies View Related

General :: Vsftpd Doesn't Work On Ubuntu?

Apr 2, 2010

I've just installed the vsftpd service on ubuntu 9.10.

in /etc/vsftpd.conf
local_enable=YES
write_enable=YES

and I have restarted the vsftpd with "sudo /etc/init.d/vsftpd restart". I could login with a username but couldn't display any file. Got the following error

View 1 Replies View Related

General :: Sound Doesn't Work / Get That?

Jan 27, 2010

I got a sound issue with my debian system
here is some outputs
lsmod

Quote...

View 3 Replies View Related

General :: Ctrl+alt+[f1 -f3] Doesn't Work?

Jan 13, 2011

ctrl+alt+[f1 -f3] switch doesn't work, but back to ctrl+alt+f7 works normal. When i switch from ctrl+alt+f7 to ctrl+alt+f1 I see that on the dash flashes on the screen.

View 2 Replies View Related

General :: Monitor Doesn't Work / Get That?

Feb 27, 2011

I've installed Linux suse 11.3 on my laptop, but the monitor doesn't work. my laptop is a VAIO one and it's graphic card is NVIDIA GEFORCE 310m, so
what should i do?

View 1 Replies View Related

General :: Live CD Doesn't Work On Old PII?

Jan 31, 2011

yesterday I was trying to install Puppy Lucid 5.2 on a old PC (PII 533mhz 265mb RAM). First of all I have launched the live cd, then set up language, time zone and keyboard... at this point pc stopped working and stay blocked on the desktop screen with no possibility to move pointer or use keyboard. Is it possible that hardware is too old to work with Puppy Lucid 5.2? May I have to try with a lighter OS (which one?)?

View 11 Replies View Related

General :: Rmi In Fedora Doesn't Seem To Work

Oct 3, 2010

i was workin on my rmi programs today in my f12,and then i executed all the files related to the program,it did get executed! but when i type the command start rmi registry that is to start the registry system,it fails to does so:

heres the o/p:
start: Unknown job: rmiregistry

the programs luks perfect and even got executed,sorry if the question is silly to be asked over her! i am completely new to fedora!

View 2 Replies View Related

General :: Rpm Doesn't Work When Used With URL That's Redirected?

Jun 4, 2011

If I do the following, if the URL is a redirect, it doesn't work

rpm -ivh http://path/to/rpm

I have to use wget http://path/to/rpm which resolves the redirect and downloads the file, then run rpm on that file.

More for my knowledge of bash than anything else, would there be a way to redirect the file downloaded from wget into the rpm (something like redirection or pipes or something), so that they could be combined into one command and you wouldn't explicitly save the file first.

Something like... rpm -ivh << wget http://path/to/rpm

I have one more question, and that is whether there is a command in linux, such as wget, that would let me pass it a URL and output the redirected-to URL if the argument.

e.g. ('wget --someflag http://orig/url' would output 'http://url-after-redirects-followed')

View 2 Replies View Related

Ubuntu :: Sudo Apt-get -f Doesnt Work?

Jan 9, 2011

i'm havng issues

Code:
bahie@bahie-laptop:~$ sudo apt-get install screenlets python-rsvg
[sudo] password for bahie:
Reading package lists... Done
Building dependency tree
Reading state information... Done
python-rsvg is already the newest version.

[Code]...

View 7 Replies View Related







Copyrights 2005-15 www.BigResource.com, All rights reserved