HPE GreenLake Administration
- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- CDE screen saver password with sudo root users
Operating System - HP-UX
1837905
Members
2904
Online
110124
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
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
06-28-2000 09:12 AM
06-28-2000 09:12 AM
CDE screen saver password with sudo root users
We have several SA's in our shop that have been configured on a variety of machines with sudo root access. This allows everyone to have a profile they like, etc. The problem comes in when any of these SA's logon via CDE. They can login just fine with their sudo access, but if the screen saver activates, they need the actual root password to get back in. Part of the idea here is to be able to lockout a particular individual should the need arise without having to immediately change the root password all over the place (there are many trusts setup for root between machines). Is there a way to effectively deal with this CDE screen saver behavior? Disabling the screen saver is not an acceptable alternative either where we have all kinds of people floating around here that we don't ever want to have full root access (particularly operators).
2 REPLIES 2
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-28-2000 09:51 AM
06-28-2000 09:51 AM
Re: CDE screen saver password with sudo root users
Have the SAs do the 'sudo su -' as opposed to login as sudo root.
When the screen locks via the screensaver, the non-root passwd will unlock it.
When the screen locks via the screensaver, the non-root passwd will unlock it.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-29-2000 01:34 AM
06-29-2000 01:34 AM
Re: CDE screen saver password with sudo root users
I'm unaware of how to achieve what your after under CDE so I'd go with Ricks answer :
However to actively encourage your users to do this the following info maybe handy ?
Both dtlogin and vuelogin do not refer to the /etc/securetty file
after checking the login information against the /etc/passwd file.
To keep root from using the workstation graphics console or xterminal
when vuelogin or dtlogin are running, add the following lines to the
end of either /usr/vue/config/Xstartup (in HP-UX 10.X this would be
/etc/vue/config/Xstartup) or /etc/dt/config/Xstartup (copy over from
/usr/dt/config if the file does not exist in /etc/dt/config) for CDE:
if [ $USER = root ] ; then
exit 1
fi
This will terminate the login process if the user is logging in as
root.
NB if a user logs in the root password will still be able to unclock the screen-lock.
Hope this helps ?
However to actively encourage your users to do this the following info maybe handy ?
Both dtlogin and vuelogin do not refer to the /etc/securetty file
after checking the login information against the /etc/passwd file.
To keep root from using the workstation graphics console or xterminal
when vuelogin or dtlogin are running, add the following lines to the
end of either /usr/vue/config/Xstartup (in HP-UX 10.X this would be
/etc/vue/config/Xstartup) or /etc/dt/config/Xstartup (copy over from
/usr/dt/config if the file does not exist in /etc/dt/config) for CDE:
if [ $USER = root ] ; then
exit 1
fi
This will terminate the login process if the user is logging in as
root.
NB if a user logs in the root password will still be able to unclock the screen-lock.
Hope this helps ?
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