Originally Posted by vijay@ylg
Yes, once again i shell explain my dear friend, i want to do work in Firefox or some applications only. is there any way?
Are you wishing to restrict a certain user to only be allowed to run a certain application when they login?
If this is what you mean, then it could be hard to do and depends on the application itself.
In a terminal shell environment, the basic way is to set the user's shell program to be the application itself, or to be a shell script that runs the application with specific arguments, options and/or environment settings. Then it is that application that must further restrict the user to not run other things inside that application. This is a convenience system and not a security system.
In an X Window environment, it depends on the facilities of Gnome or KDE or whatever windowing system you are using. The details of how to do this depend on which. It won't be very easy.