summaryrefslogtreecommitdiffstats
path: root/usr.sbin/sysinstall/user.c
Commit message (Collapse)AuthorAgeFilesLines
* Farewall, sysinstall! You served us well for many years, but 10.0 is onenwhitehorn2011-10-031-751/+0
| | | | | | | | digit beyond your time. Various sysinstall dependencies (e.g. libftpio, libdisk, libodialog, etc.) will be cleaned up in coming days. Some will take longer than others due to a few other consumers (tzsetup and sade).
* Don't let sysinstall depend on <utmp.h>.ed2009-12-091-4/+3
| | | | | Looking at the other entries, I suspect we must also reserve one terminating byte, so I'm using UNAME_FIELD_LEN - 1, not UNAME_FIELD_LEN.
* It is believed the last of the base system that could have an issue withkensmith2009-07-221-10/+10
| | | | | | | IDs larger than 16-bits has been updated so adjust sysinstall to allow IDs up to the current system-wide size of 32-bits. Approved by: re (kib)
* Clear confirm password field first when adding new user.ganbold2009-03-181-0/+1
| | | | | | PR: i386/132580 Reported by: ilgiz <ilgiz at reid.ru> Approved by: kensmith
* Add confirmation of the password that got entered.kensmith2008-12-161-16/+25
| | | | PR: 29893 (among others)
* Fix numerous warnings. Aside from menu items in system.c and menu.cjhb2006-02-281-2/+2
| | | | | | | | this now compiles on i386 with WARNS?= 3. Most of the fixes included adding missing 'static' keywords to internal functions, using fully-defined terminators in statically defined arrays of structs, and various signed vs unsigned mismatches. Also G/C'd unused configSecurity() function.
* Fixed assorted misuses of NULL in integer context.bde2004-03-111-2/+2
|
* add missing setusershell() calls.charnier2004-01-181-0/+1
| | | | | PR: bin/2442 Reviewed by: Friedemann Becker <zxmxy33@mail.uni-tuebingen.de>
* Mark relevant functions __printflike()/__printf0like() and silence some ofkris2001-07-051-2/+2
| | | | | | the non-constant format string warnings. MFC after: 1 week
* More error checking and idiot-proofing for the user editor.murray2000-04-081-2/+16
| | | | | PR: 14318 Approved by: jkh
* $Id$ -> $FreeBSD$peter1999-08-281-1/+1
|
* Add a registration screen so we can finally start counting our little userjkh1997-03-091-1/+3
| | | | puppies.
* Revert $FreeBSD$ to $Id$peter1997-02-221-1/+1
|
* Don't initialize homedir value. When called this early, pw(8) has nojkh1997-02-181-1/+0
| | | | reasonable data for it.
* Fix broken layout help (this is what broke the TCP help screen).jkh1997-01-291-20/+20
| | | | | Allow DITEM_NO_ECHO to be encoded in layout field types and make user.c use it for the password item.
* OK, I've got two ideas to file in the "really seemed like a good ideajkh1997-01-241-4/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | at the time, but on further reflection..." bucket with these changes. 1. Checking the media before frobbing the disks was a fine idea, and I wish it could have worked, but that leads to a rather difficult situation when you need to mount the media someplace and you're about to: a) Chroot away from your present root. b) Newfs the root to be. You're basically screwed since there's no place to stick the mount point where it will be found following the newfs/chroot (and eliminating the chroot in favor of just using the "root bias" feature would work great for the distributions but not the pkg_add calls done by the package installer). 2. Automatic timeout handling. I don't know why, but alarm() frequently returns no residual even when the alarm didn't go off, which defies the man page but hey, since when was that so unusual? Take out timeouts but retain the code which temporarily replaces the SIGINT handler in favor of a more media-specific handler. This way, at least, if it's hanging you can at least whap it. I think the timeout code would have been losing over *really slow* links anyway, so it's probably best that it go. This should fix NFS, tape & CDROM installs again (serves me right for getting complacent and using just the FTP installs in my testing).
* Fix several problems:jkh1997-01-151-5/+5
| | | | | | | 1. Bus mouse selection didn't show up properly in mouse menu. 2. U&G management screen didn't respect cancel properly. 3. Novice not prompted to add users or set root password during installation. 4. Username length changes screw up user management form.
* Make the long-awaited change from $Id$ to $FreeBSD$jkh1997-01-141-1/+1
| | | | | | | | 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.
* Adjust the maximum displayed length.jkh1997-01-031-2/+2
| | | | Submitted-By: Tatsumi Hosokawa <hosokawa@mt.cs.keio.ac.jp>
* Do something I've wanted to do for quite some time - collapse all thejkh1997-01-031-324/+106
| | | | | common layout code into some work functions and make all the layout-using routine adopt them. Also reorganize includes and generally clean up.
* Increase the size of the vector that is allocated for execv(). Jordanjoerg1996-12-151-3/+3
| | | | apparently forgot this when adding the password feature.
* Now that I've got my source tree sorted out, bring all the thingsjkh1996-12-141-24/+43
| | | | I've been committing into 2.2 directly all this time.
* Update to benefit from David's recent changes to pw(8). The mostjoerg1996-12-101-25/+203
| | | | | | | | obvious effects are that most of the automagically chosen defaults will now be displayed while going through the menu, and an improved error handling thanks to the more detailed error status reporting. 2.2 fodder, but i'll leave it to Jordan's review.
* Slightly improve the wording of a ``not yet there'' message.joerg1996-12-091-2/+3
|
* Add Joerg's user management screen for David Nugent's pw(8) program, somethingjkh1996-12-091-0/+750
which will also need to be brought in before this screen will work. Add some commentary about how the slip startup code is bogus. Steal Joerg's loop for more properly closing all files and graft it into the EHS startup. My loop was functional but more bogus.
OpenPOWER on IntegriCloud