]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
Changes so the 'pw' command will allow '$' as the last character in a userid
authorGarance A Drosehn <gad@FreeBSD.org>
Tue, 28 Jan 2003 01:21:57 +0000 (01:21 +0000)
committerGarance A Drosehn <gad@FreeBSD.org>
Tue, 28 Jan 2003 01:21:57 +0000 (01:21 +0000)
commit84a0950aeafd4a17e8dc8b5b04e0c82f88eb08ae
tree38832e09a665bb76c485157cbf8fb9232a69583d
parent9015b953d6596c6006b6b7a2c322c04160eb8c6d
Changes so the 'pw' command will allow '$' as the last character in a userid
or group name (mainly for the benefit of samba).  This pretty much rewrites
he pw_checkname() routine, but should work exactly the same except for the
above change, and that error messages are somewhat more informative.

PR: 28733 46890
Inspired by: example patch written by Terry Lambert
Reviewed by: no objections on freebsd-arch and freebsd-current
MFC plans: no plans, but will do if people want it in stable.
usr.sbin/pw/pw_user.c