AIX

AIX

Connect with fellow AIX users and experts to gain knowledge, share insights, and solve problems.


#Power
#Power
 View Only
Expand all | Collapse all

Restric user to exit to shell by pressing ctrl + c

  • 1.  Restric user to exit to shell by pressing ctrl + c

    Posted Sun July 27, 2014 02:22 AM

    Originally posted by: YanivM


    Hello 

    how can i eliminate an application  user to exit to shell and do what ever he want ?

    Thank you  


    #AIX-Forum


  • 2.  Re: Restric user to exit to shell by pressing ctrl + c

    Posted Mon July 28, 2014 02:03 AM

    Originally posted by: j.gann


    in general, do not start a shell for the user at all, i.e. chuser shell=app_program user

    add app_program to /etc/shells before

    for a particular case you will have to take a close look at app_program and probably solve some problems (environment variables, shell exits, etc..)

    j.gann


    #AIX-Forum