Re: Removing motd from ssh logins

2007-03-18 Thread Kamaraju S Kusumanchi
Marco De Vitis wrote: >> What ssh version are you using? Which distribution are you using? > > Well... I mentioned an Etch machine in a Debian mailing list... can you > guess? ;)) Sorry! I thought the client is running Debian Etch. I wanted to find out what the server is running. I went back and

Re: Removing motd from ssh logins

2007-03-18 Thread Marco De Vitis
On 18/03/2007 20:20, Kamaraju S Kusumanchi wrote: My guess is that the motd is getting printed from some other thing (ex:- login). One way to check for this is to PrintMotd yes in sshd_config and see if motd appears one extra time. If it does, the Yep it did indeed. The problem was in /etc

Re: Removing motd from ssh logins

2007-03-18 Thread Marco De Vitis
On 18/03/2007 19:40, Wei Chen wrote: Have you tried restarting/reloading the daemon? You mean after setting PrintMotd to "no" in /etc/ssh/sshd_config? Sure. The setting is actually there since quite some time, with many reboots in the meantime. -- Ciao, Marco. -- To UNSUBSCRIBE, email

Re: Removing motd from ssh logins

2007-03-18 Thread Marco De Vitis
On 18/03/2007 19:10, Tobias Nissen wrote: If you use pam (grep UsePAM /etc/ssh/sshd_config) then you might want to disable printing of the motd in /etc/pam.d/ssh. Look for a line like sessionoptional pam_motd.so and comment it out. Oh yes, that was it, thanks! I already did it

Re: Removing motd from ssh logins

2007-03-18 Thread Kamaraju S Kusumanchi
Marco De Vitis wrote: > Hi, > I'd like to prevent the motd from appearing when someone logs in via ssh > on an Etch machine. > I already have "PrintMotd no" in /etc/ssh/sshd_config, but the motd > still appears. > > Any clues? > My guess is that the

Re: Removing motd from ssh logins

2007-03-18 Thread Wei Chen
On 3/19/07, Marco De Vitis <[EMAIL PROTECTED]> wrote: On 18/03/2007 14:20, Tobias Nissen wrote: > Place the file .hushlogin into the homedir of the remote user. Uhm, thanks, it works, but I'd prefer doing it "the right way"... Infact, this file is used to suppress motd

Re: Removing motd from ssh logins

2007-03-18 Thread Tobias Nissen
Marco De Vitis wrote: >> Place the file .hushlogin into the homedir of the remote user. > > Uhm, thanks, it works, but I'd prefer doing it "the right way"... If you use pam (grep UsePAM /etc/ssh/sshd_config) then you might want to disable printing of the motd in /etc

Re: Removing motd from ssh logins

2007-03-18 Thread Marco De Vitis
On 18/03/2007 14:20, Tobias Nissen wrote: Place the file .hushlogin into the homedir of the remote user. Uhm, thanks, it works, but I'd prefer doing it "the right way"... Infact, this file is used to suppress motd (and last login) output when motd is enabled in sshd_config,

Re: Removing motd from ssh logins

2007-03-18 Thread Tobias Nissen
Marco De Vitis wrote: > I'd like to prevent the motd from appearing when someone logs in via > ssh on an Etch machine. > I already have "PrintMotd no" in /etc/ssh/sshd_config, but the motd > still appears. Place the file .hushlogin into the homedir of the remote user

Removing motd from ssh logins

2007-03-18 Thread Marco De Vitis
Hi, I'd like to prevent the motd from appearing when someone logs in via ssh on an Etch machine. I already have "PrintMotd no" in /etc/ssh/sshd_config, but the motd still appears. Any clues? -- Ciao, Marco. -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject

no motd regeneration

2007-02-13 Thread Ricardo Yanez
How can one suppress regeneration of /etc/motd in etch? The old EDITMOTD varible in /etc/default/rcS is no longer used for this purpose. Ricardo Yanez -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

policy for motd and motd.tail

2007-01-30 Thread Douglas Allan Tutty
I've found out _how_ the /etc/motd and /etc/motd.tail work. I'm wondering _why_. I used to put reminders (like do a backup) into /etc/motd with a cron job. This way I would get the reminder until I removed it. Now, however, to put a reminder and have it appear immediatly, _and_ have

Re: MOTD

2005-09-23 Thread Exal de Jesus Garcia Carrillo
#vi /etc/motd if you edit this file you can show a welcome message for the users of the your system. > How does one set up MOTD? A cat of /etc/motd? > > Thanks. > > > > > > > --xyrael.net-- > > > > > -- To UNSUBSCRIBE, email to [EMAIL PROTECT

MOTD

2005-09-23 Thread Sean Whitton
How does one set up MOTD? A cat of /etc/motd? Thanks. --xyrael.net-- binBd6vw8gUsM.bin Description: PGP Public Key

Re: modifying /etc/motd during boot

2003-01-25 Thread Tim Ayers
/etc/motd doesn't really have anything to do with the boot process. It is displayed to all users when they log in. You could change your script to just echo the top 3 things and call the script from ~/.bash_profile instead. That way only you see the top 3 things on your to-do list

modifying /etc/motd during boot

2003-01-25 Thread phill
Simple question: I've got a simple little script to take the top 3 things from my todo list and put them into /etc/motd. Where should I put this script in the boot process? Phill -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble?

Re: Sources of changes to /etc/motd and of other login messages?

2002-12-13 Thread Colin Watson
On Thu, Dec 12, 2002 at 07:12:00PM -0500, Lloyd Zusman wrote: > Colin Watson <[EMAIL PROTECTED]> writes: > > This isn't via ssh, is it? There's a bug filed about this, #169938. > > Actually, it *is* via ssh. About an hour ago I wrote a reply to Martin > Krafft here, saying that that the problem o

Re: Sources of changes to /etc/motd and of other login messages?

2002-12-12 Thread Lloyd Zusman
Colin Watson <[EMAIL PROTECTED]> writes: > On Thu, Dec 12, 2002 at 03:54:46PM +0100, martin f krafft wrote: >> also sprach Colin Watson <[EMAIL PROTECTED]> [2002.12.11.1244 +0100]: >> >> PAM: >> >> %> grep lastlog /etc/pam.d/login >> sessionoptional pam_lastlog.so > > He said he'd added th

Re: Sources of changes to /etc/motd and of other login messages?

2002-12-12 Thread Lloyd Zusman
martin f krafft <[EMAIL PROTECTED]> writes: > also sprach Lloyd Zusman <[EMAIL PROTECTED]> [2002.12.12.1719 +0100]: >> I mentioned in my original message about pam_lastlog.so. > > Sorry, didn't see that... No problem. >> Apparently, this line is getting ignored, and something else is causing >>

Re: Sources of changes to /etc/motd and of other login messages?

2002-12-12 Thread martin f krafft
also sprach Colin Watson <[EMAIL PROTECTED]> [2002.12.12.1734 +0100]: > > wow, i knew something that colin didn't... > > :-) ... except i didn't... :( -- Please do not CC me! Get a proper mailer instead: www.mutt.org .''`. martin f. krafft <[EMAIL PROTECTED]> : :' :proud Debian deve

Re: Sources of changes to /etc/motd and of other login messages?

2002-12-12 Thread martin f krafft
also sprach Lloyd Zusman <[EMAIL PROTECTED]> [2002.12.12.1719 +0100]: > I mentioned in my original message about pam_lastlog.so. Sorry, didn't see that... > Apparently, this line is getting ignored, and something else is causing > that "Last login: ..." message to get printed. on the console or

Re: Sources of changes to /etc/motd and of other login messages?

2002-12-12 Thread Colin Watson
On Thu, Dec 12, 2002 at 03:54:46PM +0100, martin f krafft wrote: > also sprach Colin Watson <[EMAIL PROTECTED]> [2002.12.11.1244 +0100]: > > > Also, what causes the following prompt to print out at login, after > > > /etc/motd has been displayed? ... > > > >

Re: Sources of changes to /etc/motd and of other login messages?

2002-12-12 Thread Lloyd Zusman
martin f krafft <[EMAIL PROTECTED]> writes: > also sprach Colin Watson <[EMAIL PROTECTED]> [2002.12.11.1244 +0100]: >> > Also, what causes the following prompt to print out at login, after >> > /etc/motd has been displayed? ... >> > >&g

Re: Sources of changes to /etc/motd and of other login messages?

2002-12-12 Thread martin f krafft
also sprach Colin Watson <[EMAIL PROTECTED]> [2002.12.11.1244 +0100]: > > Also, what causes the following prompt to print out at login, after > > /etc/motd has been displayed? ... > > > > Last login: Wed Dec 11 06:25:26 2002 from 204.212.175.30 > > Not

Re: Sources of changes to /etc/motd and of other login messages?

2002-12-11 Thread Lloyd Zusman
Colin Watson <[EMAIL PROTECTED]> writes: > On Wed, Dec 11, 2002 at 06:34:48AM -0500, Lloyd Zusman wrote: >> >> [ ... ] >> > > [cjwatson@arborlon /etc/init.d]$ grep motd * > bootmisc.sh:# Update /etc/motd. > bootmisc.sh:uname -a > /etc/mot

Re: Sources of changes to /etc/motd and of other login messages?

2002-12-11 Thread Colin Watson
On Wed, Dec 11, 2002 at 06:34:48AM -0500, Lloyd Zusman wrote: > What process or utility changes the contents of /etc/motd? > Occasionally, I see an extra system identification line that has been > placed into that file. [cjwatson@arborlon /etc/init.d]$ grep motd * bootmisc.sh:# Up

Sources of changes to /etc/motd and of other login messages?

2002-12-11 Thread Lloyd Zusman
What process or utility changes the contents of /etc/motd? Occasionally, I see an extra system identification line that has been placed into that file. Also, what causes the following prompt to print out at login, after /etc/motd has been displayed? ... Last login: Wed Dec 11 06:25:26 2002

Re: Using program output for a MOTD file

2002-05-17 Thread Karl E. Jorgensen
On Fri, May 17, 2002 at 04:32:54PM +0930, Tom Cook wrote: > On 0, Brandt Dusthimer <[EMAIL PROTECTED]> wrote: > > As bonkers as this might seem, does any one know if there is any way of > > setting up a file (like a motd file) so that it uses the output of a > > program

Re: Using program output for a MOTD file

2002-05-17 Thread Tom Cook
On 0, Brandt Dusthimer <[EMAIL PROTECTED]> wrote: > As bonkers as this might seem, does any one know if there is any way of > setting up a file (like a motd file) so that it uses the output of a > program like fortune? I think if you could get fortune to write to a FIFO th

Using program output for a MOTD file

2002-05-17 Thread Brandt Dusthimer
As bonkers as this might seem, does any one know if there is any way of setting up a file (like a motd file) so that it uses the output of a program like fortune? Thanks, Brandt Dusthimer -- :%s/emacs/vi/g -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of

Re: motd on potato

2001-10-22 Thread George Karaolides
On Mon, 22 Oct 2001, Paul 'Baloo' Johnson wrote: > On Mon, 22 Oct 2001, George Karaolides wrote: > > > Is there a way to stop Debian potato from adding the output of `uname -r` > > to the beginning of /etc/motd? > > Go edit /etc/default/rcS and make sure i

Re: motd on potato

2001-10-22 Thread Colin Watson
On Mon, Oct 22, 2001 at 07:40:47AM -0700, Paul 'Baloo' Johnson wrote: > On Mon, 22 Oct 2001, George Karaolides wrote: > > Is there a way to stop Debian potato from adding the output of `uname -r` > > to the beginning of /etc/motd? > > Go edit /etc/default/rcS and m

Re: motd on potato

2001-10-22 Thread Paul 'Baloo' Johnson
On Mon, 22 Oct 2001, George Karaolides wrote: > Is there a way to stop Debian potato from adding the output of `uname -r` > to the beginning of /etc/motd? Go edit /etc/default/rcS and make sure it says EDITMOTD=no at some point. There's some other nifty options there, too. -- Baloo

Re: motd on potato

2001-10-22 Thread Joseph William Dixon
On Mon, 22 Oct 2001, Colin Watson wrote: > On Mon, Oct 22, 2001 at 02:23:27PM +0300, George Karaolides wrote: > > Is there a way to stop Debian potato from adding the output of `uname > > -r` to the beginning of /etc/motd? > > Yes, edit /etc/init.d/bootmisc.sh. Yay! I&#x

Re: motd on potato

2001-10-22 Thread Colin Watson
On Mon, Oct 22, 2001 at 02:23:27PM +0300, George Karaolides wrote: > Is there a way to stop Debian potato from adding the output of `uname -r` > to the beginning of /etc/motd? Yes, edit /etc/init.d/bootmisc.sh. -- Colin Watson [EMAIL PROTECTED]

Re: motd on potato

2001-10-22 Thread Mark Carroll
On Mon, 22 Oct 2001, George Karaolides wrote: (snip) > Is there a way to stop Debian potato from adding the output of `uname -r` > to the beginning of /etc/motd? (snip) I'm not aware of anything outside the installation process that puts it there, so I just edit it as I like after m

motd on potato

2001-10-22 Thread George Karaolides
Hi, Is there a way to stop Debian potato from adding the output of `uname -r` to the beginning of /etc/motd? Best regards, George Karaolides 8, Costakis Pantelides St., tel: +35 79 68 08 86 Strovolos, email: [EMAIL PROTECTED] Nicosia CY 2057, web

Re: printing to motd

2001-01-27 Thread sena
On 27/01/2001 at 10:34 -0500, RAccess wrote: > edit /etc/motd. Now next up, I have to clean up the output from 'quota'. > Something along the lines of: > > You have used 40.2Mb of your quota of 500Mb (hard limit: 510Mb) > I don't use quotas, so I don't know

Re: printing to motd

2001-01-27 Thread RAccess
On Fri, 26 Jan 2001, John Galt wrote: > > echo `quota -v` `/usr/games/fortune` >> /etc/motd > > > On Sat, 27 Jan 2001, RAccess wrote: > > > > >Hello. I would like know how I can print quota information into the motd > >for every user. Since we ar

Re: printing to motd

2001-01-27 Thread John Galt
echo `quota -v` `/usr/games/fortune` >> /etc/motd On Sat, 27 Jan 2001, RAccess wrote: > >Hello. I would like know how I can print quota information into the motd >for every user. Since we are talking about appending to motd, how can >fortune be appended as well? They should b

Re: printing to motd

2001-01-27 Thread sena
On 27/01/2001 at 00:58 -0500, RAccess wrote: > Hello. I would like know how I can print quota information into the motd > for every user. Since we are talking about appending to motd, how can > fortune be appended as well? They should both work along the same lines, > just quota sys

printing to motd

2001-01-26 Thread RAccess
Hello. I would like know how I can print quota information into the motd for every user. Since we are talking about appending to motd, how can fortune be appended as well? They should both work along the same lines, just quota system would be harder, i think. thanks. RAccess #geeks

Re: Changing the MOTD

2000-10-18 Thread Jonathan Gift
Hi, Thanks for the advice. Someone posted having a look at /etc/default/RcS and changing the MOTD to no. I did and that solved it. Having changed the /etc/motd first, of course. But Linuxconf should go anyway... Jonathan

Re: Changing the MOTD

2000-10-18 Thread Jonathan Gift
Great, thanks for the feedback! > I just had this same problem minutes ago, but by doing a grep on /etc > for motd, I noticed that there is a variable called EDITMOTD in the > file rcS of /etc/default that is set to yes automatically. Jonathan

RE: Changing the MOTD

2000-10-18 Thread Wesley Wannemacher
I just had this same problem minutes ago, but by doing a grep on /etc for motd, I noticed that there is a variable called EDITMOTD in the file rcS of /etc/default that is set to yes automatically. ./default/rcS:# Set EDITMOTD to "no" if you don't want /etc/motd to be editte

Changing the MOTD

2000-10-18 Thread Jonathan Gift
Hi, I changed the default Message of the Day in Linuxconf and the MOTD file and yet every time I reboot it defaults back to the same GNU/Linux Debian etc. Where can I find a way to stop this? Thanks, Jonathan

Re: issue and motd with xdm

1999-08-10 Thread Dave Thayer
On Mon, Aug 09, 1999 at 02:08:11PM -0700, [EMAIL PROTECTED] wrote: > > Hi, > > > I would like to display a message before users logon to my machine. I have the > message in /etc/motd and /etc/issue. If I come in through a "terminal" window, > via ssh for example

issue and motd with xdm

1999-08-09 Thread harsh
Hi, I would like to display a message before users logon to my machine. I have the message in /etc/motd and /etc/issue. If I come in through a "terminal" window, via ssh for examples, I see the /etc/motd contents. When I logoff the console and log back on, ( I'm running XDM) I d

Re: How to get rid of the motd

1998-09-22 Thread shaul
with the system. . . . for more information. After a successful login, you will be informed of any sys­ tem messages and the presence of mail. You may turn off the printing of the system message file, /etc/motd, by creating a zero-length

Re: How to get rid of the motd

1998-09-20 Thread dsb3
On Sun, 20 Sep 1998, Selim Issever wrote: >Why dont you just edit /etc/motd? > >Selim > >Sean Johnson wrote: >> >> This certainly isn't a serious problem, but I've been a little perplexed >> at not being able to get rid of the little blurb about Debia

Re: How to get rid of the motd

1998-09-20 Thread Selim Issever
Why dont you just edit /etc/motd? Selim Sean Johnson wrote: > > This certainly isn't a serious problem, but I've been a little perplexed > at not being able to get rid of the little blurb about Debian/GNU > software not being responsible for your machine blowing up, b

How to get rid of the motd

1998-09-20 Thread Sean Johnson
This certainly isn't a serious problem, but I've been a little perplexed at not being able to get rid of the little blurb about Debian/GNU software not being responsible for your machine blowing up, blah, blah, blah that appears directly after login. Any ideas would be greatly appreciated. Sean

Re: in.telnetd motd?

1998-01-18 Thread Ian Keith Setford
On 18 Jan 1998, Ben Pfaff wrote: > > Will /etc/issue.net work? That's what I needed! Thanks. -Ian _ .__. __ __ | | .__. .__..__. .__. .__. \ \/ / | | |

Re: in.telnetd motd?

1998-01-18 Thread Ben Pfaff
I have a quick question. Is there, or can there be, a file which displays a small amount of text(motd) to incoming telnet connections. I wish to display a statement of server ownership and liability. Will /etc/issue.net work? -- TO UNSUBSCRIBE FROM THIS MAILING LIST: e-mail the word

in.telnetd motd?

1998-01-18 Thread Ian Keith Setford
Yo- I have a quick question. Is there, or can there be, a file which displays a small amount of text(motd) to incoming telnet connections. I wish to display a statement of server ownership and liability. Thanks, Ian

Re: uname -a on /etc/motd

1997-07-13 Thread joost witteveen
> > On Sun, 13 Jul 1997 18:22:23 EDT Randy Edwards ([EMAIL PROTECTED]) > wrote: > > >Could someone tell me what process is putting what appears to be the > > output of a "uname -a" at the top of /etc/motd? > > > >I delete that regularly s

Re: uname -a on /etc/motd

1997-07-13 Thread Philippe Troin
On Sun, 13 Jul 1997 18:22:23 EDT Randy Edwards ([EMAIL PROTECTED]) wrote: >Could someone tell me what process is putting what appears to be the > output of a "uname -a" at the top of /etc/motd? > >I delete that regularly since IMHO it doesn't look very p

uname -a on /etc/motd

1997-07-13 Thread Randy Edwards
Could someone tell me what process is putting what appears to be the output of a "uname -a" at the top of /etc/motd? I delete that regularly since IMHO it doesn't look very pretty, but try as I might, Linux seems to have more patience at putting it there then I do

Re: how to change motd ?

1997-06-17 Thread Joost Kooij
On Tue, 17 Jun 1997, Christopher Ray Martin wrote: > I've noticed that /etc/motd is always replaced by Debian upon bootup. I > was wondering where it gets the contents which replaces it, and how I can > stop it from doing that!! >From /etc/init.d/boot: ---begin /etc/init.d/

Re: how to change motd ?

1997-06-17 Thread Scott K. Ellis
-BEGIN PGP SIGNED MESSAGE- On Tue, 17 Jun 1997, Christopher Ray Martin wrote: > I've noticed that /etc/motd is always replaced by Debian upon bootup. I > was wondering where it gets the contents which replaces it, and how I can > stop it from doing that!! /etc/init.d/boo

how to change motd ?

1997-06-17 Thread Christopher Ray Martin
I've noticed that /etc/motd is always replaced by Debian upon bootup. I was wondering where it gets the contents which replaces it, and how I can stop it from doing that!! I'm running Debian 1.3 Thanks, Chris. -- TO UNSUBSCRIBE FROM THIS MAILING LIST: e-mail the word "unsubsc

Re: motd

1997-01-08 Thread Joey Hess
> Is there any way of modifying the message before the login prompt? By the message before the login prompt, I assume you mean the contents of /etc/issue and /etc/issue.net? Just edit the files.. The second can be done if you have shadow passwords installed, by editing /etc/login.def: > or, > fa

Re: motd

1997-01-08 Thread Fundamental
On Wed, 8 Jan 1997, Jonas Bofjall wrote: Thanks everyone, the /etc/issue is what i was after, thanks:) SaHua michael Imagination is more important than knowledge Albert Einstein -- TO UNSUBSCRIBE FROM THIS MAILING LIST: e-mail the word "unsubscribe" to [EMAIL PROTECTED] . Trouble? e-mail t

Re: motd

1997-01-08 Thread Philippe Troin
logged in. /etc/issue.net contains the banner before someone gets logged in via the network (typically a link to /etc/issue) /etc/motd contains what is printed when someone logs in. Phil. -- TO UNSUBSCRIBE FROM THIS MAILING LIST: e-mail the word "unsubscribe" to [EMAIL PROTECTED] . Troubl

Re: motd

1997-01-08 Thread Shaya Potter
modify /etc/issue On Wed, 8 Jan 1997, Fundamental wrote: > > Is there any way of modifying the message before the login prompt? or, > failing this, is there any way of adding a message before the login: > prompt? > > thanks > > > Im out like bell bottom trousers, > > michael > > > "Democ

Re: motd

1997-01-08 Thread Jonas Bofjall
On Wed, 8 Jan 1997, Fundamental wrote: > Is there any way of modifying the message before the login prompt? or, How about editing /etc/issue? (and issue.net, which I think is a symlink to issue in Debian) > failing this, is there any way of adding a message before the login: /etc/mot

motd

1997-01-08 Thread Fundamental
Is there any way of modifying the message before the login prompt? or, failing this, is there any way of adding a message before the login: prompt? thanks Im out like bell bottom trousers, michael "Democracy is a government where you can say what you think even if you don't think." Unknown