Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 5 Sep 1995 19:29:09 +0200 (MET DST)
From:      Ollivier Robert <roberto@keltia.frmug.fr.net>
To:        freebsd-hackers@freebsd.org
Subject:   Re: Change in behaviour of SU...
Message-ID:  <199509051729.TAA26346@keltia.frmug.fr.net>
In-Reply-To: <199509051017.MAA01018@uriah.heep.sax.de> from "J Wunsch" at Sep 5, 95 12:17:03 pm

next in thread | previous in thread | raw e-mail | index | archive | help
It seems that J Wunsch said:
> 
> 1.) re-import it from 1.1.5.1, or

I checked on a friend 1.1.5.1 machine, su(1) does *not* permit "-c"... 

------------------------------------------------------------
[...] 

#ifndef lint
char copyright[] =
"@(#) Copyright (c) 1988 The Regents of the University of California.\n\
 All rights reserved.\n";
#endif /* not lint */

#ifndef lint
static char sccsid[] = "@(#)su.c	5.26 (Berkeley) 7/6/91";
#endif /* not lint */

[...] 

#ifdef KERBEROS
#include <kerberosIV/des.h>
#include <kerberosIV/krb.h>
#include <netdb.h>

#define	ARGSTR	"-Kflm"

int use_kerberos = 1;
#else
#define	ARGSTR	"-flm"
#endif
------------------------------------------------------------

It is weird... I thought 1.1.5.1 had it.
 
> 2.) echo command | su user

-- 
Ollivier ROBERT    -=- The daemon is FREE! -=-    roberto@keltia.frmug.fr.net
      FreeBSD keltia 2.2-CURRENT #17: Sun Sep  3 20:59:24 MET DST 1995



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199509051729.TAA26346>