I read what was the update-motd package for and is just what I need. I was pretty anxious to make some tests. Now I got some time I found that the package is no longer available.
Any of this packages has a similar use?
Does someone knows where can I found it? Any help will be much appreciated! EDIT: I'm running Ubuntu 8.04
Last edited by agasamapetilon; 09-15-2008 at 05:43 PM..
Hie.
Im having a problem editing the motd ( message of the day ). I tried to edit the file /etc/motd but its end up with nothing. I find out the directory /etc/motd is in rw- r - r i changed it to executable rwxw-rw-r but having same thing no changes in the motd.
Anyone having any idea how to... (3 Replies)
Anyone know how to change the location of the MOTD file from the default /etc/motd?
An annoying person with root access has found out how to edit the file and change my MOTDs.
Help me. (14 Replies)
I need to replace the current /etc/motd text file with a new motd across 30+ servers.
Which is the best way to do this? Shell script? sed?
Does anyone have an example I can use?
Thanks in advance. Unix people are the best!!! :) (2 Replies)
Hi
I do get the message of the day upon logging in to my machine(Solaris 9). I do NOT have a .hushlogin file in my home directory.
Any ideas
:-) (7 Replies)
Does anyone know how to get the IP Address of the connecting client to apear in the MOTD I am new to linux and I was wondering if this was possible thanks in advance. :D :confused: :D (4 Replies)
In which login startup script is the motd displayed?
Red Hat 4AS
As I understand it, upon login (bash) it hits
/etc/profile
~/.bash_profile
~/.bash_login
~/.profile
I went through the scripts and the associated scripts (/etc/profile.d/*.sh) but don't see where it's being displayed... (5 Replies)
Hi all,
Wish to check which setting is set to display the MOTD AFTER successful password verification. I am logging in via a 3rd party ssh tool tectia.
Eg.
Login:
password:
OS Prompt>
Thanks
Eugene (5 Replies)
Hi,
I am using Ubuntu 10.04 desktop and whenever I login to the xterm terminal through ssh, I am getting the following motd (message of the day) info.
Linux desktop 2.6.32-28-generic #55-Ubuntu SMP Mon Jan 10 21:21:01 UTC 2011 i686 GNU/Linux
Ubuntu 10.04.2 LTS
Welcome to Ubuntu!
*... (1 Reply)
Hello,
which is the default motd for the different following different OS versions?
RHEL: has no default motd?
HP-UX: no motd but cat /etc/copyright in /etc/profile:
(c)Copyright 1983-2003 Hewlett-Packard Development Company, L.P.
(c)Copyright 1979, 1980, 1983, 1985-1993 The Regents of the... (2 Replies)
If I have /etc/motd, he is file or directory?
I saw that some call them folders and files others... Which option is better?
I knew that being a director, but many told me not.
Thank you! (1 Reply)
Discussion started by: mescu
1 Replies
LEARN ABOUT NETBSD
login
LOGIN(1) BSD General Commands Manual LOGIN(1)NAME
login -- authenticate users and set up their session environment
SYNOPSIS
login [-Ffps] [-a address] [-h hostname] [user]
DESCRIPTION
The login utility logs users (and pseudo-users) into the computer system.
If no user is specified, or if a user is specified and authentication of the user fails, login prompts for a user name. Authentication of
users is done via passwords. If the user can be authenticated via S/Key, then the S/Key challenge is incorporated in the password prompt.
The user then has the option of entering their Kerberos or normal password or the S/Key response. Neither will be echoed.
The options are as follows:
-a The -a option specifies the address of the host from which the connection was received. It is used by various daemons such as
telnetd(8). This option may only be used by the super-user.
-F The -F option acts like the -f option, but also indicates to login that it should attempt to rewrite an existing Kerberos 5 creden-
tials cache (specified by the KRB5CCNAME environment variable) after dropping permissions to the user logging in. This flag is not
supported under pam(8).
-f The -f option is used when a user name is specified to indicate that proper authentication has already been done and that no password
need be requested. This option may only be used by the super-user or when an already logged in user is logging in as themselves.
-h The -h option specifies the host from which the connection was received. It is used by various daemons such as telnetd(8). This
option may only be used by the super-user.
-p By default, login discards any previous environment. The -p option disables this behavior.
-s Require a secure authentication mechanism like Kerberos or S/Key to be used. This flag is not supported under pam(8).
If a user other than the superuser attempts to login while the file /etc/nologin exists, login displays its contents to the user and exits.
This is used by shutdown(8) to prevent normal users from logging in when the system is about to go down.
Immediately after logging a user in, login displays the system copyright notice, the date and time the user last logged in, the message of
the day as well as other information. If the file ``.hushlogin'' exists in the user's home directory, all of these messages are suppressed.
This is to simplify logins for non-human users. login then records an entry in the wtmp(5) and utmp(5) files, executes site-specific login
commands via the ttyaction(3) facility with an action of "login", and executes the user's command interpreter.
login enters information into the environment (see environ(7)) specifying the user's home directory (HOME), command interpreter (SHELL),
search path (PATH), terminal type (TERM) and user name (both LOGNAME and USER).
The user's login experience can be customized using login class capabilities as configured in /etc/login.conf and documented in
login.conf(5).
The standard shells, csh(1) and sh(1), do not fork before executing the login utility.
FILES
/etc/login.conf login class capability database
/etc/motd message-of-the-day
/etc/nologin disallows non-superuser logins
/var/run/utmp list of current logins
/var/log/lastlog last login account records
/var/log/wtmp login account records
/var/mail/user system mailboxes
.hushlogin makes login quieter
SEE ALSO chpass(1), newgrp(1), passwd(1), rlogin(1), skey(1), getpass(3), ttyaction(3), login.conf(5), passwd.conf(5), utmp(5), environ(7),
kerberos(8), pam(8)HISTORY
A login appeared in Version 6 AT&T UNIX.
TRADEMARKS AND PATENTS
S/Key is a trademark of Bellcore.
BSD November 19, 2008 BSD