HPE GreenLake Administration
- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: restricting users to cat a file
Operating System - HP-UX
1825747
Members
2878
Online
109687
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
04-14-2005 02:41 AM
04-14-2005 02:41 AM
restricting users to cat a file
Is there a way that i cat restrict a user to cat , more or vi a file by setting up in its .profile or by a shell script whn a user logs in .
I do not wish to change the permission of the file coz i have to give read permission in order to execute some binaries which takes input from this file ( text password file )
I do not wish to change the permission of the file coz i have to give read permission in order to execute some binaries which takes input from this file ( text password file )
3 REPLIES 3
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-14-2005 02:48 AM
04-14-2005 02:48 AM
Re: restricting users to cat a file
Go through the man pages of "setacl" command.
I think that is what u r looking for..
rgds
I think that is what u r looking for..
rgds
What we cannot speak about we must pass over in silence.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-14-2005 05:26 AM
04-14-2005 05:26 AM
Re: restricting users to cat a file
You might want to look into using 'rsh', restricted shell for the user. You can control which commands they can use. Do the users need command line access?
l8tr
l8tr
Time to smoke and joke
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-14-2005 05:52 AM
04-14-2005 05:52 AM
Re: restricting users to cat a file
Hi
Like what Rob mentioned here rsh might be a good idea to consider and you can use -l option there. There are a lot of web pages which has more details about rsh.
Rgds
HGN
Like what Rob mentioned here rsh might be a good idea to consider and you can use -l option there. There are a lot of web pages which has more details about rsh.
Rgds
HGN
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
Support
Events and news
Customer resources
© Copyright 2025 Hewlett Packard Enterprise Development LP