summaryrefslogtreecommitdiffstats
path: root/chpass/table.c
Commit message (Collapse)AuthorAgeFilesLines
* General further adoption of SPDX licensing ID tags.Pedro F. Giffuni2017-11-201-0/+2
| | | | | | | | | | | | | | Mainly focus on files that use BSD 3-Clause license. The Software Package Data Exchange (SPDX) group provides a specification to make it easier for automated tools to detect and summarize well known opensource licenses. We are gradually adopting the specification, noting that the tags are considered only advisory and do not, in any way, superceed or replace the license texts. Special thanks to Wind River for providing access to "The Duke of Highlander" tool: an older (2014) run over FreeBSD tree was useful as a starting point.
* Renumber copyright clause 4Warner Losh2017-02-281-1/+1
| | | | | | | | | Renumber cluase 4 to 3, per what everybody else did when BSD granted them permission to remove clause 3. My insistance on keeping the same numbering for legal reasons is too pedantic, so give up on that point. Submitted by: Jan Schaumann <jschauma@stevens.edu> Pull Request: https://github.com/freebsd/freebsd/pull/96
* Mark the structure fields as const.Ed Schouten2011-11-061-0/+62
| | | | | This allows us to simply place these strings as constants in the table itself, letting the compiler decide to simply merge duplicate strings.
* Create the altix project branch. The altix project will add supportMarcel Moolenaar2010-03-101-69/+0
| | | | | | | for the SGI Altix 350 to FreeBSD/ia64. The hardware used for porting is a two-module system, consisting of a base compute module and a CPU expansion module. SGI's NUMAFlex architecture can be an excellent platform to test CPU affinity and NUMA-aware features in FreeBSD.
* Make GCC 3.3 happy with rcsid[], sccs[], and copyright[].David E. O'Brien2003-05-031-0/+2
|
* Consistently use FBSDIDDavid E. O'Brien2002-06-301-1/+0
|
* Fix warns, ANSIfy, use __FBSDID(), sort headers.Mark Murray2002-03-241-16/+19
|
* Change the prompt for the office location field from "Location:"Guy Helmer1999-02-231-1/+1
| | | | | | | | | | | | | | to "Office Location:" to disambiguate what is expected. Add a note to the man page to indicate that the office location and office phone fields are concatenated and printed with the heading "Office:" by finger(1). Swap the order of the home and office phone fields in the man page to match the order of the fields in the editor. If any programs interact with chpass(1) and expect "Location:" instead of "Office Location:" as the prompt, either this change will have to be reverted or the other programs will have to be changed. PR: docs/7533
* Tweaks to allow compiling -Wall (mostly adding "const" to char rcsid[]).Archie Cobbs1998-12-061-1/+1
|
* Submitted by: Peter Hawkins <thepish@FreeBSD.org>Peter Hawkins1998-08-141-0/+1
| | | | | | Add functionality for support for more than 4 subfields within gcos. chsh, chpass etc did not parse beyond the 4th field previously and so truncated gcos on updating the database.
* Add new option to chpass: -e "expire" ; change the account expire timePeter Wemm1996-08-121-0/+4
| | | | | | | | | | | | | | | from a script as if it was done in the interactive editor. When reassembling the gecos string, trim any excess trailing commas, they look ugly in the passwd file. :-) Have a simple Makefile tweak to prevent mortal users from changing their fullname. As ISP's we have seem some real bizzare stuff here.. When decoding the change/expire string, allow the month number as a synonym for the name of the month.. (ie: 1 as well as Jan or January) Note that using numbers means there's a chance that you can get bitten if you're not used to the American DD-MM-YY order.
* Somewhere along the line, somebody decided to make the 'full name' fieldBill Paul1995-06-231-1/+1
| | | | | | | | | | | | restricted. Am I the only one who sees the absurdity of having chfn be a link to chpass, and then denying users permission to use chpass to change their full names? Of course, chpass has a much more severe bug in it, which is that it allows users to change their password database info without first asking them for their password. I hope to fix this at some point so that I can merge ypchpass, ypchfn, ypchsh and chpass into one program (password authentication is required for changing NIS data).
* Fixes for chpass.Jordan K. Hubbard1995-02-091-1/+1
| | | | Submitted by: Heikki Suonsivu <hsu@cs.hut.fi>
* BSD 4.4 Lite Usr.bin SourcesRodney W. Grimes1994-05-271-0/+60