$Log$
+Revision 1.411 1999/11/03 04:01:20 ajc
+* Fixed buffer overrun problems in cmd_rchg(), cmd_hchg(), and cmd_uchg()
+* Removed my email address as the feedback content from the docs; replaced
+ it with a reference to the Citadel/UX web site.
+
Revision 1.410 1999/11/02 19:51:23 ajc
* Fixed timeout problem for remote client sessions (all timeouts were set to
1 second ... probably a temporary hack that was missed in the cleanup)
Fri Jul 10 1998 Art Cancro <ajc@uncnsrd.mt-kisco.ny.us>
* Initial CVS import
-
Citadel/UX release notes -- version 5.50
+
+ ALL FURTHER CHANGES WILL BE IN THE "ChangeLog" FILE.
- Please see the file "ChangeLog" for more information.
+ Please view that file for further information.
to Citadel/UX and tried to implement the most-often-added and most-requested
features to the stock distribution. If there's a feature you want/need that
still isn't here, drop me a line and I'll see what I can do about adding it
-to the next release. I can be contacted at ajc@uncnsrd.mt-kisco.ny.us or
-simply log on to my BBS at uncnsrd.mt-kisco.ny.us (internet) or 914-244-3252
-(dialup).
+to the next release.
+
+
+
+
+ For more information, visit the Citadel/UX web site at UNCENSORED! BBS
+ http://uncnsrd.mt-kisco.ny.us
+
+
void cmd_rchg(char *argbuf)
{
- char newroomname[ROOMNAMELEN];
+ char newroomname[256];
extract(newroomname, argbuf, 0);
newroomname[ROOMNAMELEN-1] = 0;
void cmd_hchg(char *argbuf)
{
- char newhostname[25];
+ char newhostname[256];
extract(newhostname, argbuf, 0);
- newhostname[24] = 0;
if (strlen(newhostname) > 0) {
safestrncpy(CC->fake_hostname, newhostname,
sizeof(CC->fake_hostname) );
cprintf("%d OK\n", OK);
}
-void cmd_uchg(char *newusername)
+void cmd_uchg(char *argbuf)
{
- if (CC->usersupp.axlevel < 6)
- {
- cprintf("%d You must be an Aide to use UCHG.\n",
- ERROR+HIGHER_ACCESS_REQUIRED);
- return;
- }
- if ((newusername) && (newusername[0]))
- {
- CC->cs_flags &= ~CS_STEALTH;
- memset(CC->fake_username, 0, 32);
- if (strncasecmp(newusername, CC->curr_user, strlen(CC->curr_user)))
- safestrncpy(CC->fake_username, newusername, sizeof(CC->fake_username));
- }
- else
- {
- CC->fake_username[0] = '\0';
- CC->cs_flags |= CS_STEALTH;
- }
- cprintf("%d\n",OK);
+
+ char newusername[256];
+
+ extract(newusername, argbuf, 0);
+
+ if (CC->usersupp.axlevel < 6) {
+ cprintf("%d You must be an Aide to masquerade your name.\n",
+ ERROR+HIGHER_ACCESS_REQUIRED);
+ return;
+ }
+
+ if (strlen(newusername) > 0) {
+ CC->cs_flags &= ~CS_STEALTH;
+ memset(CC->fake_username, 0, 32);
+ if (strncasecmp(newusername, CC->curr_user,
+ strlen(CC->curr_user)))
+ safestrncpy(CC->fake_username, newusername,
+ sizeof(CC->fake_username));
+ }
+ else {
+ CC->fake_username[0] = '\0';
+ CC->cs_flags |= CS_STEALTH;
+ }
+ cprintf("%d\n",OK);
}
+
+
/*
* returns an asterisk if there are any express messages waiting,
* space otherwise.
You should have received a copy of the GNU General Public License
along with this program; if not, write to the Free Software
Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
-
- Feedback concerning Citadel/UX goes to: ajc@uncnsrd.mt-kisco.ny.us
- The home of Citadel/UX is UNCENSORED! BBS:
- telnet://uncnsrd.mt-kisco.ny.us
- http://uncnsrd.mt-kisco.ny.us
- 914-244-3252 (modem)
+
+ For more information, visit the Citadel/UX web site at UNCENSORED! BBS
+ http://uncnsrd.mt-kisco.ny.us
+
THE PEANUT GALLERY
- That's just about all the information you need to install the system. If
-you have any comments, suggestions, bomb threats, etc., send them to
-ajc@uncnsrd.mt-kisco.ny.us or call Uncensored Communications Group BBS at
-(914) 244-3252 (modem) or uncnsrd.mt-kisco.ny.us (Internet).
+ That's just about all the information you need to install the system.
+ For more information, visit the Citadel/UX web site at UNCENSORED! BBS
+ http://uncnsrd.mt-kisco.ny.us
+
+
CONCLUSION
-
- Comments from the Peanut Gallery should be directed to (at) my email
-address ajc@uncnsrd.mt-kisco.ny.us, or call UNCENSORED! BBS at 914-244-3252
-(modem) or uncnsrd.mt-kisco.ny.us (Internet).
+
+ For more information, visit the Citadel/UX web site at UNCENSORED! BBS
+ http://uncnsrd.mt-kisco.ny.us
+
hack.txt for Citadel/UX
- written by Art Cancro (ajc@uncnsrd.mt-kisco.ny.us)
+ (possibly a little out of date)
Much of this document is borrowed from the original hack.doc from
Citadel-CP/M and Citadel-86, because many of the concepts are the same. Hats
developments ahead of time, please at least send in an e-mail documenting
what you did, so that your new commands can be added to this document.
- The coordinator of the Citadel/UX project is Art Cancro <ajc@uncnsrd.mt-kisco.ny.us>.
+ The coordinator of the Citadel/UX project is Art Cancro
+<ajc@uncnsrd.mt-kisco.ny.us>.
CONNECTING TO A SERVER
--------------------------------------------------------------------------
- That should cover all of the included utilities. Comments, suggestions,
-etc. may be sent to ajc@uncnsrd.mt-kisco.ny.us or call UNCENSORED! BBS at
-(914) 244-3252 (modem) or uncnsrd.mt-kisco.ny.us (Internet).
+ That should cover all of the included utilities.
+ For more information, visit the Citadel/UX web site at UNCENSORED! BBS
+ http://uncnsrd.mt-kisco.ny.us
+