LinuxQuestions.org
Review your favorite Linux distribution.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 12-20-2011, 07:40 AM   #1
tusharsharma43
LQ Newbie
 
Registered: Jan 2010
Location: Vadodara, Gujarat
Distribution: Fedora, OpenSuse, Ubuntu, Mint and Debian
Posts: 22

Rep: Reputation: 0
Display Message When changing user in terminal


i have one question/doubt

can i display some user friendly message when user changes in terminal
i.e when changing using su or su- or su - temp

I want that when user changes or normal to root user using su-, to display
some message user friendly message. That don't change this or that
something like that.


Thanks
Tushar
 
Old 12-20-2011, 07:45 AM   #2
tusharsharma43
LQ Newbie
 
Registered: Jan 2010
Location: Vadodara, Gujarat
Distribution: Fedora, OpenSuse, Ubuntu, Mint and Debian
Posts: 22

Original Poster
Rep: Reputation: 0
i have done it using /etc/motd file and
write about that file in .bashrc of particular
user. I found hint from linuxquestions.org only.
Thanks everyone.


Thanks
Tushar
 
  


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
[SOLVED] KMail's message list - how to change message list display? rustiguzzi Linux - Newbie 1 07-21-2009 03:23 PM
User friendly message to user on password changing tanveer Linux - General 2 02-24-2009 08:56 AM
terminal message Tunene Linux - Newbie 1 11-01-2007 05:40 PM
Display welcome message when user logs in thunder44 Linux - General 3 10-16-2007 08:33 AM
Welcome message on terminal MattJUK Linux - Newbie 9 09-06-2007 12:25 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

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

Main Menu
Advertisement
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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration