Path: utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!uunet!mcsun!unido!gmdzi!gmdzi.gmd.de!czech From: czech@gmdzi.gmd.de (Richard Czech) Newsgroups: comp.unix.admin Subject: Re: Re: Error in SunOS4.1.1 /etc/rc Keywords: su, uucp, /etc/rc, Sun Message-ID: <4157@gmdzi.gmd.de> Date: 27 Feb 91 08:28:16 GMT References: <4132@gmdzi.gmd.de> <1991Feb25.201609.26138@daffy.cs.wisc.edu> Sender: news@gmdzi.gmd.de Reply-To: czech@gmdzi.gmd.de Organization: GMD, German National Research Center for Computer Science Lines: 23 In article <1991Feb25.201609.26138@daffy.cs.wisc.edu>, dean@fyvie.cs.wisc.edu (Dean Luick) writes: |>In article <4132@gmdzi.gmd.de> czech@gmdzi.gmd.de writes: |>> I get an error message: |>> |>> su: illegal option -- c |>> usage: uucico [-xNUM] [-r[0|1]] -sSYSTEM -uUSERID -dSPOOL -iINTERFACE |> |>The program su starts the shell program for uucp (from /etc/passwd) |>and hands it the "-c " as an argument. Unfortunately, the "shell" |>for uucp is uucico, not the expected "regular" shell, like sh, csh, etc. |>Consequently, uucico fails with the above error message. Thank you all for the replies and mails. The problem was a wrong entry in /etc/passwd which defined uucico as the login shell for the uucp account. regards ----------------------------------------------------------------- Richard Czech e-mail: czech@gmdzi.gmd.DE GMD-E.I.S. czech@gmdzi.UUCP P.O.Box 12 40 phone: (+49) 2241 14 2039 D-5205 St. Augustin 1, Germany fax: (+49) 2241 14 2342 -----------------------------------------------------------------