- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Having operators log directly into restricted SAM
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
03-14-2002 12:16 PM
03-14-2002 12:16 PM
Having operators log directly into restricted SAM
Thanks!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-14-2002 12:19 PM
03-14-2002 12:19 PM
Re: Having operators log directly into restricted SAM
and make sure you supply ONLY what you want them to do in the restricted SAM
HTH
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-14-2002 12:24 PM
03-14-2002 12:24 PM
Re: Having operators log directly into restricted SAM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-14-2002 01:01 PM
03-14-2002 01:01 PM
Re: Having operators log directly into restricted SAM
Inside the script, determine the IP from where they are connecting from using 'who -a' and use awk to get the seventh field. Then add the '0:0' to result and then declare that your $DISPLAY.
Good Luck!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-14-2002 01:05 PM
03-14-2002 01:05 PM
Re: Having operators log directly into restricted SAM
Thanks, but I already do have a acript like that in place and again I think the problem is with my terminal software the operators use to login. Refrections X. Within Digital its fine, but any gui it cant interpet. Even with the echo DISPLAY back. Still stuck. :(
Thanks
Eric
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-14-2002 03:12 PM
03-14-2002 03:12 PM
Re: Having operators log directly into restricted SAM
Maybe you want to work with PPID of the users shell ? I tried to monitor user commands by "script", and checked the PPID. When you say "exit", just the script process dies, but by terminating the PPID, the user will be kicked off immediately. Damn, i cannot get the script right now, but i'll be back!
Hope this helps a bit
RGDS, Holger
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-15-2002 02:39 AM
03-15-2002 02:39 AM
Re: Having operators log directly into restricted SAM
For the user's profile: change ownership: root:sys, the perms 444 are OK. In the profile add: /<script_you_want_to_be_executed>
In the script: The last line should be "kill -9 $PPID. I also ran into problems by using the graphical stuff, but i hope this helps a bit.
RGDS, Holger
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-15-2002 02:52 AM
03-15-2002 02:52 AM
Re: Having operators log directly into restricted SAM
you can simply use the normal login shell for your users, and take care that they have a file:
.shrc or .kshrc or .cshrc (depending on the used shell)
you have to edit this file:
put these two lines at the end of file:
/usr/bin/sam
exit
So if they stop their sam, they will be automatically kicked of after. I like these two lines!
Allways stay on the bright side of life!
Peter
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-15-2002 12:48 PM
03-15-2002 12:48 PM