- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Login Menu
Categories
Company
Local Language
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Forums
Discussions
Discussions
Discussions
Forums
Discussions
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Community
Resources
Forums
Blogs
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-02-2002 08:50 AM
07-02-2002 08:50 AM
Login Menu
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-02-2002 08:53 AM
07-02-2002 08:53 AM
Re: Login Menu
1) You can set their default shell in /etc/passwd so that it points to the menu script and then the menu invokes applications or a shell as needed.
2) You can have the menu script execute as the last in the users .profile file.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-02-2002 08:56 AM
07-02-2002 08:56 AM
Re: Login Menu
There are two easy ways:
Choice-1 is to place the name of the menu script at the end of the user's profile, as:
# exec $HOME/usermenu.sh
Choice-2 is to substitute the menuscript for the normal shell as specified in '/etc/passwd'. That is, instead of the login shell (field-7), substitute the absolute path to the user's menu script:
# /home/theuse/usermenu.sh
Regards!
...JRF...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-02-2002 09:08 AM
07-02-2002 09:08 AM
Re: Login Menu
Put the menu script in /etc/passwd file intead of the user shell OR put the entry at the end in the .pfofile file of the user.
Piyush
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-02-2002 04:06 PM
07-02-2002 04:06 PM
Re: Login Menu
We did something similar for a user id we wished to have access to only select items.
The call of the menu was placed in their .kshrc file as well as a source in of a file containing the necessary environment variables they would need.
Most important was the exit that would occur if the user exits the menu.
Below are the excerpts -
# environment variables needed.
./opt/apps/jobprod/config/jdaprod.env
# call the menu. ./opt/apps/jobprod/interface/jdaodbms/menu_name_script
# exit if they leave the menu.
exit
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-03-2002 12:30 AM
07-03-2002 12:30 AM
Re: Login Menu
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-03-2002 01:37 AM
07-03-2002 01:37 AM