Help for this page

Select Code to Download


  1. or download this
    /* testsh2.c */
    #include <stdlib.h>
    ...
        }
        exit(0);
    }
    
  2. or download this
    root@aster /tmp# cat /etc/redhat-release 
    Red Hat Enterprise Linux Server release 5.8 (Tikanga)
    root@aster /tmp# cat /etc/passwd| grep paultest
    paultest:x:401:401::/home/paultest:/tmp/testsh2
    
  3. or download this
    root@aster /tmp# su - paultest
    argv[0]: -testsh2
    root@aster /tmp# su paultest
    argv[0]: testsh2