1825775 Members
2027 Online
109687 Solutions
New Discussion

Re: File permission

 
ashwani_1
Occasional Contributor

File permission

We have a User named bscsbat with group bscsgroup in whose home directory all the Binary file lies. These binary executables connects to databases with usersname and password which we dont want to cummunicate to users .we have geerated a password file which is used by these binaries .

Other user say bscs_a with group bscsgroup should be able to execute the binaries , but we want to restrict the user to view the password file which is in clear test mode.

am attaching a file with file and group permissions for both users.

3 REPLIES 3
renarios
Trusted Contributor

Re: File permission

Hi Siju,

Nice application to put passwords in an ascii file.
Is it possible to make it a hidden file and/or encrypt it?
You might consider creating authentication throught a database.

Hope it helps,

Renarios
Nothing is more successfull as failure
renarios
Trusted Contributor

Re: File permission

Sorry Ashwani, type the wrong name...
It is not recomended to store applications in the homedir of a user, just because user-related stuff is stored into that directory.
The default application directory on HP-UX is /opt/, though many Oracle database admins like to do it OFA (Optimal Flexible Architecture according Oracle).
Because other UNIX-like OS-es do not use /opt, most DBA's use directory structures like /u01/app//. That way you can manage security and keep your system nice clean and structured.

Cheers,

Renarios
Nothing is more successfull as failure
ashwani_1
Occasional Contributor

Re: File permission

Thanks for reply ,

Can i make it work juss like sudo . Can u suggest on group and file permissions ?