Xref: utzoo comp.unix.admin:1090 alt.sys.sun:2813 Path: utzoo!utgpu!cs.utexas.edu!usc!samsung!uunet!mcsun!unido!gmdzi!gmdzi.gmd.de!czech From: czech@gmdzi.gmd.de (Richard Czech) Newsgroups: comp.unix.admin,alt.sys.sun Subject: Error in SunOS4.1.1 /etc/rc Keywords: su, uucp, /etc/rc, Sun Message-ID: <4132@gmdzi.gmd.de> Date: 25 Feb 91 13:41:44 GMT Sender: news@gmdzi.gmd.de Reply-To: czech@gmdzi.gmd.de Followup-To: comp.unix.admin Organization: GMD, German National Research Center for Computer Science Lines: 31 Hi! We're here running some Sun SPARCstations, SunOS 4.1.1. Every time a machine boots I get an error message: su: illegal option -- c usage: uucico [-xNUM] [-r[0|1]] -sSYSTEM -uUSERID -dSPOOL -iINTERFACE The problem is in the startup script /etc/rc. Here are the lines in question: if [ -d /usr/lib/uucp ]; then su uucp -c /usr/lib/uucp/uusched & \ echo -n ' uucp' The line with the 'su uucp' is obviously syntactically wrong. The argument '-c' is between the user name 'uucp' and the command '/usr/lib/uucp/uusched'. The manual page of uusched(8c) gives exactly the same (wrong) syntax. Now my question: For what purpose is the '-c' in that line. How should the line look if it was correct. Did it run under SunOS 4.0.3 or earlier versions? 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 -----------------------------------------------------------------