| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
| |
Notes:
svn path=/head/; revision=140420
|
|
|
|
|
|
|
|
|
|
|
|
| |
the user indicating that su is not running setuid, which may help
suggest to the user that it should be setuid, or should not be
running from a file system mounted nosuid.
Suggsted by: Ivan Voras <ivoras at fer dot hr>
MFC after: 2 weeks
Notes:
svn path=/head/; revision=140392
|
|
|
|
|
|
|
|
|
|
|
| |
to PRECIOUSLIB from bsd.lib.mk. The side effect of this
is making installing the world under jail(8) possible by
using another knob, NOFSCHG.
Reviewed by: oliver
Notes:
svn path=/head/; revision=137164
|
|
|
|
|
|
|
| |
Noticed by: ru
Notes:
svn path=/head/; revision=136114
|
|
|
|
|
|
|
|
|
| |
Submitted by: Jilles Tjoelker <jilles@stack.nl> (original version)
PR: docs/70616 (part of)
MFC after: 1 week
Notes:
svn path=/head/; revision=136102
|
|
|
|
| |
Notes:
svn path=/head/; revision=131507
|
|
|
|
| |
Notes:
svn path=/head/; revision=131491
|
|
|
|
|
|
|
| |
use /bin/sh. Fix this.
Notes:
svn path=/head/; revision=130541
|
|
|
|
| |
Notes:
svn path=/head/; revision=130409
|
|
|
|
|
|
|
| |
Fixed the grammar nit.
Notes:
svn path=/head/; revision=129434
|
|
|
|
| |
Notes:
svn path=/head/; revision=127848
|
|
|
|
| |
Notes:
svn path=/head/; revision=125334
|
|
|
|
|
|
|
|
|
|
|
|
| |
normally succeed (because root can su to anyone), but pam_acct_mgmt()
will most likely fail, causing su to log a confusing "pam_acct_mgmt:
error in service module" message. To avoid this, call getpwnam()
before pam_acct_mgmt().
Sponsored by: registrar.no
Notes:
svn path=/head/; revision=124166
|
|
|
|
|
|
|
|
| |
exits, otherwise shell will be confused and does not set foreground
group correctly for next su command. This sounds like a bug in sh.
Notes:
svn path=/head/; revision=122061
|
|
|
|
|
|
|
|
|
|
|
| |
sometimes, su will receive a SIGTTOU when parent su tries to set child
su's process group as foreground group, and su will be stopped unexpectly,
ignoring SIGTTOU fixes the problem.
Noticed by: fjoe
Notes:
svn path=/head/; revision=122013
|
|
|
|
|
|
|
|
|
|
| |
chshell must return 0 if the shell is not a standard shell, or else it is
possible to use an account without a valid shell.
Reviewed by: des
Notes:
svn path=/head/; revision=121236
|
|
|
|
|
|
|
|
|
| |
PR: docs/55613
Submitted by: gshapiro@freebsd.org
Approved by: blackend (mentor)
Notes:
svn path=/head/; revision=120557
|
|
|
|
| |
Notes:
svn path=/head/; revision=116047
|
|
|
|
|
|
|
|
|
|
|
| |
- if operating "as them" (su -l), use pam_{open,close}_session()
- allow PAM to override $HOME (pam_chroot needs this)
- chdir early, because later on we may be chrooted and chdir will fail
Also use pid_t instead of int where applicable.
Notes:
svn path=/head/; revision=113262
|
|
|
|
|
|
|
|
|
|
|
| |
signal never affects su directly, some shells changes its pgrp at running
or suspended time, so a broadcast SIGTSTP from child will mess up su's job
control.
Discussed with: bde
Notes:
svn path=/head/; revision=112695
|
|
|
|
| |
Notes:
svn path=/head/; revision=112087
|
|
|
|
|
|
|
| |
Submitted by: bde
Notes:
svn path=/head/; revision=112085
|
|
|
|
|
|
|
|
|
| |
Special instructions tested:
suspend
stop $$
Notes:
svn path=/head/; revision=112072
|
|
|
|
| |
Notes:
svn path=/head/; revision=110456
|
|
|
|
|
|
|
| |
Approved by: re
Notes:
svn path=/head/; revision=107276
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
also set the user's MAC label as part of the user credential setup
by setting setusercontext(3)'s SETMAC flag. By default, change only
traditional process properties.
Approved by: re
Obtained from: TrustedBSD Project
Sponsored by: DARPA, Network Associates Laboratories
Notes:
svn path=/head/; revision=105758
|
|
|
|
|
|
|
|
|
|
| |
older "BAD SU" syslog message that folks prefer. There is quite
a bit more tweaking that can be done with other similar messages.
Asked for by: tjr
Notes:
svn path=/head/; revision=105386
|
|
|
|
| |
Notes:
svn path=/head/; revision=105362
|
|
|
|
| |
Notes:
svn path=/head/; revision=105080
|
|
|
|
| |
Notes:
svn path=/head/; revision=101749
|
|
|
|
| |
Notes:
svn path=/head/; revision=101748
|
|
|
|
|
|
|
|
|
|
| |
kill login shell on either "suspend/fg" or "stop $$/fg" for tcsh. Since
this bug occurse on -stable too, it is not kernel threads bug.
Submitted by: David Xu <bsddiy@yahoo.com>
Notes:
svn path=/head/; revision=101722
|
|
|
|
|
|
|
|
| |
This is real kernel bug (threads) and don't attempt to mask it by
workarounds to increase chances to fix it in the kernel.
Notes:
svn path=/head/; revision=101446
|
|
|
|
|
|
|
|
| |
tcsh killed on resume (fg). It is because tcsh is interactive itself and
do its own things with terminal group.
Notes:
svn path=/head/; revision=99685
|
|
|
|
|
|
|
|
|
|
| |
(see 'zsh exits upon ^C' thread). This may be temporary be he's been
running it for a year without incident so we should be golden with it.
Approved by: des
Notes:
svn path=/head/; revision=98837
|
|
|
|
|
|
|
| |
Approved by: des
Notes:
svn path=/head/; revision=98836
|
|
|
|
|
|
|
| |
signals in its stead. This fixes the dread "zsh exits upon ^C" bug.
Notes:
svn path=/head/; revision=97438
|
|
|
|
| |
Notes:
svn path=/head/; revision=97377
|
|
|
|
| |
Notes:
svn path=/head/; revision=95124
|
|
|
|
|
|
|
|
|
|
|
|
| |
as a user ID -> has a user ID
command constitutes of -> command consists of
PR: misc/36523
Submitted by: Chris Pepper <pepper@mail.rockefeller.edu>
MFC after: 3 days
Notes:
svn path=/head/; revision=93417
|
|
|
|
|
|
|
| |
Sponsored by: DARPA, NAI Labs
Notes:
svn path=/head/; revision=91745
|
|
|
|
|
|
|
| |
Sponsored by: DARPA, NAI Labs
Notes:
svn path=/head/; revision=89746
|
|
|
|
| |
Notes:
svn path=/head/; revision=87769
|
|
|
|
|
|
|
|
|
| |
This is not "useless", as one may have non-default
setting for BINOWN in make.conf, and we still want
these to be installed setuid root in this case.
Notes:
svn path=/head/; revision=83391
|
|
|
|
| |
Notes:
svn path=/head/; revision=83373
|
|
|
|
|
|
|
| |
its failure mode, and will revisit it later.
Notes:
svn path=/head/; revision=83209
|
|
|
|
|
|
|
|
|
|
|
| |
The remaining problem of converting highly incompatible pointer types
is done by "laundering" the value through a union.
This solves the problem (in my own mind) of how a "const char *" _ever_
actually gets a value in a WARNS=2 world.
Notes:
svn path=/head/; revision=82979
|
|
|
|
|
|
|
| |
Discussed with: ru
Notes:
svn path=/head/; revision=81971
|
|
|
|
|
|
|
| |
Forgot trailing newline in usage().
Notes:
svn path=/head/; revision=81703
|
|
|
|
|
|
|
|
|
|
|
| |
This also reverts change in rev. 1.36 to the documented
style of writing usage().
PR: bin/29730
Submitted by: Joseph Mallett <jmallett@xMach.org>
Notes:
svn path=/head/; revision=81702
|