11-15-2004
Have a look at /etc/motd.
If it's happening after /etc/motd is displayed it could be an "echo" within one of your shell initialisation files.
If it's not within /etc/motd, post which shell you're using.
Cheers
ZB
9 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
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"
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
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
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
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
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
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
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
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
WORDEXP(3) BSD Library Functions Manual WORDEXP(3)
NAME
wordexp -- perform shell-style word expansions
SYNOPSIS
#include <wordexp.h>
int
wordexp(const char *restrict words, wordexp_t *restrict pwordexp, int flags);
void
wordfree(wordexp_t *pwordexp);
DESCRIPTION
The wordexp() function performs shell-style word expansion on words. It places the list of words into the we_wordv member of pwordexp and
the number of words into we_wordc.
The flags argument (see BUGS) is the bitwise inclusive OR of any of the following constants:
WRDE_APPEND Append the words to those generated by a previous call to wordexp().
WRDE_DOOFS As many NULL pointers as are specified by the we_offs member of pwordexp are added to the front of we_wordv.
WRDE_NOCMD Disallow command substitution in words. See the note in BUGS before using this.
WRDE_REUSE The pwordexp argument was passed to a previous successful call to wordexp() but has not been passed to wordfree(). The imple-
mentation may reuse the space allocated to it.
WRDE_SHOWERR Do not redirect shell error messages to /dev/null.
WRDE_UNDEF Report error on an attempt to expand an undefined shell variable.
The wordexp_t structure is defined in <wordexp.h> as:
typedef struct {
size_t we_wordc; /* count of words matched */
char **we_wordv; /* pointer to list of words */
size_t we_offs; /* slots to reserve in we_wordv */
} wordexp_t;
The wordfree() function frees the memory allocated by wordexp().
RETURN VALUES
The wordexp() function returns zero if successful, otherwise it returns one of the following error codes:
WRDE_BADCHAR The words argument contains one of the following unquoted characters: <newline>, '|', '&', ';', '<', '>', '(', ')', '{', '}'.
WRDE_BADVAL An attempt was made to expand an undefined shell variable and WRDE_UNDEF is set in flags.
WRDE_CMDSUB An attempt was made to use command substitution and WRDE_NOCMD is set in flags.
WRDE_NOSPACE Not enough memory to store the result.
WRDE_SYNTAX Shell syntax error in words.
The wordfree() function returns no value.
EXAMPLES
Invoke the editor on all .c files in the current directory and /etc/motd (error checking omitted):
wordexp_t pwordexp;
wordexp("${EDITOR:-vi} *.c /etc/motd", &pwordexp, 0);
execvp(pwordexp->we_wordv[0], pwordexp->we_wordv);
SEE ALSO
sh(1), fnmatch(3), glob(3), popen(3), system(3)
BUGS
This version of wordexp() ignores the value of the flags argument.
COPYRIGHT
Copyright 1995-2002 University Corporation for Atmospheric Research/Unidata
Portions of this software were developed by the Unidata Program at the University Corporation for Atmospheric Research.
BSD
December 27, 2002 BSD