Server :: MOTD Will Not Change Ubuntu 10.10?

Apr 20, 2011

I am trying to change the motd "message of the day" on my Ubuntu server 10.10,
But when i do sudo vi /etc/motd...

i can change the text here, but as soon as I save and exit this file. It changes itself straight back.

View 3 Replies


ADVERTISEMENT

Server :: Squirrelmail's Blank Screen After Editing Motd In Config.php?

May 31, 2010

When i tried to log in, i get blank screen on the login page, even the src/configtest.php This can be solved by reverting whatever was edited for the motd option to its original paramater. anyone experienced this before and found a solution? The only reason for me to use php 5.2 is to install roundcube alongside squirrelmail. Using: centos 5.5 32-bit, squirrelmail 1.4.8, php 5.2

View 1 Replies View Related

Ubuntu :: Get Rid Of The Motd When Ssh-ing Into The Machine

Mar 28, 2011

[On Ubuntu 10.10 64-bit]

I have been trying to get rid of the boring motd when ssh-ing into the machine. I have sudo vim-ed the /etc/motd file to no avail.

Even if I add a motd.tail tail file with my content. I still get the boring and verbose:

Quote:

Linux barney 2.6.35-28-generic #49-Ubuntu SMP Tue Mar 1 14:39:03 UTC 2011 x86_64 GNU/Linux
Ubuntu 10.10

Welcome to Ubuntu! * Documentation: [URL]

How do I get rid of this?

View 1 Replies View Related

Ubuntu :: MOTD Keeps Reverting To Default?

Jun 6, 2010

I am setting a customized MOTD, however after 24 hrs, it reverts back to the default MOTD.

I noticed that it is a softlink

Code:
cmmiller@ladytron:/etc$ ls -al | grep motd
lrwxrwxrwx 1 root root 13 2009-07-05 10:47 motd -> /var/run/motd
cmmiller@ladytron:/etc$

And I'm making the change to /var/run/motd, however it keeps changing.

View 2 Replies View Related

Ubuntu Servers :: Deletes Changes To MOTD?

Jul 29, 2010

I applied some changed to the MOTD in /etc/update-motd (including removing the canonical mention in ./python2.6/dist-packages/landscape/sysinfo/landscapelink.py). After updating the system I found that all my changes had been deleted without any warning. Is there a way around this nonsense?

View 2 Replies View Related

Ubuntu :: Update-motd Gone After Install?

Dec 13, 2010

I am not sure what happened here. I have 10.04.1 and was able to run a command "update-motd". I wasn't able to get it to dynamically create a new motd. My hope was to have it recreate it once a day and email me the MOTD from the server.

In trying to get it to do this, I did a "apt-get install update-motd" in which it proceeded to do this, but then after the installation, I get:

"update-motd: command not found".

What did I do, how can I manually update/create the /var/run/motd file?

View 2 Replies View Related

Fedora :: How To Get Motd To Display

Dec 7, 2010

ive done countless google searches and forum searches with all the same results all the time. Is there anyone who can tell me what file to edit in order to display? Ive tried editing the /etc/motd file and no luck. I tried alot of other stuff too.

View 10 Replies View Related

Ubuntu Servers :: MOTD Root Disk Usage?

Dec 13, 2010

I've just installed ubuntu 10.04 and the message text that shows when you ssh in shows the disk usage of /home.How do I get it to show the disk usage of the entire root / instead? (like it used to on some older version of ubuntu)

View 1 Replies View Related

General :: Put A Script Into The Motd File?

Feb 13, 2010

how i can put an scipt into the motd file? For example if i want to know how many users are logged on while i log in.

View 1 Replies View Related

Ubuntu Servers :: Changing The Motd Style Notices When Connecting Via Ssh?

Dec 6, 2010

I'm running Ubuntu Server 10.10 and noticed that every time I log into the server via ssh it gives details that i don't necessarily want it to show.

Code:
Linux zeus 2.6.35-22-generic-pae #33-Ubuntu SMP Sun Sep 19 22:14:14 UTC 2010 i686 GNU/Linux
Ubuntu 10.10

[code]....

View 3 Replies View Related

General :: Dynamically Scripting Update Of MOTD?

May 5, 2011

I know this is somewhat lame, but I remember back in college the MOTD on some of the systems was a random quote. I always wanted to do that. It seemed really trivial, but still neat and clever.

I searched a bit and don't see anything built-in for CentOS, so I was considering writing a Perl script to parse the RSS feed from a quotes site, then update /etc/motd with a random quote from the feed. This would nearly guarantee I could have this on any distro with identical results. Does anyone know of anything that already exists? Is anyone interested in using a script that I write to have the MOTD updated with random quotes themselves, or am I the only one? I'm perfectly willing to share the result when I'm finished.

View 1 Replies View Related

General :: Display Motd After Entering Username?

Feb 20, 2011

I want to display motd after entering username but before entering password. Is it possible?

View 8 Replies View Related

Programming :: Script To Generate SSH Banner MOTD?

Apr 18, 2010

I want to automate my System-installation. So i try to make a Script that will generate the /etc/motd. Now i have the Problem that the script has some variables and after the "Hostname, OS, HW, IP" the "stars" are anyware, but not there they should. The most problem is the $OS this string can verry long or verry short be. Fedora release 12 (Constantine) or RedHat 5.4 i can do that after the variables place the "stars" on the write position?

Script
Code:
#!/bin/bash

[code]....

View 6 Replies View Related

Server :: Change The Webroot Of The Httpd Server - Directory Doesn't Exist - CentOS 5

Jun 1, 2009

I have just configured CentOS server my new office. This is the first time I am using CentOS.

Whenever I am trying to change the webroot of the httpd server, it usually say "directory doesn't exist". whereas which can't be the case as it is home directory of the user.

To achieve this, what Do I need to do?

The second issue, I am facing that whenever I am adding new directories to public_html folder, it is not accessible. as the error page 404 is shown. I have changed the permissions to 0705 and ownership is also transferred to other user. What else is required to make new directories accessible by the web?

View 2 Replies View Related

Server :: In Apache Server, Change Log File Location And Log Format For Access Log Fil?

Aug 19, 2009

I installed Apache server with Debian 5.0.2 Lenny. I am trying to write a script which would analysis web log files. I found the log files on /var/log/apache2. There is an access log file, `access.log`. My question is what configuration file determines the location and the name of the access log file. How can I change them? I used CustomLog in /etc/apache2/apache2.conf like below.LogFormat ": %h %l %u %t "%r" %>s %b" common
CustomLog /home/test/my_log_file common Apache2 generated /home/test/my_log_file. But no logs were written in the file even after I run `/etc/init.d/apache2 restart`. Ichanged the log file location. It still didn't work. However, Apache2 still wrote logs in the file `/var/log/apache2/access.log`

View 1 Replies View Related

Server :: Server Change Into Read-only Mode ?

Jul 14, 2011

I've a popular vbulletin forum (10k max in vbulletin stats 'whos online') runnin in two servers like this:

1) Web server running vBulletin.
Dual Intel E5620 @ 2.40GHz (shows 16 cpus)
12 GB RAM
2 x 500 GB SATA (one for system/web and other for backups)
CentOS 5.6 64 bit
Apache/2.2.17
PHP 5.2.16

2) MySQL 5.server
Dual Intel E5620 @ 2.40GHz (shows 16 cpus)
16 GB RAM
2 x 500 GB SATA (one for system/web and other for backups)
CentOS 5.6 64 bit
MySQL 5.0.77

Web server connects to MySQL using private LAN.
Web-php server works with xcache as recommended by vBulletin.
Image/avatars and other static files (css, js, etc) are on a CDN
MySQL server uses Memcached for caching common queries.

The problem I'm facing, is from time to time (let's say one or two times a week) the Web server goes into read only mode... then the server has to be rebooted in order to get online normally and be able to work. From the logs I've seen this:

Code:

This is a new server, and in the old server the 'read only mode' issue happened very often too... so I guess it's not a HD issue.. it's just the HD have a heavy I/O usage. What do you think?

I am thinking about this solutions to improve the webserver performance:

1) 75% of the vbulletin users are anonymous users, so I've been thinking about using Cloudflare as a cache for all that traffic, that would reduce the php-webserver process a lot.

2) Using an external email server is a good option I guess... as right now the webservers also handles the email notifications for all the vbulletin users and it is constantly sending email everywhere. So, email will be stopped to gain server performance.

3) Mounting partitions with 'noatime' at /etc/fstab seems to improve I/O performance.

View 3 Replies View Related

Ubuntu :: VNC Server - How To Change DM From GDM

Mar 13, 2010

I need to boot my netbook up under kde. I can get kde after the gdm logon, but i need kde from the get go. This is so I can get vncserver working.

View 1 Replies View Related

Ubuntu Installation :: Change The DNS Server Command?

Feb 15, 2010

How can I change the DNS server command because every time I restart my computer I have to write this in the terminal: sudo gedit /etc/resolv.conf

View 4 Replies View Related

Ubuntu :: Change VNC Server Listen Port?

Dec 30, 2010

I wish to use the VNC server built in to the Ubuntu to easily access it from other computers on my local network. I need to skew the VNC Server port off of the normal 5900 to something else because I am using VNC to access several computers (sometimes simultaneously) so each VNC server needs to be set with a different port #. At this point it is all local subnet connections with no incoming internet access and I am not worried about security.

View 2 Replies View Related

Ubuntu Security :: Change Default User Name Server

Aug 1, 2010

I installed Ubuntu Server and want to change the default user name to increase the difficulty of accessing the server.Is it possible to do this? If not, can I effect the same change by creating a new user and transferring over permissions, files, and etc.?

View 7 Replies View Related

Ubuntu Servers :: Cannot Change File Permissions On Server

Aug 25, 2010

I'm working on a remote Ubuntu 9.10 server, which is accessed via VPN. I installed Joomla, but had difficulty uploading new components, which I traced to a file permissions problem. I used FileZilla to FTP onto the site and tried to make the chmod changes I needed, but the commands kept failing. Eventually, I contacted the sys admin and told him I thought that there was an ownership problem with the directories. He checked and told me that I was logging in with exactly the same user name and password that he was using (it's not a live system currently) and that he could make chmod changes without any problems. Because all my attempts were still failing, he eventually did the following:

chown -R administrator:administrator /var/www

/var/www is where all the Joomla files are stored and Administrator is the user name.Now I find that when I run a chmod command in FileZilla, the server reports that it worked (see below):

Status:Connected
Status:Retrieving directory listing...
Command:CWD /etc

[code].....

However, if I go back and check the tmp folder permissions, I find that they are still set to 777.This still looks like an ownership problem to me, but I don't understand why the server seems to think that the chmod changes are working, when they aren't.

View 4 Replies View Related

Ubuntu Servers :: Change The Default Player On Server

Feb 3, 2011

I finally got the server running. All seems OKAY, however I want to change the default player on my server. As of now, when I upload a file, it plays but has no "play/pause/stop/mute/fullscreen" buttons. How do I get those? I've tried installing FFMPEG, MPlayer and a few others to no avail. Please suggest a tried&true method of allowing for this. I need it to be able to at least play audio(mp3) and video(mp4,wmv,avi,flv)

View 4 Replies View Related

Ubuntu Servers :: Sudden Change In Server Behavior

Jul 4, 2011

I have been running two Ubuntu 10.10 servers for some time now. My main server is 10.111.1.65 and backup server is 10.111.66. The main server is to host my website and ssh remote access (Key auth). The backup server pulls via ssh key auth what is in my /var/www (among other folders) to the backup home dir (encrypted). For some reason today I checked the uptime and it was 7 hours on both servers. All my other computers on the same power supply have a uptime of over a month. For some reason I now cant access backup via ssh from main's key (I could before) and I can not get to the home dir, see below:

Code:
carlos@UbuntuSvrDell2400:~$ sh "Access-Your-Private-Data.desktop"
Access-Your-Private-Data.desktop: 1: [Desktop: not found

[code]...

View 3 Replies View Related

Software :: Change ' To ' Sign In Ubuntu Server?

Jun 10, 2011

have xml files which has a lot of lines which contains ' which should be thesign.Should I use the sed command to change this in a complete file or grep

View 5 Replies View Related

Server :: Change The Name On Zip Files?

Mar 8, 2010

I have a question about zip file.How can I change the name of a folder after the folder is ziped,

Example: I have a 'test' folder, and it includes test1.txt and test2.txt
test/test1.txt
test/test2.txt

[code]...

View 10 Replies View Related

Server :: How To Change FTP Log Messages

Mar 12, 2010

I am running RHEL EL4. i have configured vsftp , everything works fine.The thing is that the FTP log messages are going into /var/log/messages . So i changed the log location by confuguring as follows

1. In the /etc/syslog.cong,

2.Change the line in /etc/logrotate.d/syslog

3. In /etc/vsftpd/vsftpd.conf

After the changes , i restarted the service for both ftp and syslog

Evenafter the above confguration , still the ftp log messages are going to the same dir /var/log/messages.

View 1 Replies View Related

Server :: Change Ssh Port On RH5?

Sep 21, 2010

How do i change the ssh port on my redhat 5 server. Can you tell me how to do it through the gui and through cmd line?

View 5 Replies View Related

General :: Change Permission To /proc/net/ip_conntrack On Ubuntu Server 9.10

Mar 28, 2010

I have a script that needs to extract certain information form the /proc/net/ip_conntrack file once in a while. I do not wish to run this script as the root user.

Default permissions for the file is:

I can change it with:

But that does not stick after a reboot. Is there some configuration file for file-permissions in the /proc directory in Ubuntu Server 9.10? Or do I just have to stick a chmod line in some startup script?

View 1 Replies View Related

Ubuntu Servers :: Server Inet Address Change Everyday

Mar 17, 2010

I'm using comcast, and I setup my server, everything works fine.But later I found out that the server inet address is changing everyday, and it makes my server almost not accessible.Is there anyway to fix that problem??

View 5 Replies View Related

Ubuntu Servers :: Change The Main Video Output On Server?

Jun 15, 2010

I have a ubuntu server running on a ten year old desktop and it runs great but i cant seem to change the video out put away from the normal anolog port to a TY port.My server is just for home use and I do not know the terminalThe reason I need to move to the other port is I do not have a screen for it but I do have a little old TV that will work.

View 2 Replies View Related







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