Operating System - HP-UX
1848049 Members
4160 Online
104022 Solutions
New Discussion

Restricted SAM/SMH - rsam permissions problem

 
SOLVED
Go to solution
Mike Schallmo
Advisor

Restricted SAM/SMH - rsam permissions problem

Hello All,

I've created a menu for our support staff and one option allows them to start SAM. I've setup the system to only allow them into restricted SAM and assigned the support staff to a group with access to it.

When they try to start SAM the following error comes up:

"DISPLAY variable is not set. Starting the Text User Interface. Please wait...
the directory /etc/sam/rsam must have the permission -rwx------ Exiting!"

Any idea what's going on? /etc/sam/rsam has the permissions drwx------

4 REPLIES 4
Tim Nelson
Honored Contributor
Solution

Re: Restricted SAM/SMH - rsam permissions problem

HPUX 11.31 default /etc/sam

ll
1938 dr-xr-xr-x 4 bin bin 8192 May 8 09:05 .
4 dr-xr-xr-x 36 bin bin 8192 Aug 14 14:36 ..
1940 dr-------- 2 root bin 96 May 8 08:47 custom
2025 -r--r--r-- 1 bin bin 3072 Apr 10 13:42 reg_da.db
2076 -r--r--r-- 1 bin bin 247 Apr 10 13:47 reg_dirs.db
1944 -r--r--r-- 1 bin bin 5449 Apr 10 13:42 reg_files.db
2031 -r--r--r-- 1 bin bin 35380 Apr 10 13:42 reg_tm.db
1941 -r--r--r-- 1 bin bin 51 Feb 15 2007 rmfiles.excl
1942 -r--r--r-- 1 bin bin 46 Feb 15 2007 rmgroup.excl
1946 -rw-r--r-- 1 root sys 54 Apr 10 13:37 rmuser.excl
2153 drwxr-xr-x 4 root sys 96 May 8 10:26 rsam
2412 -rw-r--r-- 1 root sys 117 Apr 3 13:39 sam_custom.cu
Mike Schallmo
Advisor

Re: Restricted SAM/SMH - rsam permissions problem

OK, I'm assuming you're trying to tell me to change the permission to what you have there for rsam.

I changed it to 755, but it then wanted the sub-directories(usr and grp) the same so I changed those as well.

Everything works fine now.

Thanks!
Tim Nelson
Honored Contributor

Re: Restricted SAM/SMH - rsam permissions problem

Yes, sorry.

Also below is the grp and usr dirs.

:>/etc/sam/rsam # ll
total 16
2153 drwxr-xr-x 4 root sys 96 May 8 10:26 .
1938 dr-xr-xr-x 4 bin bin 8192 May 8 09:05 ..
2410 drwxr-xr-x 2 root sys 96 May 8 09:05 grp
2236 drwxr-xr-x 2 root sys 96 May 8 10:26 usr


Mike Schallmo
Advisor

Re: Restricted SAM/SMH - rsam permissions problem

See my above response. All set.