Re: su: illegal option -- s

From: Karl Agee (kdagee2_at_yahoo.com)
Date: 04/03/05

  • Next message: Randy Pratt: "Re: question"
    Date: Sat, 2 Apr 2005 19:39:33 -0800 (PST)
    To: Dan Nelson <dnelson@allantgroup.com>
    
    

    Dan: Thanks, this seems to have worked.

    --karl

    --- Dan Nelson <dnelson@allantgroup.com> wrote:
    > In the last episode (Apr 02), Karl Agee said:
    > > FreeBSD 4.11-Stable, bash 2.05.
    > >
    > > I am getting an error when I try to launch a
    > daemon
    > > script manually as root, or in
    > /usr/local/etc/rc.d:
    > >
    > > -su-2.05b#
    >
    /usr/local/koha/intranet/scripts/z3950daemon/z3950-daemon-launch.sh
    > > -su-2.05b# su: illegal option -- s
    > > usage: su [-] [-flm] [-c class] [login [args]]
    > >
    > > The line in the script that calls this is:
    > >
    > > su -s /bin/sh -c $KohaZ3950Shell - $RunAsUser &
    > >
    > > The su man page indicates that the -s option isnt
    > supported....how
    > > can I edit this so this function works??
    >
    > That's really weird su syntax there. Try
    >
    > su - $RunasUser -c $KohaZ3950Shell
    >
    > --
    > Dan Nelson
    > dnelson@allantgroup.com
    >

    __________________________________________________
    Do You Yahoo!?
    Tired of spam? Yahoo! Mail has the best spam protection around
    http://mail.yahoo.com
    _______________________________________________
    freebsd-questions@freebsd.org mailing list
    http://lists.freebsd.org/mailman/listinfo/freebsd-questions
    To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org"


  • Next message: Randy Pratt: "Re: question"

    Relevant Pages

    • Re: What will you be hunting with this Fall?
      ... > a rear sight and a slightly prouder front sight than ... > add a forward sling loop and a sling button toward the ... > Do You Yahoo!? ... Mail has the best spam protection around ...
      (rec.hunting)
    • Re: Ousted
      ... South Korean PM played golf....result? ... asked him to resign. ... Do You Yahoo!? ... Mail has the best spam protection around ...
      (soc.culture.singapore)
    • heimdal on 5.4
      ... I've already installed heimdal and was able to run kdc ... edit krb5.conf on gaheris and scp it to gwenever ... haven't encountered it and yet kdc daemon started ... Do You Yahoo!? ...
      (freebsd-questions)
    • Re: Duplicate disk in a volume group
      ... think this one would not be good because there is still an entry for a GOOD ... Duplicate disk in a volume group ... Do You Yahoo!? ... Mail has the best spam protection around ...
      (AIX-L)
    • RE: FreeBSD on Dell PE850
      ... When I install using the 6.1 disk one I get the error "Add of package ... Do You Yahoo!? ... Mail has the best spam protection around ... MailScanner thanks transtec Computers for their support. ...
      (freebsd-questions)