- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: starting application when I login
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
03-15-2006 10:54 PM
03-15-2006 10:54 PM
starting application when I login
Is there a way I can make the system run a certain application i wrote when i log in?
Best regards
Henry
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-15-2006 11:01 PM
03-15-2006 11:01 PM
Re: starting application when I login
You can put that in your profile.
Say if you using bash shell then put that in
IF usign ksh then .profile file.
If you want all of the users to start the application when they login then you can set it in system wide profile i.e. /etc/profile
Hope that helps.
Regards,
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-15-2006 11:03 PM
03-15-2006 11:03 PM
Re: starting application when I login
which way to login? Do you want to launch your application on login by all services?
I am thinking about $HOME/.profile and insert the start line of your application at the end of the file. But keep in mind that means every times you login with that user then the application starts.
Just a thought...
HTH.
Best regards,
Fabio
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-15-2006 11:15 PM
03-15-2006 11:15 PM
Re: starting application when I login
In addition to having your application coded in the $HOME/.profile so that it runs everytime you login, you can setup accounts (users) where the last field of their '/etc/passwd' entry contains the full path of your application instead of a shell.
This is often done when you want a menu-based script to run in lieu of giving the user a shell in which to work.
Regards!
...JRF...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-15-2006 11:19 PM
03-15-2006 11:19 PM
Re: starting application when I login
James solution has the added benefit of leaving the user without a shell, if they do manage to escape from your application.
Without shell the user will not be able to do anything.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-16-2006 12:26 AM
03-16-2006 12:26 AM
Re: starting application when I login
That will be the best idea.
Chan
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-16-2006 12:30 AM
03-16-2006 12:30 AM
Re: starting application when I login
For a particular, you need to put in $HOME/.profile
and System wide,
/etc/profile.
You can just add a command to run the application.
-Arun
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-16-2006 02:31 AM
03-16-2006 02:31 AM
Re: starting application when I login
# exec your_app
If you use exec, when user quit from application, can not return to shell.
Schimidt