If you want to change user process stack size, use ulimit shell command to modify it(ulimi -s). As for kernel, there is no easy way to change it... emmm... maybe you can try to modify /etc/system, which is a file that configures kernel parameter upon boot, but be careful, you might make your unix box unbootable.