location: ubuntuforums.com - date: March 20, 2012
Hi there I am not sure were to ask so I am sorry if I am in the wrong spot to ask this question.
I am running Ubuntu 12.04 and have this issue when I try to run sudo in terminal
sudo: /etc/sudoers is owned by uid 1000, should be 0
sudo: no valid sudoers sources found, quitting
sudo: unable to initialize policy plugin
Can someone help me??
Shell + sudo issues
- date: July 5, 2012
Fresh install of Ubuntu 12.04 64-bit.
First set of commands used:
:~# apt-get update
:~# apt-get upgrade
:~# adduser newguy
:~# moduser -a -G sudo newguy
Logged in as newguy.
sudo: must be setuid root
Before I do any chmod's or chown's I want to know what I did wrong or if I did anything wrong? This is a FRESH install on a VPS, thus I am using a shell and no GUI.
SELinux user context staffu and sudo issues. Also, question related to setting conte
- date: June 18, 2012
1. I am having issues with sudo and staff_u user context in SELinux. According to RHEL documentation, staff_u is supposed to provide user with sudo access (but not su access), but this is not working out. Here's what's happening:
~]# grep "bob" /etc/sudoers
bob ALL=(ALL) ALL
~]$ id -Z
~]$ sudo -s
[sudo] password for bob:
bash: /root/.bashrc: Permission denied
~]$ /bin/ls /root
/bin/ls: cannot access /root: Permission denied
~]$ sudo /bin/ls /root
/bin/ls: cannot access /root: Permission denied
2. I am wondering what the difference is between the two following commands:
a. semanage login -m -s staff_u __default__
b. semanage login -m -S targeted -s staff_u -r s0 __default__
I have always used the first command, but in doing some reading online I also see the second command used quite frequently.
3. I know I can get a listing of file c
I have had some issues lately when using sudo aptget install Please Help
- date: July 23, 2012
The program 'show' is currently not installed. You can install it by typing:
sudo apt-get install nmh
:~/Desktop/MUMmer3.23$ sudo apt-get install nmh
[sudo] password for marwa:
Reading package lists... Done
Building dependency tree
Reading state information... Done
nmh is already the newest version.
0 upgraded, 0 newly installed, 0 to remove and 332 not upgraded.
2 not fully installed or removed.
After this operation, 0 B of additional disk space will be used.
Do you want to continue [Y/n]? Y
Setting up qmail (1.06-4) ...
The hostname -f command returned: $1
Your system needs to have a fully qualified domain name (fqdn) in
order to install the var-qmail packages.
dpkg: error processing qmail (--configure):
subprocess installed post-installation script returned error exit status 1
dpkg: dependency problems prevent configuration of qmail-run:
qmail-run depends on qmail (>= 1.06-2.1); however:
Package qmail is not
Proxy authentication issues with sudo aptget update
- date: July 23, 2010
Can anyone help out with this, I'm having no luck at all using apt-get update
I've just started using Linux / Ubuntu but here's what I've done so far.
:~$ sudo apt-get update
Ign http://security.ubuntu.com lucid-security Release.gpg
Ign http://gb.archive.ubuntu.com lucid Release.gpg
Ign http://security.ubuntu.com/ubuntu/ lucid-security/main Translation-en_GB
Ign http://gb.archive.ubuntu.com/ubuntu/ lucid/main Translation-en_GB
Ign http://security.ubuntu.com/ubuntu/ lucid-security/restricted Translation-en_GB
Ign http://gb.archive.ubuntu.com/ubuntu/ lucid/restricted Translation-en_GB
Ign http://security.ubuntu.com/ubuntu/ lucid-security/universe Translation-en_GB
Ign http://gb.archive.ubuntu.com/ubuntu/ lucid/universe Translation-en_GB
Ign http://security.ubuntu.com/ubuntu/ lucid-security/multiverse Translation-en_GB
Ign http://gb.archive.ubuntu.com/ubuntu/ lucid/multiverse Translation-en_GB
issues with aptget install iscdhcpserver & sudo aptget install update commands on
location: ubuntuforums.com - date: September 23, 2013
i'm a newbie in the Ubuntu server environment. Installed Ubuntu 12 on our dell poweredge server at work.
After successful installing ubuntu, went ahead to run command - sudo apt-get install isc-dhcp-server at command line
to enable dhcp service. However each time i execute the command i keep getting the error message "unable to locate package isp-dhcp server ubuntu".
Also the update command "sudo apt-get install update" (to install newest versions of packages) also comes up with error message "400 bad response from server" each time i run this command at command line.
Please can someone explain to me what i'm doing wrong and how to resolve these issues.
Failed to Fetch Issues "sudo aptget upgrade"
location: ubuntuforums.com - date: April 18, 2014
Using Ubuntu14.04 (since beta testing)
When I run...
sudo apt-get upgrade
I get the following errors...
W: Failed to fetch http://ppa.launchpad.net/ubuntu-audio-dev/ppa/ubuntu/dists/trusty/main/binary-amd64/Packages 404 Not Found
W: Failed to fetch http://ppa.launchpad.net/ubuntu-audio-dev/ppa/ubuntu/dists/trusty/main/binary-i386/Packages 404 Not Found
E: Some index files failed to download. They have been ignored, or old ones used instead.
I figured ppa paths may have changed during beta to final release (or I did something unintentionally while installing programs at some point), but I'm not sure what exactly is going on. Can I just delete these these paths, or do I need to correct the paths, or something else entirely? I'll also need a little help in figuring out how to delete the paths if deleting is the proper course of action.
The full output is given below just in case...
Ign http://us.archive.ubuntu.com trusty InRelease
kernel 3.0 & radeon VGA driver issues
location: linuxquestions.com - date: October 16, 2011
Ever since kernel 3.0 (this may have also been true of the later 2.6 series) I have experienced issues with my video.
VGA compatible controller: ATI Technologies Inc RV710 [Radeon HD 4350]
At boot, the display becomes "garbled" and it is impossible to get to my Linux. I first noticed this with Arch - I had kept off upgrading my kernel and stayed with 2.6.37 (which worked fine.) On upgrade to V 3.0, my problems began.
I discovered that adding "nomodeset" or "acpi=force" to the boot parameters got me to my desktop.
The radeon driver in Arch gave me a blocky black bar when mouse scrolling in any XFCE software. This problem did not occur in Firefox.
My xorg.conf is set to run a second monitor by adding a Virtual desktop 2560 x 1024. This caused no issues with my earlier kernel.
Coincidentally, I wanted to replace my small HDD on this computer so a distro install was needed. I thought I'd give Ubuntu 11.10 a whirl (rather than installing Arch and having t
Backtrack (Ubuntu based) having issues with ruby, gem etc for Metasploit
location: linuxquestions.com - date: June 20, 2013
Backtrack 5r3 (Ubuntu based linux) running Metasploit framework.
Did a "msfupdate" command and msfconsole stopped working.
I read some things online, tried to fix it and only ended up making things much worse.
I am now having issues with Ruby, gem etc.
I will post a bunch of info and hopefully someone can help me as a linux noob to fix things and get my machine back to working order.
I followed the instructions here:
I also tried to install gem manually.
and got the following results.
Metasploit requires the Bundler gem to be installed
$gem install bundler
-#gem install bundler
Successfully installed bundler-1.3.5 /usr/lib/ruby/1.8/rdoc/rdc.rb:280: warning: conflicting chdir during another chdir block
/usr/lib/ruby/1.8/rdoc/rdc.rb:287: warning: conflicting chdir during another chdir block
Done installing documentation for bundler after 13 seconds
1 gem installed
[SOLVED] SSH connection issues on Ubuntu 10.10
- date: December 25, 2011
Recently installed openssh-client & openssh-server on my ubuntu 10.10 box, and my backtrack 5 laptop, yet I can't connect to either host using ssh [email protected]
Keep getting the port 22 connection refused error, and yeah I have updated my port rules to allow 22 on both machines, thanks in advance
Page: 1 2 3 4 5 6 7 8 9 10