stefanf
d00a4eaaea
Pass an array of gid_t rather than an array of int to getgroups().
...
PR: 56646
2004-10-02 11:40:48 +00:00
dwmalone
6ad6fb7431
Add missing %s so that all of the usage message gets printed.
...
Bump WARNS to 6 while I'm here.
2004-05-19 21:06:36 +00:00
ru
f87994f699
Bump document date on behalf of the -M option.
2004-05-18 20:36:54 +00:00
rwatson
bbf5b43ff8
Add "-M" argument to id(1), which permits the id command to be used
...
to print the MAC label of the current process. "-M" selected as that's
what is used in Trusted IRIX.
Obtained from: TrustedBSD Project
Sponsored by: DARPA, McAfee Research
2004-05-03 22:50:23 +00:00
dwmalone
b4339b74ad
ANSIify function definitions.
...
Add some constness to avoid some warnings.
Remove use register keyword.
Deal with missing/unneeded extern/prototypes.
Some minor type changes/casts to avoid warnings.
Reviewed by: md5
2002-09-04 23:29:10 +00:00
jmallett
2b6e4e1504
Remove local prototypes for main().
2002-08-19 03:07:56 +00:00
obrien
bc61fc95d8
Consistently use FBSDID
2002-06-30 05:25:07 +00:00
imp
74d826c7a6
remove __P
2002-03-22 01:22:50 +00:00
markm
ae2558974f
Remove leaf node WARNS?=2 (that mainly I added). This should
...
help the GCC3 transition and CURRENT in general.
2002-02-08 22:31:43 +00:00
ru
e177b37bfd
Fold groups(1) and whoami(1) into id(1).
2001-09-14 14:04:08 +00:00
ru
fcbb572f70
Now that we have it, replace `afterinstall' target with SCRIPTS.
2001-09-13 14:26:31 +00:00
ru
bde8ec1b70
mdoc(7) police: utilize the new .Ex macro.
2001-08-15 09:09:47 +00:00
ru
36f138439b
mdoc(7) police: removed HISTORY info from the .Os call.
2001-07-10 14:16:33 +00:00
dd
ec2af058ec
Silence warnings (most about constness) and clamp down with WARNS=2.
...
Tested on i386 and alpha.
2001-05-28 06:14:48 +00:00
dd
79b7ca8187
Print commas in the group list in user(). current() already did this.
...
Reviewed by: ru, sheldonh
Inspired by: OpenBSD, NetBSD
2001-05-20 20:32:13 +00:00
ru
89596e4538
MAN[1-9] -> MAN.
2001-03-27 10:52:19 +00:00
ru
0d1334ca0c
mdoc(7) police: use the new features of the Nm macro.
2000-11-20 19:21:22 +00:00
ru
97db99868e
.UC -> .Os
2000-11-06 09:27:03 +00:00
charnier
0a686ed3d8
DIAGNOSTICS section name missing and .Nm changes
2000-03-26 14:24:40 +00:00
billf
b6f5158016
Cast pw_change and pw_expire to long and fix the format specifier accordingly.
1999-09-06 20:07:12 +00:00
chris
1eef2252ef
Remove unused variables.
1999-09-05 23:27:53 +00:00
chris
17831c333c
Properly document -P and -p flags.
1999-09-01 22:56:44 +00:00
peter
3b842d34e8
$Id$ -> $FreeBSD$
1999-08-28 01:08:13 +00:00
nik
6578739ddb
Add $Id$, to make it simpler for members of the translation teams to
...
track.
The $Id$ line is normally at the bottom of the main comment block in the
man page, separated from the rest of the manpage by an empty comment,
like so;
.\" $Id$
.\"
If the immediately preceding comment is a @(#) format ID marker than the
the $Id$ will line up underneath it with no intervening blank lines.
Otherwise, an additional blank line is inserted.
Approved by: bde
1999-07-12 20:24:20 +00:00
billf
4822432874
Clean up some ambiguous nested if/elses.
1999-07-04 17:26:16 +00:00
obrien
64c7d46ad0
Add "-P" display the id as a password file entry.
...
Submitted by: terry
1998-08-21 06:47:58 +00:00
alex
e3529c7a82
Use .Nm id' instead of
.Nm' for the synopsis lines.
...
PR: 5876
1998-02-28 21:37:54 +00:00
steve
1e009eea0e
Missing newline when euid != ruid.
...
PR: 5778
Submitted by: Martin Kammerhofer <dada@sbox.tu-graz.ac.at>
1998-02-18 17:35:16 +00:00
charnier
793ad1484d
Use err(3) instead of local redefinition. Silent -Wall.
1997-07-15 09:48:49 +00:00
steve
7a5541cde7
Show the real revision date and not the date that this
...
manpage is being viewed.
1997-06-23 04:03:49 +00:00
jmg
4deb06a037
`appears'' ->
`appeared'' (closes PR#3393, Submitted-by: Josh Gilliam)
...
add missing Id's
other minor clean ups
1997-04-27 08:45:46 +00:00
imp
141381e1cb
compare return value from getopt against -1 rather than EOF, per the final
...
posix standard on the topic.
1997-03-29 04:34:07 +00:00
peter
f390c26dd9
Revert $FreeBSD$ to $Id$
1997-02-22 19:58:13 +00:00
wosch
55fe02abd1
${DESTDIR}/usr/bin -> ${DESTDIR}${BINDIR}
1997-02-02 14:41:43 +00:00
jkh
808a36ef65
Make the long-awaited change from $Id$ to $FreeBSD$
...
This will make a number of things easier in the future, as well as (finally!)
avoiding the Id-smashing problem which has plagued developers for so long.
Boy, I'm glad we're not using sup anymore. This update would have been
insane otherwise.
1997-01-14 07:20:47 +00:00
wosch
36dc973b91
add PATH variable
1996-11-05 07:24:48 +00:00
wosch
5b9a9c84b8
add PATH variable
...
better argument handling
1996-11-05 07:22:47 +00:00
dg
3d1e990fe4
Fixed bug where 'id <user>' output the wrong group name (the user name
...
was output instead). Pointed out by Chael Hall <nowhere@chaos.taylored.com>.
1995-08-28 10:23:58 +00:00
bde
f5284ed86d
Change install' to
${INSTALL}' so that default install flags can be
...
specified in the top level Makefiles.
1995-07-25 00:37:58 +00:00
rgrimes
a14d555c87
Remove trailing whitespace.
1995-05-30 06:41:30 +00:00
wollman
9414ff06a1
Make id' and
groups' somewhat faster and less cpu-intensive :-)
...
Really!
1994-10-11 02:13:21 +00:00
wollman
3ac06aac07
More merry makefile munging for man page compatability.
1994-08-05 19:00:04 +00:00
rgrimes
0b8115bc82
Cleanup so that make install can run, many install: maninstall changed
...
to just install:, sperious targets and CLEANFILES removed.
1994-05-30 14:17:23 +00:00
rgrimes
f9ab90d9d6
BSD 4.4 Lite Usr.bin Sources
1994-05-27 12:33:43 +00:00