|
|
1.1 ! root 1: ! 2: ! 3: ! 4: NETLOGIN(1) UNIX Programmer's Manual NETLOGIN(1) ! 5: ! 6: ! 7: ! 8: NAME ! 9: netlogin - provide login name and password for a remote ! 10: machine ! 11: ! 12: SYNOPSIS ! 13: netlogin -m machine [ -l login ] ! 14: ! 15: DESCRIPTION ! 16: The _n_e_t_l_o_g_i_n command sets the login name and password for ! 17: the specified _m_a_c_h_i_n_e in a rather unusual way. The user ! 18: should type (to the C shell) ! 19: ! 20: setenv MACH_m_a_c_h_i_n_e `netlogin -m _m_a_c_h_i_n_e` ! 21: ! 22: or (to the default Version 7 ``Bourne'' shell) ! 23: ! 24: MACH_m_a_c_h_i_n_e=`netlogin -m _m_a_c_h_i_n_e`; export MACH_m_a_c_h_i_n_e ! 25: ! 26: to his login shell. (Note the back-quotes). For example, ! 27: ! 28: setenv MACHA `netlogin -m A` ! 29: ! 30: will prompt the user for his login name and password on the ! 31: A machine and ! 32: ! 33: setenv MACHA `netlogin -m A -l myname` ! 34: ! 35: will prompt the user for the password to account `A:myname'. ! 36: ! 37: The _n_e_t(1) command will read the environment looking for ! 38: environment variables beginning with ``MACH'' and followed ! 39: by a valid machine name on the local network. If found it ! 40: will use that information rather than prompt the user every ! 41: time he executes a network command. This environment infor- ! 42: mation is ignored if login names and passwords are specified ! 43: on the command line of network commands using the -l and -p ! 44: options or in the ._n_e_t_r_c file. ! 45: ! 46: This procedure for specifying passwords is somewhat safer ! 47: than putting the remote passwords in the ._n_e_t_r_c file. The ! 48: passwords in the environment are encrypted and the environ- ! 49: ment information is useless after the user logs out. Use ! 50: the _p_r_i_n_t_e_n_v(1) command to see the encrypted password. ! 51: ! 52: AUTHOR ! 53: Eric Schmidt ! 54: ! 55: SEE ALSO ! 56: net(1), netrm(1), netq(1), netlog(1), netcp(1), netlpr(1), ! 57: netmail(1), printenv(1), csh(1) ! 58: ! 59: ! 60: ! 61: ! 62: ! 63: Printed 7/26/87 4/29/85 1 ! 64: ! 65: ! 66: ! 67: ! 68: ! 69: ! 70: NETLOGIN(1) UNIX Programmer's Manual NETLOGIN(1) ! 71: ! 72: ! 73: ! 74: BUGS ! 75: ! 76: ! 77: ! 78: ! 79: ! 80: ! 81: ! 82: ! 83: ! 84: ! 85: ! 86: ! 87: ! 88: ! 89: ! 90: ! 91: ! 92: ! 93: ! 94: ! 95: ! 96: ! 97: ! 98: ! 99: ! 100: ! 101: ! 102: ! 103: ! 104: ! 105: ! 106: ! 107: ! 108: ! 109: ! 110: ! 111: ! 112: ! 113: ! 114: ! 115: ! 116: ! 117: ! 118: ! 119: ! 120: ! 121: ! 122: ! 123: ! 124: ! 125: ! 126: Printed 7/26/87 4/29/85 2 ! 127: ! 128: ! 129: ! 130: ! 131: ! 132:
This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.