1834978 Members
2365 Online
110073 Solutions
New Discussion

Permission Problem

 
HP_16
Occasional Contributor

Permission Problem

Hi To everybody,
My requirements,
I am using an Application named BSCS,
I created a user and group and i put all my binaries and passwd files in the home directory of the first user,and i included other users that all are using this application in the samgroup,and all other users are also accessing the same binaries and the authentication also happening through the first users home directory ,where i kept my passwd file,and all others can run the application very well by accessing the passwd file,
Now i am facing the problem,My passwd file is
a simple text file and anybody can view the passwd file and any body can run any application,by viewing the content of the passwd file,
If i am not gining read permission for the group for the passwd file,users cannot execute the program,
Is there any way to restrict the users from
viewing the content of my passwd file but at the same time they have to get authenticated through the sam file,
Waiting for u peoples replay,
Siju
3 REPLIES 3
renarios
Trusted Contributor

Re: Permission Problem

Hi Siju,

Nice application you got there storing 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
HP_16
Occasional Contributor

Re: Permission Problem

Hi Renario,
There is no such option, I tried for that also,
But i found application running like my envirment like Sudo...
Siju
HP_16
Occasional Contributor

Re: Permission Problem

Any body can say me is there any way to do it with setuid or setgid
Siju