mrg
fc8700736a
remove possibly dangerous sprintf and strcpy calls.
1997-02-11 08:39:23 +00:00
ghudson
1b6b85b894
As discussed on tech-userlevel, allow anyone to su if group wheel has
...
no members (if you have just "root" as a member, which is the shipped
default, then no one can su, as before).
1997-01-31 22:22:47 +00:00
tls
653b58e924
Sync to 4.4BSD-Lite2
1997-01-09 11:43:05 +00:00
christos
76ef973082
- Fix previous commit; shells require -c "command"
...
- RCSid police.
1996-10-15 14:35:41 +00:00
christos
17b3a275d4
Fix PR/2837: su [login [args]] had the wrong usage and did not work properly. Build the correct argument list and add -c for the shells.
...
Fix PR/2839: su will not build with Kerberos.
- Also:
-Don't coredump when $TERM is not set.
-Add prototypes, remove local old style declarations of system
functions.
-Recognize shells that contain "csh" as being csh alike.
-Don't build with SKEY unconditionally. Obey bsd.own.mk.
1996-10-12 23:54:38 +00:00
deraadt
1a3b9af761
add skey support
1994-05-24 06:52:17 +00:00
cgd
e8d19a7a32
fix bin/120: "su -" buglet when empty "shell" field in passwd
1994-02-12 07:06:07 +00:00
mycroft
179f4cbf14
Fix bizarre handling of cleanenv, and set the subshells argv[0] according
...
to standard practice. Changes from Alan Batie, David Greenman, and myself.
1994-01-07 16:05:42 +00:00
jtc
f7c6bf575a
Minor tweaks: including header files to bring prototypes into scope,
...
explicitly declaring function return values, etc. to make gcc -Wall
shut up.
1993-08-27 22:30:10 +00:00
mycroft
e9d867ef50
Add RCS identifiers.
1993-08-01 17:54:45 +00:00
jtc
04b4a7f853
Back out last change until I can get an official interpretation.
1993-07-28 20:22:53 +00:00
jtc
851cc8482a
Update LOGNAME as well as USER environment variables to keep POSIX utilities
...
that only understand LOGNAME happy.
1993-07-28 17:53:26 +00:00
cgd
86677cb02a
changed to use new libcrypt scheme.
1993-04-26 14:42:34 +00:00
sef
583bdd93e4
Allow 'su foo -c command'. MAY BE BUGGY! (So sayeth Keith Bostic.)
...
I have noticed no problems yet, however. Since Keith never did it
"properly" ...
1993-04-17 01:10:19 +00:00
cgd
61f282557f
initial import of 386bsd-0.1 sources
1993-03-21 09:45:37 +00:00