1832487 Members
4228 Online
110043 Solutions
New Discussion

owner of /opt/ssh folder

 
SOLVED
Go to solution

owner of /opt/ssh folder

Hello,
I have installed HP-UX SSH A.03.10.002 in default folder /opt/ssh.
But owner of this folder has id (104), in my system this is common nonprivileged user,
there is possibility for this user to delete the folder.
Knows someone couse of the ownership?
Regards.
Frantisek.




8 REPLIES 8
T G Manikandan
Honored Contributor

Re: owner of /opt/ssh folder

If the folder is owned by 104 then he is the owner of the folder.
The owner has all the permissions on the folder.
What about the files beneath the folder?

Does it show the username or just 104?

If it shows 104,then it means like the user id deleted from the system whose UID was 104.

Revert


Re: owner of /opt/ssh folder

User id 104 is used in system with unprivileged user for example with username USER, ownership of folder show username USER
and group users(103)
Frantisek
Paula J Frazer-Campbell
Honored Contributor

Re: owner of /opt/ssh folder

When you installed SSH did you install it as root?


Paula
If you can spell SysAdmin then you is one - anon

Re: owner of /opt/ssh folder

yes,
I have installed five SSHd on four servers with 11.0 and one 11.11 and all installation were installed as root, on all systems is owner of folder /opt/ssh user with id 104.
But almost of files in folder have owner bin:bin, only files like README, LICENSE etc. have this owner too.
Paula J Frazer-Campbell
Honored Contributor

Re: owner of /opt/ssh folder

Hi

Check your passwd files for errors.

pwchk - see man

Paula

If you can spell SysAdmin then you is one - anon
Zeev Schultz
Honored Contributor
Solution

Re: owner of /opt/ssh folder

Known issue with SSH a.03.10.002.If
you do tar tvf T1471AA_A.03.10.002_HP-UX_B.11.00_32+64.depot |
grep "104/20" you'll find that uid 104 gid 20
is already there.I would change it to bin:bin
755.These files aren't executable anyway.

Regards

Zeev
So computers don't think yet. At least not chess computers. - Seymour Cray

Re: owner of /opt/ssh folder

Thanks.

Frantisek
David_246
Trusted Contributor

Re: owner of /opt/ssh folder

HI,

Everyone that will install ssh (the official one) will have this problem. The files are taken into archive with user 104. You should change it manualy to root:root using :
chown -R root:root /opt/ssh

If you still want to use ssh, then don't delete the dir :)

Another problem is slowness, what will occur in 11.00, if this is the case please let me know, as there is a very easy fix for.

Regs David
@yourservice