ast-ksh Memory fault

Gentile gentile at tele2.fr
Thu Apr 14 20:13:55 UTC 2005


exec-shield pb ?

try alias ksh="setarch i386 /bin/ksh"

  
======= le 2005-04-12, 17:28:40 vous écriviez: =======

>All,
>        I am trying to install the ask-ksh (at&t ksh93) from binary. I 
>have preformed the install notes @http://www.research.att.com/sw/download/ 
> exactly several times on 3 systems (RedHat ES 3). After install I add the 
>/usr/local/bin/ksh line to the /etc/shells. I can successfully run the 
>shell, run scripts/etc however during testing I created a script with the 
>SUID (4755) bit set. The script is called test.ksh and the only thing the 
>it does is run the `id` command. The script produces a Memory fault and 
>craps out. however if I run the script with "/usr/local/bin/ksh test.ksh" 
>OR "/bin/ksh test.ksh" it works great or if I set the #!/usr/local/bin/ksh 
>OR #!/bin/ksh  at the top of the script it works great. ((/bin/ksh is 
>really pdksh)(/usr/local/bin/ksh is ksh93)). 
>now this is only true if my current shell is /usr/local/bin/ksh (ksh93) if 
>it is /bin/ksh (pdksh) the problem is not there. 
>
>Any help with this would be great!
>
>Thanks in Advance,
>David Knight
>
>-- 
>redhat-list mailing list
>unsubscribe mailto:redhat-list-request at redhat.com?subject=unsubscribe
>https://www.redhat.com/mailman/listinfo/redhat-list
>
>
>__________ NOD32 1.1060 (20050414) Information __________
>
>This message was checked by NOD32 antivirus system.
>http://www.eset.com
>
>

= = = = = = = = = ========= = = = = = = = = = =
			
Gentile
gentile at tele2.fr
2005-04-14





More information about the redhat-list mailing list