mirror of
https://github.com/GnoConsortium/gno.git
synced 2025-01-04 22:30:42 +00:00
330e74b7e9
- initial checkin README: - updated installation notes installit, newuserv.c: - deleted (obsolete) newuser.1: - renamed to newuser.8 newuser.c, newuser.8: - account home directories are now made in /home rather than /user - made all the routines internal to this file to be class 'static' - fit sources into GNO base distribution builds - added checks for parsing NEWID_FILE - added various conchecks to prevent buffer overflow and similar problems - ensure the password is at least MIN_PASSWD_LEN characters long - don't set the terminal type; that is the responsibility of initd/getty. - instead of creating explicit files in the user's home directory, copy every file that is in the SKELETONS directory. - account creation is now logged via syslogd - added -g flag for selecting non-default group ids - check to ensure that the new uid returned by get_next_uid is not already in use; if it is, then log a warning via syslog, skip it, and get another uid
19 lines
393 B
Plaintext
19 lines
393 B
Plaintext
/*
|
|
* $Id: newuser.rez,v 1.1 1999/02/15 00:22:11 gdr-ftp Exp $
|
|
*/
|
|
|
|
#include "Types.Rez"
|
|
#include "builddate.rez"
|
|
|
|
resource rVersion (0x1, purgeable3, nocrossbank) {
|
|
|
|
{ 1, 2, 0, /* version */
|
|
release, /* development|alpha|beta|final|release */
|
|
0 /* non-final release number */
|
|
},
|
|
verUS,
|
|
"newuser/newuserv",
|
|
"create new accounts\n"
|
|
BUILD_DATE
|
|
};
|