brian
7a448221c2
MAXHOSTNAMELEN includes space for the NUL
...
Don't read past the end of the host passed to realhostname()
Not objected to by: freebsd-audit
Interface disliked by: imp
2001-03-14 20:50:52 +00:00
markm
969dd78ed1
Updates for Blowfish password hashing.
2001-03-11 16:37:33 +00:00
billf
1e9466ca03
In theory it would be perfectly legal for a system administrator to
...
# cd /dev && ./MAKEDEV pty0 pty3
and/or
# rm -rf /dev/ptyp0
and expect all programs that use openpty() to still try to find available ptys.
2001-03-10 10:39:52 +00:00
asmodai
db24d83a1c
Fix typo: seperate -> separate.
...
Seperate does not exist in the english language.
Submitted to look at by: kris
2001-02-06 10:39:38 +00:00
bde
b8b373d382
Fixed prototype of logout() (const poisoning).
2001-02-06 01:06:25 +00:00
ru
b1c3961564
mdoc(7) police: split punctuation characters + misc fixes.
2001-02-01 16:38:02 +00:00
brian
20c10045a7
Call trimdomain properly for ip4 addresses.
...
PR: 24659
realhostname_sa() stuff submitted by: Jim.Pirzyk@disney.com
2001-01-28 21:51:25 +00:00
ru
0a2b2f2e94
Prepare for mdoc(7)NG.
2001-01-16 09:08:22 +00:00
ghelmer
98627c581c
In call to realloc, pass the number of bytes needed, not simply the
...
number of login time structures.
Forward the name of the deny capability rather than hard-coding it
in login_hostok.
2000-12-31 16:15:06 +00:00
ru
fb54000812
Prepare for mdoc(7)NG.
2000-12-29 14:08:20 +00:00
ru
4acf0e957d
mdoc(7) police: Now that .Fx macro is parsed, backout
...
the 1.18 -> 1.20 and fix the .Fx issue the right way.
2000-12-12 10:11:12 +00:00
peter
5e4df2405b
Fix a mangled $Id string
2000-11-25 09:10:55 +00:00
ru
69062dd641
mdoc(7) police: Er macro usage cleanup.
2000-11-22 16:02:00 +00:00
ru
920dfa0863
mdoc(7) police: use the new features of the Nm macro.
2000-11-20 14:08:07 +00:00
ru
b42832df66
Use Fx macro wherever possible.
2000-11-14 11:20:58 +00:00
ru
f9c7198049
Avoid use of direct troff requests in mdoc(7) manual pages.
2000-11-10 17:46:15 +00:00
murray
8772818e21
Eliminate inconsistency where a value that contains only whitespace
...
confuses the parser.
Approved by: jkh
2000-11-09 00:28:22 +00:00
murray
e2fdb42f04
Added PROPERTY_MAX_VALUE and PROPERTY_MAX_NAME defines to libutil.h so
...
that applications know how large of a buffer they must allocate before
calling property_find(). Also added a $FreeBSD$ tag while I'm here.
Approved by: jkh
2000-11-08 11:57:03 +00:00
green
b686145545
Fix problems people were having with large -O levels with GCC and
...
getting libutil/libcrypt to work properly. I've determined that GCC
thinks it can inline all functions, including weak-symboled ones, if
it feels like it.
Create a new stub.c and move any stubs there to prevent inlining.
Thanks to jdp and William S. Duncanson for helping me finally find the
problem.
2000-10-27 01:19:02 +00:00
brian
ca8aae39a1
Correct uu_lock_txfr. I don't think this ever worked correctly.
2000-10-02 17:32:00 +00:00
green
6697f60472
Document passwd_format further.
2000-09-30 00:37:44 +00:00
peter
d8d20f6399
Constify the arg to logout(3). It is const-safe.
...
(cosmetic: drop some "register" qualifications too.)
2000-09-04 08:13:49 +00:00
brian
1f10f736fa
Move setproctitle() from libutil to libc (after a repo-copy)
...
and bump __FreeBSD_version to 500012 to mark the occasion.
setproctitle() is prototyped in unistd.h as opposed to stdlib.h
where OpenBSD and NetBSD have it.
Reviewed by: peter
2000-09-02 01:51:36 +00:00
asmodai
368d5566e1
Add weak symbol pragma for crypt_set_format().
...
Approved by: green
2000-08-23 11:54:10 +00:00
green
1724eb12de
Stick login_setcryptfmt() in its own file to make pulling in of
...
-lcrypt only happen if truly necessary.
2000-08-23 03:45:57 +00:00
green
83520f8d05
Add working and easy crypt(3)-switching. Yes, we need a whole new API
...
for crypt(3) by now. In any case:
Add crypt_set_format(3) + documentation to -lcrypt.
Add login_setcryptfmt(3) + documentation to -lutil.
Support for switching crypt formats in passwd(8).
Support for switching crypt formats in pw(8).
The simple synopsis is:
edit login.conf; add a passwd_format field set to "des" or "md5"; go nuts :)
Reviewed by: peter
2000-08-22 02:15:54 +00:00
ps
a8748dafd1
If the format string passed to setproctitle begins with a '-'
...
character, skip the program name when setting the process title.
Ansified with extreme prejudice.
Reviewed by: peter
2000-08-01 06:37:09 +00:00
ume
b1f9d8d0de
Sshd writes connected host into utmp directly. If the connection is
...
via IPv6, the hostname is trimed due to the length of IPv6 address.
This change saves it as possible.
I have a grudge against the shortage of UT_HOSTSIZE.
2000-07-14 18:08:19 +00:00
sheldonh
38c2ac4232
Make sbsize a size instead of a number. This allows the usual suffixes
...
to be applied to the value given. This does not break installed
/etc/login.conf files, since un-suffixed numbers are interpreted as
they were before.
PR: 19750
Submitted by: Paul Herman <pherman@frenchfries.net>
2000-07-14 13:56:07 +00:00
kris
ce868049dc
Don't call warn() without a format string.
2000-07-12 00:50:15 +00:00
ache
289098f556
Better fix for .Fx macro
...
Submitted by: sheldonh
2000-07-06 20:13:42 +00:00
ache
f285708bd4
Fix .Fx usage (causing error diagnositc)
2000-07-06 00:25:05 +00:00
alfred
0e072c25b6
document sbsize limit.
2000-06-02 20:51:05 +00:00
ume
1372a029be
We should see the ai_canonname menber of the first addrinfo
...
structure in the linked list. RFC2553 mentions only first.
Reviewed by: shin
2000-05-24 11:24:49 +00:00
hoek
b24759e594
Fix a memory leak with lc->lc_cap in login_close().
...
PR: bin/17084
2000-05-21 02:50:36 +00:00
sheldonh
5e0dc361bb
Fix miscellaneous mdoc macro argument limit infringements.
...
PR: 18465
Reported by: Kazu TAKAMUNE <takamune@avrl.mei.co.jp>
2000-05-09 14:02:06 +00:00
nik
9ca7db315b
Add xref to cap_mkdb(1).
...
PR: docs/17544
Submitted by: Christ J. Clark <cjc@cc942873-a.ewndsr1.nj.home.com>
2000-04-30 22:43:09 +00:00
phantom
e0ac996a75
Introduce .Lb macro to libutil manpages
...
Sort .Nm values in some manpages
Remove explicit note about compiling with -lutil, it's implicitly
declared by .Lb macro now.
2000-04-22 16:17:00 +00:00
mpp
1e975da41b
Fix some spelling errors.
2000-03-24 00:58:49 +00:00
ume
16bba59042
Return IPv4 native address for IPv4 mapped IPv6 address, even if
...
A RR is not found.
Reviewed by: shin
2000-03-23 17:25:00 +00:00
ume
fa78c92984
Since crypto/openssh/login.c was changed to use realhostname_sa(),
...
when connecting via IPv6, hostname was not recorded to utmp anymore.
Because, if hostname is longer than buffer size, getnameinfo() returns
with ENI_MEMORY.
Reviewed by: shin
Approved by: jkh
2000-03-07 07:52:01 +00:00
sheldonh
0bd4857cef
Remove single-space hard sentence breaks. These degrade the quality
...
of the typeset output, tend to make diffs harder to read and provide
bad examples for new-comers to mdoc.
2000-03-02 09:14:21 +00:00
shin
78e599e146
Update major version.
...
Now libutil depends on libc.so.4, so needs to update the major version.
Without this, old binaries which use libutil and build with libc.so.3
will coredump on recent 4.0.
Solicited comment for cvs-committers and there seems to be no objection.
Approved by: jkh
2000-02-14 03:55:27 +00:00
nik
bf3964306c
Document mixpasswordcase here as well as in passwd.1
2000-02-11 13:55:41 +00:00
joe
a3a381812b
Historically file flags (schg, uschg, etc) have been converted from
...
string to u_long and back using two functions, flags_to_string and
string_to_flags, which co-existed with 'ls'. As time has progressed
more and more other tools have used these private functions to
manipulate the file flags.
Recently I moved these functions from /usr/src/bin/ls to libutil,
but after some discussion with bde it's been decided that they
really ought to go in libc.
There are two already existing libc functions for manipulating file
modes: setmode and getmode. In keeping with these flags_to_string
has been renamed getflags and string_to_flags to setflags.
The manual page could probably be improved upon ;)
2000-01-27 21:17:01 +00:00
shin
dce9862d66
Avoid core dump when ai_canonname is NULL.
...
(Now this happens for numeric addrs, as getaddrinfo() 1.3 -> 1.4 change)
Reviewed by: Mark Huizer <xaa@timewasters.nl>
2000-01-27 17:24:53 +00:00
bde
05c6d03276
Use a long line instead splitting a line with backslash-newline in synopsis.
...
My synopsis checker doesn't understand backslash-newline.
2000-01-27 03:04:11 +00:00
peter
b7a459072e
Use a more conventional copyright message.
2000-01-26 07:17:00 +00:00
shin
7c069c8355
several tcp apps IPv6 update
...
-inetd
-rshd
-rlogind
-telnetd
-rsh
-rlogin
Reviewed by: freebsd-arch, cvs-committers
Obtained from: KAME project
2000-01-25 14:52:10 +00:00
ru
cd83094d21
Do not set the default terminal type to "su", leave it empty.
...
PR: bin/5084
Reviewed by: asmodai, davidn, sef
2000-01-19 10:54:44 +00:00
chris
ab529a8df1
Repair internal consistency: Change "login_cap_t * lc" to a more correct
...
(and consistent) "login_cap_t *lc".
2000-01-18 03:02:29 +00:00
billf
58f500d0c9
Add the "use -lutil" line to all functions that require it so people like
...
Dan Papsian <bugg@bugg.strangled.net> don't anger wpaul and myself with
silly linking errors.
Reviewed by: chris
2000-01-18 01:27:47 +00:00
shin
38c1f10e83
Support v6 login.
2000-01-15 03:26:54 +00:00
rgrimes
7e1486bf06
Replace beforeinstall target with new variables used by .mk system.
...
Reviewed by: marcel, and make world
2000-01-14 07:57:47 +00:00
bde
11831166a9
Fixed missing include in synopsis.
...
Removed superfluous quoting of function name in .Fo macro. My synopsis
checker doesn't understand it.
2000-01-05 16:31:12 +00:00
joe
e1558fa7cb
Moved flags_to_string and string_to_flags into libutil. It's used in
...
many places nowadays.
1999-12-30 13:15:15 +00:00
peter
1bee6959f4
Connect fparseln(3) for mailwrapper(8)
1999-12-29 17:50:34 +00:00
roberto
5d593558fb
Fix a bug where a pointer would be one character too far after putting
...
a '\0' at the end of a string.
Submitted by: Martin Birgmeier <Martin.Birgmeier@aon.at>
1999-12-21 10:17:36 +00:00
roberto
7e9f2214cc
Rewriting of flags_to_string() and string_to_flags() to use an array.
...
PR: bin/3648
Submitted by: Martin Birgmeier <mbirg@austria.ds.philips.com>
1999-12-19 15:31:24 +00:00
peter
e5156933a6
This commit was generated by cvs2svn to compensate for changes in r54820,
...
which included commits to RCS files with non-trunk default branches.
1999-12-19 14:14:37 +00:00
peter
843b1e7378
Import fparseln(3) from NetBSD. It's used for easily dealing with \
...
escaped lines etc. (used by mailwrapper)
1999-12-19 14:14:37 +00:00
brian
74c8c41cdf
Make setproctitle(NULL) restore all of the original arguments
...
(if it's able).
1999-11-17 21:12:17 +00:00
phk
9e8e07135f
Introduce commandline caching in the kernel.
...
This fixes some nasty procfs problems for SMP, makes ps(1) run much faster,
and makes ps(1) even less dependent on /proc which will aid chroot and
jails alike.
To disable this facility and revert to previous behaviour:
sysctl -w kern.ps_arg_cache_limit=0
For full details see the current@FreeBSD.org mail-archives.
1999-11-16 20:31:58 +00:00
jkoshy
2c048b0d9a
Link manual page for login_getpwclass(3) to login_cap(3).
...
PR: docs/14673
Submitted by: Andrew <andrew@ugh.net.au>
1999-11-04 08:33:18 +00:00
green
4899b61a6b
This implements the RLIMIT_SBSIZE ("sbsize") administrative limits for
...
userland. Currently, it can be enforced by login and csh. More
shells supporting sbsize are welcome.
1999-10-09 20:47:59 +00:00
phantom
0758474433
mdoc(7)'fy
...
Reviewed by: mpp
1999-09-21 19:39:27 +00:00
phantom
34985ba96d
Correct spelling : ascii -> ASCII
...
PR: docs/13702
Submitted by: Stephen J. Roznowski <sjr@home.com>
Reviewed by: mpp
1999-09-20 09:15:23 +00:00
peter
b6784c4210
$Id$ -> $FreeBSD$
1999-08-28 01:35:59 +00:00
peter
e226894fa0
$Id$ -> $FreeBSD$
1999-08-28 00:22:10 +00:00
peter
3b7c52fb9a
$Id$ -> $FreeBSD$
1999-08-27 23:15:48 +00:00
chris
24ff4e8603
Fix a bunch of broken cross-references
1999-08-18 05:55:22 +00:00
mpp
eed3878b2e
Various man page cleanup:
...
- Sort xrefs
- FreeBSD.ORG -> FreeBSD.org
- Be consistent with section names as outlines in mdoc(7)
- Other misc mdoc cleanup.
PR: doc/13144
Submitted by: Alexy M. Zelkin <phantom@cris.net>
1999-08-15 09:51:25 +00:00
chris
0ef3085422
Bad reference of termios(3) changed to termios(4).
1999-08-14 07:52:29 +00:00
chris
54eac00e8d
Bad reference to lstat(3) changed to lstat(2)
1999-08-14 07:43:02 +00:00
sheldonh
3433d56199
Axe LOGIN_CAP_AUTH.
...
PR: 10115
Reported by: Gene Skonicki <gene@cif.rochester.edu>
Requested by: jdp
1999-08-13 16:51:40 +00:00
nik
12c6c332a7
Correct some grammar and style problems with this page.
...
Submitted by: Kris Kennaway <root@rebel.net.au>
1999-07-20 20:46:26 +00:00
nik
d72e9660fb
Be a little clearer about login_getpwclass(3), and its penchant for
...
looking up a record called "root".
PR: docs/12377
Submitted by: Adrian Filipi-Martin <adrian@ubergeeks.com>
1999-07-14 22:36:10 +00:00
sheldonh
c7bb102692
Fix commented out CFLAGS addition for LOGIN_CAP_AUTH, which was missing
...
a make -D option.
PR: 12591
Submitted by: Craig Leres <leres@ee.lbl.gov>
1999-07-12 14:27:58 +00:00
pb
76f1b19c23
Move call to umask(0) back into pw_util(), because the latter
...
function is also used by chpass(1) and passwd(1).
1999-06-29 01:04:10 +00:00
pb
f79578648f
Force umask to 077 (instead of 000) during the edit phase, to get
...
secure permissions in case the user attempts to save something to
a file of his own.
Move umask stuff out of pw_init() into main() for better visibility
of overall umask tweaking logic.
PR: misc/11797
1999-06-26 12:15:39 +00:00
sheldonh
6a6011a9a8
Add -d option to vipw(8) to allow selection of an alternative directory
...
for the password files.
PR: 2703
Submitted by: jmg
1999-06-26 07:16:42 +00:00
jb
31bb8b56d3
Remove the static declaration from the line[] variable to allow
...
openpty() to be called from a threaded application.
1999-05-24 01:15:28 +00:00
jmz
163bdc4dd7
Chflags was clearing all flags supplied on the command line after a
...
clearing flag like dump or noschg, etc.
PR: bin/10071
Submitted by: Andreas Klussmann <andreas@infosys.heitec.net>
1999-05-21 17:04:13 +00:00
ache
c61d95a698
fix potential memory overwrite in escape parsing
...
PR: 11687
Submitted by: Don Lewis <Don.Lewis@tsc.tdk.com>
1999-05-13 16:16:46 +00:00
hoek
c58ef3f1c2
Change references from "passwordperiod" to "passwordtime", since
...
"passwordtime" is what passwd(1) has actually been using. I suspect
passwordperiod was the original intent. I can't figure-out which,
if either, BSDi uses. If anyone knows...
1999-04-30 18:19:46 +00:00
ache
f52d9e06ec
oops, add pwd!=NULL check to previous fix
1999-04-24 17:17:42 +00:00
ache
b0558c3afe
Switch to user UID/GID before checking/reading its ~/.login_conf
...
- some NFSes have root read access disabled
1999-04-24 17:01:58 +00:00
ache
c73dbb17e8
add MLINKS for two functions used from login_auth.c
...
comment out unused functions from login_auth.3
1999-04-24 16:30:30 +00:00
brian
07aac3540d
If given host.domain:nn[.nn], trimdomain() now reduces it to
...
host:nn[.nn] (if the domain is the same as the local one).
1999-04-09 01:54:10 +00:00
brian
e875e48ea9
bcopy -> memmove
...
Suggested by: archie
1999-04-08 08:00:06 +00:00
brian
ae4355856a
Tidy up trimdomain() and document it.
...
Don't truncate one byte short of the passed length.
1999-04-07 14:03:31 +00:00
brian
235e2fd6ec
Handle hostnames up to MAXHOSTNAMELEN-1 in length.
...
Use bcopy() instead of strcpy() to handle potentially
overlapping regions.
Un-obscure/complicate some code.
1999-04-07 08:27:04 +00:00
brian
694cb6221e
Put parenthesis around sizeof args.
...
Allow for host names up to MAXHOSTNAMELEN - 1 in length.
Prompted by: bde
1999-04-07 08:26:50 +00:00
brian
33d53a2f60
Add realhostname() - a function to correctly lookup
...
a name by address and ensure that the name resolves
back to the original address.
1999-04-06 23:02:35 +00:00
brian
ca64d9ce77
Get the pid right if a stale lock file exists.
...
PR: 10531
Submitted by: Lawrence D. Lopez <lopez@cisco.com>
1999-03-11 09:09:20 +00:00
bde
d25deb622d
Fixed bitrot in synopsis (some const poisoning had not reached here).
1999-03-05 17:08:23 +00:00
alex
52e14d9a01
Removed occurrences of consecutive repeated words (such as "the the").
1999-02-12 02:12:08 +00:00
bde
9046082ca0
Declare setproctitle() as printf0-like.
1998-12-16 17:52:15 +00:00
bde
50818432cb
Adjust for kern.ps_strings and PS_STRINGS not being a pointer. This is
...
an unimprovement here. I thought it would be an improvement, as in libkvm,
but here we can access the strings directly.
Use sysctlbyname() instead of sysctl() and trust it to give a nonzero
address if it succeeds.
1998-12-16 17:34:05 +00:00
dillon
8427b87a5c
oops. Fix indentation of the 'for' loop I just added.
1998-12-13 01:39:32 +00:00
dillon
9c6aa16142
Handle the race condition where vipw may lock a password file which has
...
just been replaced. After our lock succeeds we check if st_nlink is 0
and if it is we close the descriptor and retry our open/lock sequence.
1998-12-13 01:36:45 +00:00
jkh
24ee3c1135
Better document the file format, add in support for nested {}'s in multi-line
...
property values.
1998-11-22 13:20:09 +00:00
des
8ef896860e
Since vfork() was changed to fork(), we have to pass errno back from the
...
child to the parent somehow.
PR: 8353
Submitted by: Andrew J. Korty <ajk@purdue.edu>
1998-10-20 11:34:11 +00:00
jkh
239077d867
correct prototype.
1998-10-14 11:04:36 +00:00
des
d55d163bcc
Calls one or more of malloc(), warn(), err(), syslog(), execlp() or
...
execvp() in the child branch of a vfork(). Changed to use fork()
instead.
Some of these (mv, find, apply, xargs) might benefit greatly from
being rewritten to use vfork() properly.
PR: Loosely related to bin/8252
Approved by: jkh and bde
1998-10-13 14:52:33 +00:00
jkh
e7ff8169c7
Now take stdio.h out of files that don't require it.
1998-10-09 11:24:20 +00:00
jkh
6ed47f8f93
Update docs to match interface change.
1998-10-09 07:33:58 +00:00
jkh
2486be61d7
o move path in libutil.h to paths.h
...
o make property_read() take a fd instead to avoid stdio.h mess
o update auth to new interface.
1998-10-09 07:32:38 +00:00
jkh
6f4401a7cb
Take the path spec back out.
1998-10-09 07:28:14 +00:00
jkh
f0d295b433
All these have to include stdio.h now.
1998-10-09 00:39:09 +00:00
jkh
6400200a8d
remove stdio.h include; I forgot Bruce's cardinal rule that header files
...
shouldn't include other ones (which, unfortunately, is also a hellish
rule since he broke interfaces like sysctl this way by requiring undocumented
header files to be included just in order to be able to use them now - SIGH!).
1998-10-08 23:10:41 +00:00
jkh
2a6fa6f4e3
Add some rudimentary documentation for my new functions.
1998-10-08 06:53:32 +00:00
jkh
094c23829c
Correct a build error that got past my build test somehow.
1998-10-08 01:56:49 +00:00
jkh
96e3bb84cc
Add a simple mechanism for reading property lists from files (which
...
I'll convert sysinstall to use shortly) and a simple call which uses
this mechanism to implement an /etc/auth.conf file. I'll let Mark Murray
handle the format and checkin of the sample auth.conf file.
Reviewed by: markm
1998-10-07 17:32:49 +00:00
imp
c6419dc030
Replace memory leaking instances of realloc with non-leaking reallocf.
...
In some cases replace if (a == null) a = malloc(x); else a =
realloc(a, x); with simple reallocf(a, x). Per ANSI-C, this is
guaranteed to be the same thing.
I've been running these on my system here w/o ill effects for some
time. However, the CTM-express is at part 6 of 34 for the CAM
changes, so I've not been able to do a build world with the CAM in the
tree with these changes. Shouldn't impact anything, but...
1998-09-16 04:17:47 +00:00
ache
53c1d7832e
Print uid/gid as u_long per bde suggestion
1998-07-29 14:05:01 +00:00
ache
692c47fc35
cast arg to (long) to match format
1998-07-28 01:30:16 +00:00
brian
82817835b7
Cast pid_t to int for sprintf.
...
Pointed out by: Charlie Sorsby <crs@hgo.net>
1998-06-10 00:16:28 +00:00
jkoshy
93bb25d88b
Spelling corrections.
...
PR: 6868
Submitted by: Josh Gilliam <josh@quick.net>
1998-06-06 05:50:53 +00:00
ache
46b44ec42b
Add missing uu_lock_txfr() prototype
1998-06-05 08:21:33 +00:00
jb
686b0c5890
If using NetBSD syscalls the rtprio syscall doesn't exist, so just
...
don't try to use it to set special priorities.
1998-06-03 08:12:00 +00:00
amurai
e9e82fc544
Trim a domain part for wtmp as same as showed by "netstat -r".
...
Here is a some example for avoiding a confusion.
It asssumes a logged host domain is "spec.co.jp". All
example is longer than UT_HOSTNAMELEN value.
1) turbo.tama.spec.co.jp: 192.19.0.2 -> trubo.tama
2) turbo.tama.foo.co.jp : 192.19.0.2 -> 192.19.0.2
3) specgw.spec.co.jp : 202.32.13.1 -> specgw
Submitted by: Atsushi Murai <amurai@spec.co.jp>
1998-06-01 08:47:04 +00:00
brian
bfd6d855d8
Add uu_lock_txfr() to transfer ownership of a successful
...
uu_lock() to another process.
1998-05-28 23:17:09 +00:00
steve
0e740135e1
Allow setting of idle or realtime processing priorities per
...
login class.
PR: 6636
Submitted by: Jason Young <doogie@forbidden-donut.anet-stl.com>
1998-05-25 03:55:23 +00:00
dg
68b590047b
Oops, revert part of a diff that wasn't supposed to have been committed.
1998-04-28 07:02:33 +00:00
dg
b258916809
Cache the results of the ps_strings sysctl so that it doesn't have to be
...
redone for every call of setproctitle().
1998-04-28 06:59:14 +00:00
bde
3c7ce625cf
Fixed function types in synopsis.
...
Commented out docmentation of nonexistent authenticate() and
auth_timesok(). authenticate() seems to be obsolete and
auth_timesok() never existed in FreeBSD.
1998-03-23 13:29:49 +00:00
charnier
46f7bb5b5b
.Sh AUTHOR -> .Sh AUTHORS. Use .An/.Aq
1998-03-19 07:34:22 +00:00
fenner
043c465f01
Change tty-related capability names to match the implementation ("ttys.",
...
not "tty.").
1998-02-21 23:29:59 +00:00
jkh
36a58a34a2
MF22: add login_auth.3 to man page list.
1998-02-18 05:29:07 +00:00
steve
0ec5ed6c45
Correctly document h and m modifiers to the time format.
...
PR: 5739
Submitted by: Matthew Cashdollar <mattc@rfcnet.com>
1998-02-14 16:12:53 +00:00
bde
fd68a9a4e2
Fixed bitrot in the prototype for logwtmp().
1998-01-16 16:53:30 +00:00
jb
6bea153fe3
Make a couple of the stat flags dependent on the sys/stat.h header file
...
that this source is compiled against. This source is referenced by
install which is needed as a build tool and must be able to compile
against NetBSD headers and libraries if we have a hope of supporting
another architecture.
With this change, that's two working programs down and 3945 (?) to go.
The other one was make, but that didn't need any changes to work under
FreeBSD/Alpha. 8-)
1998-01-09 06:14:59 +00:00
steve
fa416abedc
Make the login_getclassbyname prototype match reality.
...
PR: 4838
1997-11-05 04:03:05 +00:00
charnier
0434878496
Statisize usage().
1997-10-27 07:53:22 +00:00
joerg
328af0ffe5
Remove the claim that UUCP locking were not atomic. It is since
...
revision 1.8 of uucplock.c.
1997-10-07 07:24:50 +00:00
obrien
a597ab8826
Add passwd(5) to "SEE ALSO".
...
ISSUES:
An example and better explansion on how to specify a user's login
class in /etc/master passwd is needed.
(As I don't seem to be specifiying it right, I can't do it).
1997-10-07 05:40:36 +00:00
jkh
068b44c29a
Changes to support full make parallelism (-j<n>) in the world
...
target.
Reviewed by: <many different folks>
Submitted by: Nickolay N. Dudorov" <nnd@nnd.itfs.nsk.su>
1997-10-05 09:40:24 +00:00
wosch
b215fc2e1e
Sort cross refereces in section SEE ALSO.
1997-09-29 19:11:55 +00:00
wosch
3c1738bcc0
Endless loop.
...
$ vipw
[corrupt a line in editor, exit editor]
pwd_mkdb: corrupted entry
pwd_mkdb: at line #2
pwd_mkdb:
/etc/pw.012585: Inappropriate file type or format
re-edit the password file? [y]: n^D^D
[hang]
1997-09-29 13:13:51 +00:00
pst
b7ff29b578
The parameters to logwtmp should be const char's
1997-09-04 22:38:59 +00:00
brian
c5afaa052c
Remove login_progok()
...
Suggested by: guido
1997-08-31 20:09:39 +00:00
brian
8b40cd7eec
Add full support for determining if a user
...
is restricted from running a given program.
1997-08-27 20:06:20 +00:00
brian
60e440ef1f
Add prog.deny as a list capability for
...
denying execution of certain programs.
1997-08-26 23:15:57 +00:00
bde
064a439a2c
-I${DESTDIR}/sys -> -I${.CURDIR}/../../sys.
1997-08-26 14:13:02 +00:00
joerg
bd623e7830
Cosmetic: distinguish in diag message between rebuilding and updating
...
the database.
PR: 3397
Submitted by: taob@risc.org (Brian Tao)
1997-08-24 18:23:21 +00:00
steve
259c300ba2
Protect the copyright comments from reformatting by
...
indent and make this compile -Wall clean like the
Makefile suggests that it should. :)
Pointed out by: Bruce Evans <bde@zeta.org.au>
1997-08-13 20:42:18 +00:00
ache
b1277d7174
Implement canonical locking protocol
...
Suggested by: joerg
1997-08-10 18:42:39 +00:00
steve
80cf4d73ac
Observe precedence set by Phillippe Charnier in adding an
...
rcsid.
1997-08-07 22:28:25 +00:00
steve
73c33f0d68
Remove #if(n)def BSD_4_4_LITE cruft and sccsid -> rcsid.
1997-08-07 15:33:50 +00:00