Команда login

Signs into a new system.

Синтаксис

login [ -p ] [ -d device ] [-h hostname | terminal | -r hostname ] [ name [ environ ] ]

-pUsed to pass environment variables to the login shell.
-d devicelogin accepts a device option, device. device is taken to be the path name of the TTY port login is to operate on. The use of the device option can be expected to improve login performance, since login will not need to call ttyname. The -d option is available only to users whose UID and effective UID are root. Any other attempt to use -d will cause login to quietly exit.
-h hostname | terminalUsed by in.telnetd to pass information about the remote host and terminal type.
-r hostnameUsed by in.rlogind to pass information about
the remote host.

Примеры

login computerhope.com - Would attempt to login to the computerhope domain.

Обратно к списку команд