HPE GreenLake Administration
- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Disallow su to login
Operating System - HP-UX
1834512
Members
2346
Online
110068
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
02-10-2000 08:11 AM
02-10-2000 08:11 AM
Disallow su to login
We have an application that requires root privileges to run but prevents users
who login from gaining shell access. If a user su's to the login for this
application, they are granted full root privileges and are given access to the
shell.
Short or rewriting su, is there some way of preventing a login access through
su (outside of su -)?
who login from gaining shell access. If a user su's to the login for this
application, they are granted full root privileges and are given access to the
shell.
Short or rewriting su, is there some way of preventing a login access through
su (outside of su -)?
3 REPLIES 3
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-10-2000 04:17 PM
02-10-2000 04:17 PM
Re: Disallow su to login
One way is to make your system a trusted system. This disallows everybody
except root to su.
except root to su.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-11-2000 03:55 AM
02-11-2000 03:55 AM
Re: Disallow su to login
you might try using the /etc/group file.
you can create user groups and associated privileges.
check your system documentation for specifics.
associated files are /etc/group and /etc/logingroup
and the setprivgrp command.
you can create user groups and associated privileges.
check your system documentation for specifics.
associated files are /etc/group and /etc/logingroup
and the setprivgrp command.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-16-2000 03:04 PM
02-16-2000 03:04 PM
Re: Disallow su to login
hi,
run this command "lsacl /usr/bin/su" this will check which users has su
access. Should see similar to this
(root.%,r-x)(%.bin,r-x)(%.%,r-x) /usr/bin/su
on the 3rd parenthesis which (%.%,r-x) it allows all users to use su command.
You can define specific users to access su command. Please refer to man page
on using chacl
Regards
Joey
run this command "lsacl /usr/bin/su" this will check which users has su
access. Should see similar to this
(root.%,r-x)(%.bin,r-x)(%.%,r-x) /usr/bin/su
on the 3rd parenthesis which (%.%,r-x) it allows all users to use su command.
You can define specific users to access su command. Please refer to man page
on using chacl
Regards
Joey
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