- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- How to restrict the su access.
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
01-30-2003 05:09 AM
01-30-2003 05:09 AM
How to restrict the su access.
I have a problem here like. I am using NIS domain. User machines and test lab configure under in this domain. All the users home dirs are exported with exportfs command
so that he/she can able to mount his/her home dir anywhere. In this situation
i login to a test machine as root, then put
1) cd ~mike ==> entering the mike home dir.
2) su mike ==> now i am mike and i can able to do delete,create file in mike home dir but i am not the particular user. In this case how can i restrict the su access or how can i moniter the su access apart from su access caz sulog also can be delete.
Can anybody help me in this reagrds.
Thanks in Advance
Prasath C
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-30-2003 05:23 AM
01-30-2003 05:23 AM
Re: How to restrict the su access.
See manlogin
text is wrong
If the /etc/securetty file is present, login security is in effect.
Only user root is allowed to log in successfully on the ttys listed in
this file. Restricted ttys are listed by device name, one per line.
Valid tty names are dependent on installation. An example is
console
tty01
ttya1
etc.
Note that this feature does not inhibit a normal user from using the
su command (see su(1)).
Really user root is only allowed to login to the ttys listed.
make with console and root can only login to the console.
Steve Steel
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-30-2003 11:50 AM
01-30-2003 11:50 AM
Re: How to restrict the su access.
NEVER use su without the - option! su mike presents an unstable environment, leftover from the previous user, whereasa su - mike performs a complete login profile.
Also, sulog cannot be deleted unless the directory permissions on /var and /adm are bad which means you already have a security problem.
su access is easy to control. DON'T give out passwords and change them instantly when a problem is discovered.
Bill Hassell, sysadmin
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-30-2003 02:26 PM
01-30-2003 02:26 PM
Re: How to restrict the su access.
You can also restrict `su - root` to a single group defined in /etc/group (eg adm). Add this line to /etc/default/security:
SU_ROOT_GROUP=groupname
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-30-2003 03:31 PM
01-30-2003 03:31 PM
Re: How to restrict the su access.
why not get rid of "su" completely and use "sudo"?
FWIW,
Wodisch