private static String getMacUserShell ( ) throws EnvironmentException { if ( null != m_SHELL ) { return m_SHELL ; } String [ ] args = { "nidump" , "passwd" , "/" } ; return readShellFromPasswdFile ( args ) ; }
Gets the default login shell used by a mac user .