Ubuntu Servers :: Sudo Can't Hold Environment / Resolve This?
Oct 6, 2010
I'm with Linux 2.6.32-25-server #44-Ubuntu SMP Fri Sep 17 21:13:39 UTC 2010 x86_64 GNU/Linux , Ubuntu 10.04 Server
And I wanna execute the next script in bash profile code...
View 1 Replies
ADVERTISEMENT
Aug 16, 2011
I am suddenly not prompted for my password when I run any command as sudo on a few of my Ubuntu servers.
if I run sudo -K, the session is cleared, and I am prompted again for my password, however it saves/caches it until I run sudo -k again even if I log out and back in. I want it to prompt me for my password, as it should (and did) by default, for security.
Any ideas what could be causing this?
Here's my /etc/sudoers file code...
View 2 Replies
View Related
Sep 25, 2010
I have 4 servers that I got at auction and they now have ubuntu running with gnome interface.I installed apache2 and tried to edit the conf file but i am not sure if it is a router issue a dns or the config.I am trying to figure out how to set the server to hold the domain from a dynamic ip address and also how to create some test page to see if i can acess from the internet.
I have purchased some books on the command lines and how ubuntu works, I am understanding it so far, but dont know how to have a directory for the dns request to point to for the sitewhat i want to do with the servers...voipeb server for about 4 websites - one is for a volunteer rescue organization, another for a test auction site and 2 portfolio sitesremote file access- if possiblealso on a side note, is it possible to have a message relay from one cell phone or transmit to the server and have it send sms message to cell phones? - this will be used for the rescue group as well.
View 3 Replies
View Related
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
Jan 19, 2010
I just migrated into Ubuntu 9.10 from Windows and moved my mail profiles and also my bookmarks to Thunderbird and Firefox.
I can't see the Mail profiles and messages unless I run "sudo thunderbird" and I can't save or edit bookmarks in Firefox unless I run "sudo firefox".
Probably it's best if I don't run Firefox or Thunderbird as root, eh?
I've tried changing the file permissions for bookmarks.html, but no luck. And haven't even tried to tackle the Thunderbird issue yet.
View 8 Replies
View Related
Jan 17, 2011
For the few thousands of people who have a little too much time on their hands who create personal web servers and host them using their local ISP on dynamic IP addressees.... what does the future hold for me.. {COUGH} ... I mean, them when IPv6 rolls out?
View 1 Replies
View Related
Mar 11, 2011
I have installed ubuntu-desktop and can log in fine. Whenever I start Synaptic, etc and am prompted for my password I am told it is incorrect. I reinstalled ubuntu server and tried the same thing with xubuntu-desktop and I experience the same thing.
View 1 Replies
View Related
Mar 10, 2011
why does a machine try to resolve host when I issue 'sudo -i' or some other command prefixed with sudo.What is happening in the background?
View 11 Replies
View Related
Apr 22, 2009
How to use sudo to run a perl script with the environment variable JAVA_HOME on linux?
Running testenv.pl as sudo do not pickup the environment variable JAVA_HOME
value. code...
View 1 Replies
View Related
Jul 12, 2010
I'm having a problem with this command: sudo yum update
I get the error: "Loaded plugins: presto refresh - packagekit
error:no such table: packages.
I created a group using vi /etc/sudoers
saved it using :wq!
but can't get it to work.
View 3 Replies
View Related
Nov 26, 2010
When I try to launch something from terminal, it shows this error.
gksudo gedit /etc/hosts
Quote:
127.0.0.1localhost
127.0.1.1matt-laptop
# The following lines are desirable for IPv6 capable hosts
::1 localhost ip6-localhost ip6-loopback
fe00::0 ip6-localnet
ff00::0 ip6-mcastprefix
ff02::1 ip6-allnodes
ff02::2 ip6-allrouters
ff02::3 ip6-allhosts
My computer always had this name and I never had concerns related to his name. So, what's wrong now?
View 8 Replies
View Related
May 21, 2010
I am having a problem with Ubuntu 10.04. I was setting up network sharing with Samba. Set up went fine, then I decided to change the hostname.
Following instructions I found on the web, I edited etc/samba/samba.conf to reflect my desired hostname.
Now I have to use superuser to run synaptic or update center. I don't know what else I have "broken".
I would like to change my hostname, if I did it incorrectly for 10.04 please enlighten me.
View 2 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
Jan 17, 2011
If I pass to my shell environment as a regular user will it apply to builds ran under sudo?I posted a thread similar to this regarding a build with TOR; however, this is applicable to all programs.
View 6 Replies
View Related
Mar 13, 2010
I have installed x-11 server using the command
"sudo apt-get install xserver-xorg xserver-xorg-core"
and
"sudo apt-get install openbox"
On the Ubuntu server 9.10 I dont know how to load the GUI environment .
View 1 Replies
View Related
Apr 24, 2010
I am a different distribution Linux user but considering to install Ubuntu Server 9.10 to run my personal website.
Question about Ubuntu Server version - does it come with some desktop environment like Gnome or KDE? I would be running Ubuntu Server on my home machine so it would be a nice bonus if I could use it to browse internet or check email.
View 9 Replies
View Related
May 20, 2011
I had OpenERP completely installed and running just fine. All basic install instructions just worked out of the box on Ubuntu 11.04. Now, we also are going to develop our own web site. For that we needed a web development environment. Due to the small size of our home business, we have to do it all on one PC. So I went ahead and installed everything needed to get Drupal going, among which I had to install:
LAMP
Drupal
Memcached
Memcache
Postfix
Tomcat
and other packages.It all works like a charm, but now my openerp-web crashes when I start it with the following message:
Code:
[20/May/2011:16:17:19] ENGINE Bus STARTING
[20/May/2011:16:17:19] ENGINE Started monitor thread '_TimeoutMonitor'.
[20/May/2011:16:17:19] ENGINE Started monitor thread 'Autoreloader'.
[code]....
For those that do not know it: it is a module that interfaces with the OpenERP server software to allow people to access the system through their web browser, effectively eliminating the use to install a client on their PC. Very practical for our light weight laptop that we use in combination with my PC.
Normally one would connect by browsing to [URL] and automatically get connected with the OpenERP environment.Now, however, that does not work anymore with the above error as a result. Do you guys have any idea if I have to configure something in Apache to get this working again? Possibly with instructions, otherwise I'd get lost again in no time.
View 2 Replies
View Related
Jan 1, 2010
i want to install whole machine through desktop environment so i want to install ubuntu-desktop but after i want to remove so how can i do so completely remove it after? i am trying to install ACE URL..How to even configure? When i do basic procedures like mkdir build cd build ../configure is says bad interpreter and after i fix this it says something about config.dab or something like that.
View 9 Replies
View Related
Jan 25, 2010
I want to been able to connect remotely via RDP protocol with a client (for example from work to house) and I found that I can use [URL... What packages I need to install, and how I configure it? I connect my laptop via wireless throught eth2.
View 4 Replies
View Related
Mar 31, 2011
The Linux samba server would be part of the Windows domain.What's the best way to add shares for all of the students, assuming there is 200 students per folder? Is there a way to add a wildcard like $(USER) (that's logged in)//fileserver/ students/classof2011/Bill_Gates? Or would a directory path have to be created for each student?Either way is fine. I'm just curious what the proper protocol is for completing that task.
View 1 Replies
View Related
Apr 11, 2011
I installed Ubuntu 10.04 64bit server on DELL R710 server recently.
The basic:
[System Model] --- PowerEdge R710
[Ubuntu] ---
root@pek-mcbuild2:~# cat /proc/version
Linux version 2.6.32-21-generic (buildd@yellow) (gcc version 4.4.3 (Ubuntu 4.4.3-4ubuntu5) ) #32-Ubuntu SMP Fri Apr 16 08:09:38 UTC 2010
root@pek-mcbuild2:~# uname -ar
[Code]...
View 1 Replies
View Related
Oct 24, 2010
I have a set of servers that I have to manage and I thought that pssh (parallel-ssh) would be a great tool for the job. Except that I can not see how to use that with 'sudo'. I can set password-less ssh between multiple servers for a given user. But I cannot see how to do administrative work if I cannot call SUDO as it requires a password to be entered firstly.
View 5 Replies
View Related
Mar 16, 2011
I wanted to installed transmission on my buntu server box 10.10 tonite so from my laptop top i ssh'd into it...which took an unordinary amount of time.. went to type in sudo apt-get install transmission half way through each word at the terminal prompt it would just hang...had to wait then it would recognize my typing and i could continue....pressed enter waited a long time; then noticed i coulnd't connect to the repos?
So i manually (as in sitting at the box not over ssh) tried to ping google nothing....sudo apt-get update....nothing....
- i restarted the machine twice
-sudo ifdown eth0 /sudo ifup eth0
sudo nano /etc/networking/interfaces made sure it said
Quote:
I have my router saved to assign 192.168.0.100 to the machines eth0 MAC of 00:14:2a:e9:15:0b so i can always use my webUI w/o having to guess my ip ifconfig shows my broadcast running i dunno i'm sooo confused and lost scared...a lil' cold....kinda hungry..pretty tired....
I'm on cli no gui anyone ever have this?
Quote:
View 8 Replies
View Related
Jul 13, 2011
I'm trying to set up my mythtv backend on a headless box. The many tutorials out there tell you to run mythtv-setup from a machine with a display by x forwarding through ssh.
Code:
ssh -X username@ipaddress /usr/bin/mythtv-setup
The x forwarding works fine except that the first part of the mythtv-setup requires you to stop the mythtv-backend process which you have to do as root. It brings up a box asking for your password (much like is would if you just typed sudo xxxxxxx in the terminal) but it won't accept the password. Looking in the auth log it seems that it can't authenticate
Code:
Jul 13 11:21:08 server su[21869]: pam_unix(su:auth): authentication failure; logname= uid=1000 euid=0 tty=/dev/pts/1 ruser=administrator rhost= user=root
Jul 13 11:21:10 server su[21869]: pam_authenticate: Authentication failure
[code].....
Now I know that my account (administrator) can have root privileges because I can sudo xxxx to my hearts content via ssh in the terminal, but it seems to not work when it's being requested from a forwarded X window....
View 2 Replies
View Related
Feb 18, 2010
Ubuntu Server 9.10, with apache, proftpd, mysql and the goodies.
I have wordpress installed and setup under /var/www/
The LAN IP address resolves perfectly to the index.php
However I can not get my WAN IP to resolve. My ISP blocks port 80, so I have my router setup to forward port 81 externally to port 80 of my server. I know the port forwarding is setup correctly and working, because I can go to websites like url and test that port 81 is indeed open.
I also have DynDNS setup on my router and through an account with them, to update my IP address with any changes, to a host name. But because port 80 is blocked I have to access it with, host.name.org:81. Ive had this system up and running before with no issues. Now I can not get the host.name.org:81 to resolve.
Neither can I get my ip address xx.xxx.xx.xxx:81 to resolve.
View 6 Replies
View Related
Mar 3, 2010
I have two computers.
Computer A = windows 7.
Computer B = Ubuntu Server 9.10
Computer B automatically receives an IP address from my router.
I can ping computer B from computer A using the IP address. I cannot ping computer B from computer A using its hostname.
My router did not show a hostname under it's active clients table. After some searching I found a threat where somebody suggested modifying /etc/dhcp3/dhclient.conf and adding 'send hostname "blahblah"' This allowed me to see the hostname in my router but I still cannot resolve it from my windows box.
View 9 Replies
View Related
Apr 30, 2011
Topic says it. Postfix was receiving emails just fine on 10.10, did the upgrade, now every host is unkown...even though I can dig -x from the machine and resolve.
View 3 Replies
View Related
Feb 25, 2010
I was planning on using my VPS to grant some of my friends shells. The problem though is that I don't want them doing crazy stuff on it, like using up all my RAM or disk space. I would like to limit them to a very small 25 mb disk space, and allow them only certain application in /usr/bin like python perl irssi screen etc. I do NOT want them to be able to cd out of their home directory. I really want this to be setup like the shell provider SHellium. I can setup the FTP and SSH stuff myself.
View 3 Replies
View Related
Aug 19, 2010
I was under the impression that /etc/environment was the place to put variables if you wanted them to be available to all users at all times. But I just realized root which is running my service processes doesn't seem to load it.My /etc/environment:
Code:
RAILS_ENV="production"
PATH="/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games"
[code]....
View 1 Replies
View Related
Nov 24, 2010
how to to setup a PXE boot environment. The server contains a LUbuntu 10.10-installation the client is Ubuntu 10.10 Server (I didn't mix up those two...) So, everything is going fine; the client gets an ip-adres, and boots over PXE. The login-prompt is shown. Problem: I can't login. It seems my users are deleted (better not copied). Of course the system (client) works fine when I boot the system from it's harddrive. The only thing I can guess, there going something wrong with:
[Code]....
View 1 Replies
View Related