search for: motd

Displaying 20 results from an estimated 319 matches for "motd".

Did you mean: mod
2009 Apr 27
1
[Code study]should we remove if (motd && *motd) section?
Dear List, I'm confused when we will run into "if (motd && *motd)"? As I have found that Globals is set 0 during initialization, and I didn't find anywhere else assign the value. If so, should we remove this section? Or there might be some where I missed? Please correct me, if I'm wrong. Thanks in advance. clientserver.c #line...
2011 Nov 29
2
template does not print variables
Hello list, I am having a problem with template file. Why are variables not interpolated? [root@puppet manifests]# cat /etc/motd memory free = <%= memoryfree %> domain = <%= domain %> operating system = <%= operatingsystem %> This is the template file [root@puppet manifests]# cat ../templates/motd.erb memory free = <%= memoryfree %> domain = <% domain %> operating system = <% operatingsyst...
2004 Mar 13
1
suppressing motd without decreasing verbosity
Is there a way to make the rsync client suppress the motd without suppressing other messages when connecting to an rsync server? What I want is to run rsync from cron and have it produce output only when any files have been downloaded or deleted and whenever errors have happened. Otherwise, I want it to be quiet. This doesn't seem to be possible with...
2010 Jun 28
4
Error 400 : could not find template
...to puppet config files on clients. Now all Puppet clients don''t update because of an error... What can be the various reasons for an ''400'' error?? I guess it has something to do with rights. Jun 28 09:52:36 pm puppetmasterd[22709]: Could not find template ''etc/motd.erb'' at /etc/puppet/manifests/classes/motd.pp:6 on node pm...... Jun 28 09:52:36 pm puppetd[23432]: Could not retrieve catalog from remote server: Error 400 on SERVER: Could not find template ''etc/motd.erb'' at /etc/puppet/manifests/classes/motd.pp:6 on node pm...... Jun...
2011 Apr 01
9
Puppet on Redhat 6
Hello I have been using puppet for a while now, more or less successfully on SLES 11 and CentOS 5.5 currently I am using puppet 2.6.6 I now am trying it out on redhat 6, and now i run into an problem with even the simplest of modules/classes The error I get is : debug: /Stage[main]/Motd/File[/etc/motd]/content: Executing ''diff -u / etc/motd /tmp/puppet-file20110401-3455-malx7x-0'' /usr/lib/ruby/site_ruby/1.8/puppet/util.rb:341: [BUG] Segmentation fault ruby 1.8.7 (2010-06-23 patchlevel 299) [x86_64-linux] my motd module is like this: class motd { $ascii...
2008 Nov 10
10
Appending a file to an existing file
Hi, I have a template file which I would like to append to an existing file (in this case I wish to add a few lines to /etc/motd). Unless I''ve missed it, it does not appear that file has an append option. Is there an easy way copy to the end of a file Thanks Paul --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Puppet Users"...
2009 Apr 22
2
[Code study] lp_motd_file defination? Help
Dear List, Currently, I read this in clientserver.c, line 148. motd = lp_motd_file(); I have googled, but didn't the definition of char *lp_motd_file(void). Can anyone help to explain the following code segment. Many thanks. #line 147 ~ 160, in clientserver.c, version 3.0.5 > if (!am_client) { > motd = lp_motd_file(); > if (motd && *motd) {...
2006 Jul 06
1
ASCII colors in MOTD
Hi all, For some time I noticed that my rsync server is not showing a colorfull MOTD... Researching a bit, it turns out to be a problem since rsync-2.6.7 (rsync-2.6.6 is OK). Looking at the NEWS: - The way rsync escapes unreadable characters has changed. First, rsync now has support for recognizing valid multibyte character sequences in your current locale, allow...
2001 Sep 24
4
part of files in another file after crash
...ox kernel: ext3_orphan_cleanup: deleting unreferenced inode 97540 Sep 23 23:29:17 blackbox kernel: ext3_orphan_cleanup: deleting unreferenced inode 97538 Sep 23 23:29:17 blackbox kernel: EXT3-fs: ide0(3,3): 2 orphan inodes deleted the problem is that if found a part of my dpkg package list in my motd and the first line of the motd in my resolv.conf :/ (i haven't found any other corrupted files yet) if ext3 detects a journal error - why does it still use the journal (it did a fsck after the recovering)? why are files corrupted which i don't edit very often (motd, the dpkg list, i c...
2010 May 21
3
SSH service not getting restarted
...=> root, group => root, mode => 600, notify => ''Service[sshd]'' } Exec { path => "/bin:/usr/bin:/usr/sbin:/sbin:/usr/local/ bin" } exec { "/bin/echo ''Banner /etc/motd'' >> /etc/ssh/sshd_config": unless => "grep ''Banner /etc/motd'' /etc/ssh/sshd_config 2>/dev/ null" } service { sshd: ensure => running, subscribe => File["/etc/ssh/sshd_config&qu...
2000 Aug 04
1
/etc/motd printed twice on Irix 6.5.
Precedence: bulk Hello all, I tested openssh-2.1.1p4 briefly on 64-bit Irix 6.5 system. I noticed that when I log on, /etc/motd is printed out twice in the row. This does not happen with SSH.COM's ssh. UseLogin is disabled. Works fine in Linux and FreeBSD. Anyone else (Irix users?) notice anything like this happening? -- Pekka Savola "Tell me of difficulties surmounted, Pekka.Savola at ne...
2004 Apr 06
1
No motd, lastlog, stored pam messages displayed
Hi while testing a new pam module i found this problem: System: Linux 2.4.18/OpenSSH 3.8p1 client/server The output from do_login() in session.c (motd, lastlog, stored pam messages) isn't displayed when Privilege Separation is enabled. I added a fflush(stdout) as the last line of do_login(), now it works. Frank
2002 Oct 09
0
GUI - handling motd
...AGE----- Hash: SHA1 I'm (very slowly) working on a kioslave for rsync. At this stage I'm just exec()ing the rsync binary. If you want to know how far I have to go, see: http://www.cuneata.net/rsync-kio.html for the bad news. One question that I'm still grappling with is how to handle motd. I have a very rough heurestic for finding it (everything up to the last blank line is motd), but I'm not sure how to handle displaying it. I thought about trying to make it pop-up, but when you are browsing it will pop-up all the time. The novelty will surely wear off quite quickly... Alt...
2004 Mar 24
7
[Bug 817] Opening >1 session and shell results in the MOTD being repeated
http://bugzilla.mindrot.org/show_bug.cgi?id=817 Summary: Opening >1 session and shell results in the MOTD being repeated Product: Portable OpenSSH Version: 3.6.1p2 Platform: All OS/Version: Linux Status: NEW Severity: normal Priority: P2 Component: sshd AssignedTo: openssh-bugs at mindrot.org...
2008 Feb 14
2
kickstart file problem
...chkconfig netfs --add|/sbin/chkconfig netfs on|# relocate tmp|echo "relocate root"|rm -rf /tmp|ln -s /var/tmp /tmp|# add lustre module configuration|echo "add lustre module configuration"|echo "options lnet networks=tcp0(eth1,eth0)" >> /etc/modprobe.conf|# create motd|echo "set motd"|echo "Built as admin/ingest using VIPER install 1.0" > /etc/motd|echo "Adding level3 with bad password set"|/usr/sbin/useradd -d /home/level3 -m -u 100 -g 100 -p BLOCKED level3|' i: /bin/sh c: 1) messages: /mnt/sysimage/root/post-install.log scri...
2006 Aug 27
0
Protocol
...And after all options have been specified the [usually] binary data is passed to the client. +------------+ | Handshake: | +------------+ A RSYNC client upon connecting should receive the ASCII string "@RSYNCD: 29" ended by a [1]LF. Next the client should expect the Message of the Day (MOTD), this is multiple lines, again, seperated by a LF. The client should continue reading data until a [2]Empty Line is found. Now the client should respond with "@RSYNCD: 29" terminated by a [1]LF. Now the server is expecting the name of a module teminated by a [1]LF; [I]If the clien...
2002 May 10
1
Parsing output, separating motd and module-list
I'm working on a frontend to rsync, and I've got a problem. It's easy to get a list of files and directories from a specific path on an rsync server. But from the root, I've found it very difficult to get a list of modules. I cannot see when the modt stops, and when the list begins. Can anybody help? -- Mvh. Niels Andersen
2007 Jun 06
2
omit /etc/issue message when running rsync
Is there a way to omit the text printed out by issue(5) on some systemes? Like what --no-motd does for motd-texts.
2015 Apr 18
2
Is it possiable to suppress the site-specified messages?
Hi all, When connect to a remote rsync server, ofter it will give some site- specified messages, say, the following one: ------------ _______________________________________________________________ | University of Science and Technology of China | | Open Source Mirror (mirrors.ustc.edu.cn) | |===============================================================| |
2002 Apr 26
1
rsync 2.5.5 - Utilizing "exclude from" in rsync.conf
...e to keep them from syncing mp3 files to the server and jamming up space. But rsync just seems to ignore this and syncs the files anyway without any errors to the syslog. All of my configurations are in /etc Here is rsyncd.conf pid file = /var/run/rsyncd.pid max connections = 2 use chroot = yes motd file = /etc/rsyncd.motd log file = /arch1/sync/rsync.log [test] path = /arch1/sync/paul list = false read only = false uid = 900 gid = 900 exclude from = /etc/rsyncd.excludes auth users = paul secrets file = /etc/rsyncd.secrets...