Index: /server/common/oursrc/lockeradm/bashrc
===================================================================
--- /server/common/oursrc/lockeradm/bashrc	(revision 3)
+++ /server/common/oursrc/lockeradm/bashrc	(revision 3)
@@ -0,0 +1,35 @@
+# System-wide .bashrc file for interactive bash(1) shells.
+
+. /etc/bashrc
+
+shopt -s checkwinsize
+
+# enable bash completion in interactive shells
+
+#if [ "$PS1" -a -f /etc/bash_completion ]; then
+#    . /etc/bash_completion
+#fi
+# ~/.bashrc: executed by bash(1) for non-login shells.
+
+export PS1='[\u@scripts]:\w\$ '
+umask 022
+
+# You may uncomment the following lines if you want `ls' to be colorized:
+# export LS_OPTIONS='--color=auto'
+# eval `dircolors`
+# alias ls='ls $LS_OPTIONS'
+# alias ll='ls $LS_OPTIONS -l'
+# alias l='ls $LS_OPTIONS -lA'
+#
+# Some more alias to avoid making mistakes:
+# alias rm='rm -i'
+# alias cp='cp -i'
+# alias mv='mv -i'
+
+if [ -f /mit/$USER/.bashrc.scripts ]; then
+	. /mit/$USER/.bashrc.scripts
+fi
+
+if [ -d ~/web_scripts ]; then
+	cd ~/web_scripts
+fi
Index: /server/common/oursrc/sqladm/signup-sql.c
===================================================================
--- /server/common/oursrc/sqladm/signup-sql.c	(revision 2)
+++ /server/common/oursrc/sqladm/signup-sql.c	(revision 3)
@@ -30,4 +30,19 @@
 	}
 
+#define NUMBUF 5
+#define BUFLEN 128
+	char buf[NUMBUF][BUFLEN];
+	char *env[NUMBUF+1];
+	int i = 0;
+	snprintf(buf[i++], BUFLEN-1, "%s=%s", "HOME", "/home/sql");
+	snprintf(buf[i++], BUFLEN-1, "%s=%s", "TERM", "xterm");
+	snprintf(buf[i++], BUFLEN-1, "%s=%s", "USER", "sql");
+	snprintf(buf[i++], BUFLEN-1, "%s=%s", "SHELL", "/usr/local/bin/bash");
+	snprintf(buf[i++], BUFLEN-1, "%s=%s", "PATH", "/usr/kerberos/bin:/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/bin:/usr/local/sbin");
+	for(i = 0; i < NUMBUF; i++) {
+		env[i] = buf[i];
+	}
+	env[i] = NULL;
+
 	char uid[21]; // 64-bit uid requires 21
 	char gid[21]; // 64-bit gid requires 21
@@ -56,5 +71,5 @@
 	}
 
-        execv(SIGNUP_PATH, v);
+        execle(SIGNUP_PATH, v, env);
 	return 1;
 }
Index: /server/fedora/specs/lockeradm.spec
===================================================================
--- /server/fedora/specs/lockeradm.spec	(revision 2)
+++ /server/fedora/specs/lockeradm.spec	(revision 3)
@@ -32,4 +32,5 @@
 install -D signup-scripts-frontend $RPM_BUILD_ROOT/usr/local/sbin/signup-scripts-frontend
 install -D signup-scripts-backend $RPM_BUILD_ROOT/usr/local/sbin/signup-scripts-backend
+install -D bashrc $RPM_BUILD_ROOT/usr/local/etc/bashrc
 
 %clean
@@ -38,4 +39,5 @@
 %files
 %defattr(0644, root, root)
+/usr/local/etc/bashrc
 %defattr(0755, root, root)
 /usr/local/sbin/admof
