lenny@icus.UUCP (Lenny Tropiano) (03/29/88)
In article <24@booboo.UUCP> spear@booboo.UUCP (Steve Spearman) writes: |>Would anyone who is using the 'dialup password' feature please send |>me a copy of their /etc/d_passwd file or explain the format more |>exactly? I'm having trouble getting the password to not be prompted |>for on the 'uucp' logins. |> Well there are two files you need to know about... /etc/dialups, which contains the devices that are considered "dialups". (BE CAREFUL, and don't put /dev/window or /dev/w[1-XX] in that file, cause it can very easily lock you out of your machine!!). The file /etc/dialups contains /dev names terminated by newlines. eg.: /dev/ph1 /dev/ph0 The file /etc/d_passwd is in the format: Users_default_shell:Encrypted_Password:: eg.: /bin/sh:Encrypted_Passwd:: /bin/ksh:Another_Passwd:: This allows you to have no "Dialup Password" prompted for uucp jobs. Obviously this can be done with the following line ... /usr/lib/uucp/uucico:Encrypt_Passwd:: The easiest way to create the encrypted passwords for the /etc/d_passwd file is doing the following: Edit /etc/passwd and place the lines in the files (ie. the lines starting /bin/ksh, /bin/sh, etc.) And then type: # passwd /bin/sh New Password: ... Edit out the lines, carefully preserving the password and copy them to /etc/d_passwd. Now you have a Dialup Password. I would test this on a serial port like /dev/tty000 .. if you have a terminal. -Lenny -- US MAIL : Lenny Tropiano, ICUS Computer Group IIIII CCC U U SSS PO Box 1 I C U U S Islip Terrace, New York 11752 I C U U SS PHONE : (516) 968-8576 [H] (516) 582-5525 [W] I C U U S TELEX : 154232428 [ICUS] IIIII CCC UUU SSS AT&T MAIL: ...attmail!icus!lenny UUCP : ...{mtune, ihnp4, boulder, talcott, sbcs, bc-cis}!icus!lenny