Operating System - HP-UX
1748080 Members
5327 Online
108758 Solutions
New Discussion юеВ

Re: unable to logon to the server for all users

 
SOLVED
Go to solution
Dennis Handly
Acclaimed Contributor

Re: unable to logon to the server for all users

>gives me "su: Unknown id: oravis".

What are the permissions of /usr/bin/su? As F Verschuren mentioned in the first reply, su probably lost its setuid bit.

>Johnson: As requested have posted permissions for the files in /usr

Actually Aleem needs the permissions of the whole directory tree.
aleemuddin
Occasional Advisor

Re: unable to logon to the server for all users

hi
these r the permissions of /usr/bin/su

-r-xr-xr-x 1 root bin 80104 Feb 16 2007 su


thanks

Aleem
Dennis Handly
Acclaimed Contributor

Re: unable to logon to the server for all users

>these are the permissions of /usr/bin/su
>-r-xr-xr-x 1 root bin 80104 Feb 16 2007 su

It must be setuid. Is the system working well enough for you to do:
swverify -F \*
aleemuddin
Occasional Advisor

Re: unable to logon to the server for all users

hi dennis

i am not a unix admin guy and i am not sure if i can run swif... and the inpact on the server.i work as an oracle apps dba and have always worked with a unix admin along side and in my current project there is no unix admin and the comp is in a process of hiring one so till then its better that i wait.
if changing some permission for the /usr/bin/su would solve my issue i would do it else the server with oracle application is running absolutely fine.

thanks
Dennis Handly
Acclaimed Contributor

Re: unable to logon to the server for all users

>I am not sure if I can run swverify

That's why you try it, without the -F if you want.

>the impact on the server.

It will fix some of the bad permissions. That's its major purpose

>if changing some permission for the /usr/bin/su would solve my issue I would do it

It will solve the current issue but not all future issues.

>the server with oracle application is running absolutely fine.

This is just an illusion. :-)
You need to get those permissions corrected, find out why that chmod -R was done and get an ignite backup.
aleemuddin
Occasional Advisor

Re: unable to logon to the server for all users

Hi

alright just to confirm this is what u want me to do.

logon to the server with root user and
at #swverify -F \*

and this will solve all the probems.

thanks

Dennis Handly
Acclaimed Contributor

Re: unable to logon to the server for all users

>this will solve all the problems.

This will solve the permission problems for files installed by swinstall.
Jerry Jiangwei
Advisor

Re: unable to logon to the server for all users

OK, I may not scan all the reply carefully, but I think the problem is

- # chmod -R 777, change everything in the target dir, as well as the sub-dir which is related to PAM athorization.

- # chmod -R 555, can restore back all to previous situation, but change all to a new state.

One feasible way is backup all configuration files in /etc/ or personal data in /home. and restore your system by re-installation or ignite-server.

Thanks
-- Jerry
F Verschuren
Esteemed Contributor

Re: unable to logon to the server for all users

If swverify does not work just fix the permisions first...
$ ll /usr/sbin/swverify
-r-sr-xr-x 11 root bin 2478080 Feb 16 2007 /usr/sbin/swverify
$

Other files are in the atachment