Visit Jeremy's Blog.
Go Back > Forums > Other *NIX Forums > Solaris / OpenSolaris
User Name
Solaris / OpenSolaris This forum is for the discussion of Solaris, OpenSolaris, OpenIndiana, and illumos.
General Sun, SunOS and Sparc related questions also go here. Any Solaris fork or distribution is welcome.


  Search this Thread
Old 09-19-2013, 02:28 AM   #1
Registered: Dec 2010
Posts: 242

Rep: Reputation: 1
Not able to change "su - " banner messase.

Hi Guys,
I am not able to change banner message which appears using su -
OS is Solaris 10

-bash-3.00$ /usr/local/bin/sudo su - sysmgr
ABCD, Data Center (Production Server)
SunOS 5.10 sun4u sparc SUNW,Sun-Fire-V210.

sysmgr@server1 ~>>
I have searched a lot on google.
Even checked

The only file which has this ABCD entry is /etc/.login

but even after commenting ABCD line, it does not make any changes to banner, I even ran sync but no chnages.

The query has been raised that users using zsh shell facing this issue.

Any suggestion on this.
I have tried many things but no success.

Please guide.

Old 09-19-2013, 03:19 AM   #2
Registered: Feb 2004
Location: Outside Paris
Distribution: Solaris 11.3, Oracle Linux, Mint
Posts: 9,707

Rep: Reputation: 416Reputation: 416Reputation: 416Reputation: 416Reputation: 416
Originally Posted by manalisharmabe View Post
I have searched a lot on google.
What about searching your files ?

find / -type f -exec grep -l "Data Center (Production Server)" {} +
1 members found this post helpful.
Old 09-19-2013, 06:38 AM   #3
Registered: Dec 2010
Posts: 242

Original Poster
Rep: Reputation: 1

Originally Posted by jlliagre View Post
What about searching your files ?

find / -type f -exec grep -l "Data Center (Production Server)" {} +
!!!!!!!!!!!!!THANKS A LOT jlliagre!!!!!!!!!!AGAIN!

The file is /etc/zshrc

Solved. Hurray!!


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
How to change " setenv IDLUTILS_DIR ~/idl/idlutils" to "export"?? msbstar Linux - Newbie 3 02-05-2011 04:23 AM
Fedora Core 2: Screen Resolution can not change from "800X600" to "1024X 768" suhaimi_sj Fedora - Installation 18 12-17-2009 03:29 AM
FC-8. How do I turn off the "xxx updates available" banner? wantabee Fedora 4 06-04-2008 10:26 PM
Static "System Banner" Window ejlinux Linux - Desktop 0 11-17-2006 04:02 PM
Can you change the "title" under your name that says "member" or "newbie&qu Whitehat LQ Suggestions & Feedback 3 11-19-2003 06:32 PM > Forums > Other *NIX Forums > Solaris / OpenSolaris

All times are GMT -5. The time now is 02:54 PM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration