- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: SAM restricted shell - strange behaviour...
Categories
Company
Local Language
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- This widget could not be displayed.This widget could not be displayed.This widget could not be displayed.This widget could not be displayed.This widget could not be displayed.This widget could not be displayed.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-04-2004 09:45 PM
04-04-2004 09:45 PM
got a strange problem using sam on an HP-box using 11.i...
I restricted sam gui for users using sam -r (logged in as root), then specifying the allowed actions. So far, so good.
Testing the restricted gui as root using sam -f
The other thing that is really weird is, that with some users it runs properly, with some others not.
The newest patches for 11.i have been installed.
Did anyone experience similar probs or does anyone have a clue what to check?
Best regards,
AndrÃ
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-04-2004 09:50 PM
04-04-2004 09:50 PM
Re: SAM restricted shell - strange behaviour...
As root : -
#which sam
su - user01
which sam
Regds,
Kaps
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-05-2004 12:14 AM
04-05-2004 12:14 AM
Re: SAM restricted shell - strange behaviour...
Thanks in advance,
Andre
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-05-2004 12:21 AM
04-05-2004 12:21 AM
Re: SAM restricted shell - strange behaviour...
Login as user. What it says--type sam.
which sam.
Anil
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-05-2004 12:49 AM
04-05-2004 12:49 AM
Re: SAM restricted shell - strange behaviour...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-05-2004 03:25 AM
04-05-2004 03:25 AM
Re: SAM restricted shell - strange behaviour...
Simon
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-05-2004 09:14 PM
04-05-2004 09:14 PM
Re: SAM restricted shell - strange behaviour...
I will check profiles of the users today. Maybe I find a clue.
Thanks,
AndrÃ
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-06-2004 09:25 PM
04-06-2004 09:25 PM
Re: SAM restricted shell - strange behaviour...
Checked .profile of each user for typos and stuff, but nothing unusual. Checked also for aliases again, but nothing special.
Even tested various combinations with the .cf-files in /etc/sam/custom but still the same. So that is not the problem.
Double-checked that filesets of SAM are all configured.
The problem with the illegal option only exists with one user, so maybe there is something hidden in his profile. But were to look?
Is there any way to trace the files which are read during the login process (which vars are set and so on)? I think this is the only way to get out of SAM-hell...
Best regards,
Andre
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-06-2004 09:35 PM
04-06-2004 09:35 PM
Solution- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-06-2004 10:30 PM
04-06-2004 10:30 PM
Re: SAM restricted shell - strange behaviour...
thanks a lot. At startup of SAM I saw that there is a "set -o vi".
I found out that in .shrc of the user there is a line "set -o vi". I removed that line and SAM worked. Creating a .kshrc in the profile with this line worked as well. So my problem is solved at last!
Good job!