- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Restricting acces to users
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
08-15-2000 06:25 AM
08-15-2000 06:25 AM
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-15-2000 06:34 AM
08-15-2000 06:34 AM
Re: Restricting acces to users
At the end of the profile place "exec your_script_name".
Upon exiting "your_script_name" the user will be logged-off.
...JRF...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-15-2000 06:36 AM
08-15-2000 06:36 AM
Re: Restricting acces to users
If that is not suitable, try exec'ing sqlplus in their .profile. This will ensure that they don't have a shell to return to.
E.g. at end of .profile:-
set up environment...
exec sqlplus
Regards,
John
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-15-2000 06:41 AM
08-15-2000 06:41 AM
Re: Restricting acces to users
exec {application_here}
When they exit the application, they will be logged out automatically.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-15-2000 06:41 AM
08-15-2000 06:41 AM
Solutiondoing an exec at the end of your .profile is a good idea but if a user logs in and keeps pressing CTRL-C before the .profile runs the exec then they will drop out to a shell.
Insert this into the .profile as the first line;
trap "echo error; exit 1" 1 2 3 4 5 6
that way if a user hits CTRL-C before the exec is run they will be logged out after seeing the word error displayed
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-15-2000 06:51 AM
08-15-2000 06:51 AM
Re: Restricting acces to users
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-15-2000 06:51 AM
08-15-2000 06:51 AM
Re: Restricting acces to users
If you can't assign points, contact the ITRC with the problem. Thanks!!!