HP UX welcome screens


 
Thread Tools Search this Thread
Operating Systems HP-UX HP UX welcome screens
# 1  
Old 10-27-2009
HP UX welcome screens

How I can I remove the welcome screen for HPUX
ie
* *
* *
* Welcome to AIX Version 5.3! *
* *

but only for some users ?

Thanks
# 2  
Old 10-27-2009
Customize /etc/profile with a test if user then skip the MOTD (or issue part....)...
# 3  
Old 10-28-2009
Hi
Customise with what ? - I am not sure of the command to use
and how do I skip the MOTD ?
Thanks
# 4  
Old 10-28-2009
Edit /etc/profile with vi
Code:
# Since we dont know what you want to skip, here are what could possibly display 
# on output at login:
# midding /etc/issue, many people modify to put hostname with banner...
# extract of /etc/profile
   # This is to meet legal requirements...

        cat /etc/copyright

   # Message of the day

        if [ -r /etc/motd ]
        then
                cat /etc/motd
        fi

   # Notify if there is mail

        if [ -f /usr/bin/mail ]
        then
                if mail -e
                then    echo "You have mail."
                fi
        fi

   # Notify if there is news

        if [ -f /usr/bin/news ]
        then news -n
        fi

# -etc ....

# 5  
Old 10-28-2009
Thanks a million
Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. Solaris

Separate X screens on x86 Solaris 11.3

Good morning, I` am trying to make a separate X screens on x86 machine Dell XE2 Intel i5 2.5Ghz . Video : Xeon E3-1200 v3/4 Gen Core Processor Integrated Graphics processor Using Solaris 11.3 Release: kernel SunOS 5.11 Gnome 2.30.2 So right now I have tried to change... (4 Replies)
Discussion started by: defs
4 Replies

2. Shell Programming and Scripting

Getting started with windows and screens without desktop environment

Hi there, Hope the title is sufficiently self explaining. I have no idea how to start and where to start. I don't even know what keywords to google for. I need to build a machine : based on Debian without desktop environment with a quite powerful multi-monitor graphic card able to... (9 Replies)
Discussion started by: chebarbudo
9 Replies

3. SCO

Cannot Switch from GUI to Text Screens

A client's SCO UNIX OpenServer 5.0.7 MP 4 system: The X-Windows GUI comes up fine (on multi-screen 2) but I cannot switch to tty01 or tty03 or any other tty. The display just shows a blinking cursor. I went into scoadmin video and checked that the function keys were all assigned--they are. I've... (6 Replies)
Discussion started by: Transpower
6 Replies

4. Red Hat

How can I see all screens of a user?

Hi folks, I was running many commands using root and closed the session. I would like to see if there is a way to go back to the server and see those screens so I can remember what I did the next time I need to do that. Thanks a bunch! (3 Replies)
Discussion started by: 300zxmuro
3 Replies

5. What is on Your Mind?

3D screens in surgical industry

I just had this odd idea that may even have some future. The advent of 3D screens for the mass market might prove useful for the healthcare industry, while in surgical practices they rely on medical imagery more and more often. Perhaps the introduction of 3D screens will give the illusion of depth... (4 Replies)
Discussion started by: figaro
4 Replies

6. UNIX for Dummies Questions & Answers

Aligning Characters in Bash/Beautiful Screens

Howdy, Supposing I want to output the following code to the screen in a bash script, this works fine until you use variables as below, because the variable could be of any length, meaning the screen output for line 2 will have the ultimate # out of alignment. Is there a simple way round this?... (1 Reply)
Discussion started by: de_la_espada
1 Replies

7. UNIX for Advanced & Expert Users

GNU Screen: Send to Multiple Screens at Once?

There is a feature that I used in KDE's Konsole that I really miss when I'm on a non-GUI server. The ability to "broadcast" what I type to all open windows. That led me to wonder if this could be done with GNU screen (since it can do a whole lot of other cool stuff)? Basically, it would be... (3 Replies)
Discussion started by: deckard
3 Replies

8. UNIX for Dummies Questions & Answers

No screens found problem - and I cant use keybord properly to solve!!

Title explains it already. I need to solve the problem from log files. But backspace types ^H . I dont know how to delete character. How can I mend the keybord ? (1 Reply)
Discussion started by: olddays
1 Replies

9. UNIX for Dummies Questions & Answers

AIX Console screens

How do you switch screens in AIX? I know you can use ALT-F1, ALT-F3, etc. in SCO Unix. Help!!! (2 Replies)
Discussion started by: falstaff100
2 Replies

10. UNIX for Dummies Questions & Answers

How to switch between terminal screens in Sun Solaris 10

:) Hi everybody.. This is my firt post in this great forum.: I have installed Sun Solaris 10 on an Intel machine.. Now i login in CDE desktop as root. I want to switch between terminal screens pressing CTRL+ALT F1 (through F6) but nothing happens ?? any suggestions thank you (2 Replies)
Discussion started by: peterpan
2 Replies
Login or Register to Ask a Question