LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Other *NIX Forums > Solaris / OpenSolaris
User Name
Password
Solaris / OpenSolaris This forum is for the discussion of Solaris and OpenSolaris.
General Sun, SunOS and Sparc related questions also go here.

Notices

Reply
 
Search this Thread
Old 09-19-2013, 02:28 AM   #1
manalisharmabe
Member
 
Registered: Dec 2010
Posts: 238

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

Code:
-bash-3.00$ /usr/local/bin/sudo su - sysmgr
Password:
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
-/etc/motd
-/etc/issue/
/etc/.login

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.

Thanks.
 
Old 09-19-2013, 03:19 AM   #2
jlliagre
Moderator
 
Registered: Feb 2004
Location: Outside Paris
Distribution: Solaris10, Solaris 11, Mint, OL
Posts: 9,481

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

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

Original Poster
Rep: Reputation: 1
Smile

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

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

The file is /etc/zshrc


Solved. Hurray!!
 
  


Reply


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


All times are GMT -5. The time now is 11:08 PM.

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