Added support for login type for Linux