08-23-2010
I suggest you look into /etc/DIR_COLORS , DIR_COLORS.256colo and DIR_COLORS.lightbgcolor
Regards,
_val_
10 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
Does anyone know how to put a banner (like /etc/issue) for ftp, both wu-ftp and the Sun ftp that ships with Solaris 8?
Thanks (1 Reply)
Discussion started by: 98_1LE
1 Replies
2. UNIX for Advanced & Expert Users
I need to put a telnet banner on AIX 4.3 and 5.1 servers, so the users can see a warning message before logging into the system. I know /etc/motd will give the message after the login. Basically what I am asking is how do I tell system to read the /etc/issue file on AIX?.
Thank you, in advance... (4 Replies)
Discussion started by: smohd
4 Replies
3. UNIX for Dummies Questions & Answers
Hey all,
I want to use the banner/echo command to write messages on different console windows.
I knew that before, but I completely forget how to do it ! I just remenber that /dev/pts/# is the number of the window. and it's useful.
It would be great if someone knows how to solve my... (4 Replies)
Discussion started by: maxwell17
4 Replies
4. UNIX for Dummies Questions & Answers
How can I display a message to the crt whenever someone logs on? They do not see a unix prompt. I need to easily update this also. (2 Replies)
Discussion started by: Beetlejuice
2 Replies
5. UNIX for Dummies Questions & Answers
Hi,
Anyone know the command which identifies how long a user has before their password expires?
I also need to know how I would write and expr to calculate the difference between 2 dates.
e.g. 28/03/05 - 18/03/05 = 10
I was told there is a date function which shows you no of days since... (1 Reply)
Discussion started by: sureshy
1 Replies
6. Linux
is there a similiar function to the solaris banner function in linux? (1 Reply)
Discussion started by: BG_JrAdmin
1 Replies
7. Linux
Hi,
I have added in banner in both /etc/banner and /etc/issue.net one by one in Linux but the banner is not displaying while user type username and enter
I have restarted the ssh service also
Any idea why? (3 Replies)
Discussion started by: manoj.solaris
3 Replies
8. UNIX for Dummies Questions & Answers
is there a way to reduce the size of the banner?
banner -w ?
TIA (8 Replies)
Discussion started by: budz26
8 Replies
9. Red Hat
Hi Guys,
I am using RHEL 5 and I want to construct the script to warn me when the user passwords are about to expire.
Lets say 6 days before the expire date I should get a warning.
I do see these message when I logging to my server:
Password:
Warning: your password will expire in 6... (2 Replies)
Discussion started by: Phuti
2 Replies
10. Forum Support Area for Unregistered Users & Account Problems
I was unable to login and so used the "Forgotten Password' process. I was sent a NEWLY-PROVIDED password and a link through which my password could be changed. The NEWLY-PROVIDED password allowed me to login.
Following the provided link I attempted to update my password to one of my own... (1 Reply)
Discussion started by: Rich Marton
1 Replies
LEARN ABOUT CENTOS
libssh2_banner_set
libssh2_banner_set(3) libssh2 manual libssh2_banner_set(3)
NAME
libssh2_banner_set - set the SSH prococol banner for the local client
SYNOPSIS
#include <libssh2.h>
int libssh2_banner_set(LIBSSH2_SESSION *session, const char *banner);
DESCRIPTION
This function is DEPRECATED. Use libssh2_session_banner_set(3) instead!
session - Session instance as returned by libssh2_session_init_ex(3)
banner - A pointer to a user defined banner
Set the banner that will be sent to the remote host when the SSH session is started with libssh2_session_handshake(3)
This is optional; a banner corresponding to the protocol and libssh2 version will be sent by default.
RETURN VALUE
Return 0 on success or negative on failure. It returns LIBSSH2_ERROR_EAGAIN when it would otherwise block. While LIBSSH2_ERROR_EAGAIN is a
negative number, it isn't really a failure per se.
AVAILABILITY
Marked as deprecated since 1.4.0
ERRORS
LIBSSH2_ERROR_ALLOC - An internal memory allocation call failed.
SEE ALSO
libssh2_session_handshake(3)
libssh2 0.15 1 Jun 2007 libssh2_banner_set(3)