Sponsored Content
Full Discussion: unix login welcome message
Top Forums UNIX for Dummies Questions & Answers unix login welcome message Post 58208 by Perderabo on Monday 15th of November 2004 10:03:52 PM
Old 11-15-2004
Re: unix login welcome message

Quote:
Originally posted by webtekie
[B]
Last login: Mon Nov 15 16:59:13 from xxx.xxx.xxx.xxx
Sun Microsystems Inc. SunOS 5.8 Generic Patch October 2001
YO! <-- message
Mon Nov 15 17:19:05 EST 2004
/B]
I have been looking at the login sequence on a Sun box. The first line (Last login) is printed by the login program itself. The second line should be the contents of /etc/motd and is printed by code in /etc/profile. This means that the lines are being printed by your own startup scripts.


mv .profile .profile.save

and login again. Do you still see the message? If so, do
echo $ENV
and tell us what that command says.

If moving .profile out of the way suppressed the message, it is in there somewhere. Put .profile back and edit it. Add a line:
echo at point one
as the very first line. And a line:
echo at point two
as the very last line. Does the message appear bewteen the two new echos? If so, move then until you zero in on the offending line.
 

9 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

Remove login message

Hi All expert, I am about to perform remote shell to another unix server. But whenever i logged in into the remote server, the message prompt, "Setting up environment for MCI backend databases on Oracle 9.2^J" I'm suppose to rsh and cat a flat file that return only number. I tried "nohup"... (4 Replies)
Discussion started by: agathaeleanor
4 Replies

2. UNIX for Dummies Questions & Answers

I want to change login failure message, "login incorrect"

I want to change login failure message, "login incorrect" deny user login for user id tom sudo passwd -l tom type username and type password on login prompt and then it will display login failure message "login incorrect" console ############ login: tom password: login incorrect... (2 Replies)
Discussion started by: lifegeek
2 Replies

3. UNIX for Dummies Questions & Answers

login message

hi friends.....can anyone help me out.... i want to display a message whenever a user logs in...like goodmorning,goodafternoon etc depending on the time of login.can anyone suggest a shell script for this???? (2 Replies)
Discussion started by: nikhilneela
2 Replies

4. HP-UX

telnet banner message before login

why I didn't set /etc/inetd.conf telnet stream tcp nowait root /usr/lbin/telnetd \ telnetd -b /etc/issue only telnet stream tcp nowait root /usr/lbin/telnetd in /etc/ineted.conf but when I telnet my HPUX machine it shows those message HP-UX hp1008 B.11.31 U ia64 (tb) login: ... (1 Reply)
Discussion started by: alert0919
1 Replies

5. Solaris

error message rmclomv ... SC Login Failure for user Please login:

Hello World ~ HW : SUN Fire V240 OS : Solaris 8 Error message prompts 'rmclomv ... SC login failure ...' on terminal. and Error Message prompts continually 'SC Login Failure for user Please login:' on Single Mode(init S) The System is in normal operation, though In case of rain, Can... (1 Reply)
Discussion started by: lifegeek
1 Replies

6. Solaris

A DT Message error on login... other symptoms

First let me apologize for joining and posting... but this thing is killing me. I can usually solve these problems myself but I am reaching for help now. I have about 2 years Unix 8 experience but I am by no means an expert but not a newb either. A little background. My system runs a... (8 Replies)
Discussion started by: mpb218
8 Replies

7. AIX

Really strange unix message

We are getting this message on our AIX box. No one knows where its coming from. Where can I find any information on it? Warning: file system free space is less than 10 file system total size = -2621440 file system available space = 2485160 file system used space = -5106592 file system... (3 Replies)
Discussion started by: t01scra
3 Replies

8. Shell Programming and Scripting

How to change banner message for console login?

Hi All, Whenever I login to server via console, after providing username (root) it displays a banner message. I want to remove this message Serverabc : root Welcome to Server !!! Password: It is Centos 5.4 box. I have checked /etc/issue and /etc/motd. It does not... (8 Replies)
Discussion started by: kalpeer
8 Replies

9. Post Here to Contact Site Administrators and Moderators

Login message

My location is set to London. Why does the 2nd line of my welcome message say "You are somewhere around Glasgow."? (1 Reply)
Discussion started by: Robert W.Mills
1 Replies
face(1) 							   User Commands							   face(1)

NAME
face - executable for the Framed Access Command Environment Interface SYNOPSIS
face [-i init_file] [-c command_file] [-a alias_file] [filename...] DESCRIPTION
The Framed Access Command Environment Interface (FACE) presents your files and file folders on the screen through a system of menus and forms if you are properly set up as a FACE user. filename must follow the naming convention Menu.xxx for a menu, Form.xxx for a form, and Text.xxx for a text file, where xxx is any string that conforms to the UNIX system file naming conventions. The Form and Menu Language Interpreter (FMLI) descriptor lifetime will be ignored for all frames opened by argument to face. These frames have a lifetime of immortal by default. If filename is not specified on the command line, the FACE Menu will be opened along with those objects specified by the LOGINWIN environment variables. These variables are found in the user's .environ file. OPTIONS
The following options are supported: -a alias_file Alias file -c command_file Command file -i init_file Initial file OPERANDS
The following operand is supported: filename The full pathname of the file describing the object to be opened initially. EXIT STATUS
The face command will return a non-zero exit value if the user is not properly set up as a FACE user. FILES
$HOME/pref/.environ ATTRIBUTES
See attributes(5) for descriptions of the following attributes: +-----------------------------+-----------------------------+ | ATTRIBUTE TYPE | ATTRIBUTE VALUE | +-----------------------------+-----------------------------+ |Availability |SUNWfac | +-----------------------------+-----------------------------+ SEE ALSO
env(1), attributes(5) SunOS 5.10 5 Jul 1990 face(1)
All times are GMT -4. The time now is 03:12 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy