- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Giving login parameters to XClients
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
05-28-2006 09:01 PM
05-28-2006 09:01 PM
Giving login parameters to XClients
I am using Hummingbird 11.
I want to pass some commands to XClients during login, like changing to a default directory,etc.
How can this be done.
Thanks
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-28-2006 09:23 PM
05-28-2006 09:23 PM
Re: Giving login parameters to XClients
vi .dtprofile (in user home directory)
uncomment the last line
DTSOURCEPROFILE=true
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-28-2006 09:24 PM
05-28-2006 09:24 PM
Re: Giving login parameters to XClients
Look at .dtprofile in users home directory.
Regds
TT
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-28-2006 09:33 PM
05-28-2006 09:33 PM
Re: Giving login parameters to XClients
So all others will also get affected.
I want that to be applicable to myself only.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-28-2006 09:48 PM
05-28-2006 09:48 PM
Re: Giving login parameters to XClients
The file .dtprofile is located in your home directory, so it will only pass the info when you login to your x environment.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-28-2006 09:52 PM
05-28-2006 09:52 PM
Re: Giving login parameters to XClients
I don' t know Hummingbird but can you modify your connection string?
Example:
/usr/bin/X11/hpterm -e command [- other setting] ....
Where command should be a script.
Enrico
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-28-2006 10:23 PM
05-28-2006 10:23 PM
Re: Giving login parameters to XClients
And many people login via this id.
Now if i change the .dtprofile in the home directory of xyz, then everybody using that id will get effected.
Am i right?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-28-2006 10:24 PM
05-28-2006 10:24 PM
Re: Giving login parameters to XClients
Can you give an example of your process.
Thanks
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-29-2006 12:21 AM
05-29-2006 12:21 AM
Re: Giving login parameters to XClients
sorry I tested it but it wasn' t a good solution because the -e option run the command and exit from the shell.
Enrico
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-29-2006 01:35 AM
05-29-2006 01:35 AM
Re: Giving login parameters to XClients
If therre is no possible choice about shared logins, then create a shell script with the changes and name it with your initials. Put it in a local directory such as $HOME/scripts and then add ~/scripts to your login PATH in .dtprofile so you just type xyz after login. Otherwise, just type ./scripts/xyz to get all your personal setup chanhes.
Bill Hassell, sysadmin