HPE GreenLake Administration
- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: Bypass dtlogin/dtgreet; start user desktop app...
Operating System - HP-UX
1834625
Members
2821
Online
110069
Solutions
Forums
Categories
Company
Local Language
back
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
back
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
Blogs
Information
Community
Resources
Community Language
Language
Forums
Blogs
Go to solution
Topic Options
- 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
11-04-2002 06:23 AM
11-04-2002 06:23 AM
I've a application that runs from a highly
customized cde desktop. What the developers
want now is to start this desktop and main
application when the work station is
booted. That is the user will not have to login.
Can this be done and how?
customized cde desktop. What the developers
want now is to start this desktop and main
application when the work station is
booted. That is the user will not have to login.
Can this be done and how?
Solved! Go to Solution.
2 REPLIES 2
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-04-2002 06:34 AM
11-04-2002 06:34 AM
Solution
see your /usr/dt/config/Xaccess file it provides a means for selected X terminals to
bypass the usual dtgreet screen and automatically login as a specified user without requesting a password.
To enable this behavior, after the name of the display host you must specify the
string "BYPASS_LOGIN" followed by the name of the user under
which to log in.
eg:
# The terminals listed below will be logged in as the user
# specified without a dtgreet screen and with no password required.
hpwina24 BYPASS_LOGIN xtadm # terminal "hpwina24" logs
# in as user "xtadm"
Be aware use of this feature can compromise the security of your system. Is not supported or documented for CDE but may work ... it's a left over from VUE and I beleive gnome may offer similar functionality ...
bypass the usual dtgreet screen and automatically login as a specified user without requesting a password.
To enable this behavior, after the name of the display host you must specify the
string "BYPASS_LOGIN" followed by the name of the user under
which to log in.
eg:
# The terminals listed below will be logged in as the user
# specified without a dtgreet screen and with no password required.
hpwina24 BYPASS_LOGIN xtadm # terminal "hpwina24" logs
# in as user "xtadm"
Be aware use of this feature can compromise the security of your system. Is not supported or documented for CDE but may work ... it's a left over from VUE and I beleive gnome may offer similar functionality ...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-04-2002 07:04 AM
11-04-2002 07:04 AM
Re: Bypass dtlogin/dtgreet; start user desktop app on boot.
Some additional points
- there is a bug in dtsession when using the BYPASS feature: the group ID is *always* set to root :(
The solution is simple, and though I have told HP about two years ago, they said not to implement it, because they claim this feature to be depricated. I disagree, because it still works, but opens a security hole the size of the crater of the Etna.
# cd /usr/dt/bin
# cat dtsession-wrap.c
#include
int main (argc, argv)
int argc;
char *argv[];
{
setgid ((getpwuid (getuid ()))->pw_gid);
return (execv ("/usr/dt/bin/dtsession.exe", argv));
} /* main */
# mv dtsession dtsessio.exe
# cc -s -o dtsession dtsession-wrap.c
# chown root dtsession
# chmod 4511 dtsession
To remove those annoying blue hello/greet screens, just comment out or remove these lines in Xsession:
552d536
< StartFirst xdmstart_hello # start xdm hello client
555,559d538
< if [ -n "$INFO_PATH" ]; then
< StartFirst dtstart_hello_info # start desktop hello client
< else
< StartFirst dtstart_hello # start desktop hello client
< fi
- there is a bug in dtsession when using the BYPASS feature: the group ID is *always* set to root :(
The solution is simple, and though I have told HP about two years ago, they said not to implement it, because they claim this feature to be depricated. I disagree, because it still works, but opens a security hole the size of the crater of the Etna.
# cd /usr/dt/bin
# cat dtsession-wrap.c
#include
int main (argc, argv)
int argc;
char *argv[];
{
setgid ((getpwuid (getuid ()))->pw_gid);
return (execv ("/usr/dt/bin/dtsession.exe", argv));
} /* main */
# mv dtsession dtsessio.exe
# cc -s -o dtsession dtsession-wrap.c
# chown root dtsession
# chmod 4511 dtsession
To remove those annoying blue hello/greet screens, just comment out or remove these lines in Xsession:
552d536
< StartFirst xdmstart_hello # start xdm hello client
555,559d538
< if [ -n "$INFO_PATH" ]; then
< StartFirst dtstart_hello_info # start desktop hello client
< else
< StartFirst dtstart_hello # start desktop hello client
< fi
Enjoy, Have FUN! H.Merijn
The opinions expressed above are the personal opinions of the authors, not of Hewlett Packard Enterprise. By using this site, you accept the Terms of Use and Rules of Participation.
Company
Events and news
Customer resources
© Copyright 2025 Hewlett Packard Enterprise Development LP