Operating System - HP-UX
1833873 Members
3589 Online
110063 Solutions
New Discussion

Disable CDE login and have CDE start as username

 
Mike_316
Frequent Advisor

Disable CDE login and have CDE start as username

Hey Folks,

Anyone know how to configure CDE to bypass the username/password login screen, and just startup the DT as a specified user (always the same user)? (I know it sounds too much like Windows...but I appreciet the help :-D )

Thanks!
"If we treated each person we met as if they were carrying an unspeakable burden, we might treat each other as we should" - Dale Carnegie
5 REPLIES 5
Fred.Wu
Frequent Advisor

Re: Disable CDE login and have CDE start as username

Actually, I don't think such a function can be achieved in a UNIX system.
fred
KapilRaj
Honored Contributor

Re: Disable CDE login and have CDE start as username

not aware . I am sure no unix product would promote it.

Kaps
Nothing is impossible
Alex Glennie
Honored Contributor

Re: Disable CDE login and have CDE start as username

I don't think this is possible with CDE BUT Gnome 1.4 is available for hpux and allows via gdmconfig to automatically log a named user into the desktop after x seconds .....
Mike_316
Frequent Advisor

Re: Disable CDE login and have CDE start as username

Thanks for the input. I am sure this is possible with openwindows, but not sure for CDE. I am going to try removing the dtlogin from the RCs, and calling xinit manually (the method used for openwin) but I am not sure if it will work for CDE.

Has anyone tried this?

Thanks!
Mike
"If we treated each person we met as if they were carrying an unspeakable burden, we might treat each other as we should" - Dale Carnegie
Rick Beldin
HPE Pro

Re: Disable CDE login and have CDE start as username

It is possible. The feature is called BYPASS_LOGIN. It is not well documented, but is supported, and I believe their is an enhancement request in place to add documentation to document it.

The feature was available under VUE in this way and is implemented in the same manner. The Xaccess file is in /etc/dt/config. If you don't have one there, copy the template from /usr/dt/config.

There are some issues involving the gid of the user that is automatically logged in.

AUTOMATIC LOGIN OPTION
The Xaccess file also provides a means for selected X terminals to
bypass the usual greet 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.

For example:

# The terminals listed below will be logged in as the user
# specified without a greet screen and with no password required.

shop1 BYPASS_LOGIN jones # terminal "shop1" logs
# in as user "jones"

Be aware use of this feature can compromise the security of your
system.
Necessary questions: Why? What? How? When?