]> andersk Git - moira.git/commitdiff
tcsh is dead. Long live bash.
authorzacheiss <zacheiss>
Tue, 31 Mar 2009 19:13:09 +0000 (19:13 +0000)
committerzacheiss <zacheiss>
Tue, 31 Mar 2009 19:13:09 +0000 (19:13 +0000)
clients/addusr/addusr.c
clients/moira/user.c
clients/mrtest/scripts/users.sc
clients/stanley/stanley.c
man/addusr.1
regtape/common.pc

index 8ee440e7cf698659c4cb1344605d86ed925f49f4..e31d6aa2fdd07f5d90eb67bf47eacd17d4926dd9 100644 (file)
@@ -33,9 +33,9 @@ struct owner_type {
 #define M_NONE         4
 
 #ifdef ATHENA
-#define DEFAULT_SHELL "/bin/athena/tcsh"
+#define DEFAULT_SHELL "/bin/athena/bash"
 #else
-#define DEFAULT_SHELL "/bin/csh"
+#define DEFAULT_SHELL "/bin/bash"
 #endif
 
 #define DEFAULT_WINCONSOLESHELL "cmd"
index 71b4d3a4c7977051f1ed0e374949096e810cdfe3..0ed1762ec22f3a7ff710a5e87b3fd9fd7ed68fbe 100644 (file)
@@ -42,9 +42,9 @@ struct mqelem *GetUserBySponsor(char *type, char *name);
 #define ID 4
 
 #ifdef ATHENA
-#define DEFAULT_SHELL "/bin/athena/tcsh"
+#define DEFAULT_SHELL "/bin/athena/bash"
 #else
-#define DEFAULT_SHELL "/bin/csh"
+#define DEFAULT_SHELL "/bin/bash"
 #endif
 #define DEFAULT_CLASS "?"
 
index c44090e36ed6f18369ba4008fd71eda896a25152..199def5112e959a8301c4e88be7f1151a5201370 100644 (file)
@@ -60,7 +60,7 @@ qy gubl tested
 
 qy _help uush
 qy gubl tested
-qy uush tested /bin/tcsh
+qy uush tested /bin/bash
 qy gubl tested
 
 qy _help uust
index f34f61176e21436e3d0e25565271c23d6fd7c18b..e12cf334460b308f838ce7391f2dea3c1aaf27a6 100644 (file)
@@ -342,7 +342,7 @@ int main(int argc, char **argv)
       if (shell)
        argv[U_SHELL] = shell;
       else
-       argv[U_SHELL] = "/bin/athena/tcsh";
+       argv[U_SHELL] = "/bin/athena/bash";
       if (winshell)
        argv[U_WINCONSOLESHELL] = winshell;
       else
index 0bc976bcf3f16bb483e3b433b2ceadcffd11493b..198f790efae4efe881824099788b312859258fd2 100644 (file)
@@ -51,8 +51,8 @@ in this invocation.  If not specified, \fI0 (registerable)\fR will be used.
 .IP \fB-shell\ \fIshell\ \fRor\ \fB-h\ \fIshell\fR:
 This specifies the login shell that will be stored for all users added
 in this invocation.  If not specified, a default will be used.  At MIT
-Athena the default is \fI/bin/athena/tcsh\fR, elsewhere it is likely to be 
-\fI/bin/csh\fR.
+Athena the default is \fI/bin/athena/bash\fR, elsewhere it is likely to be 
+\fI/bin/bash\fR.
 .IP \fB-winshell\ \fIshell\ \fRor\ \fB-w\ \fIshell\fR:
 This specifies the Windows console shell that will be used for all users
 added in this invocation.  If not specified, a default value of
index 74299bcaaf4541379a50a1db4a1381b763fdc59a..6dabac2e25d0d86b2ae289e66983652bed7ce942 100644 (file)
@@ -282,7 +282,7 @@ void newuser(struct entry *e, int secure)
      fmodby, fmodwith, potype, pmodtime, pmodby, pmodwith,
      xname, xdept, xtitle, xaddress, xphone1, xphone2, xmodtime, secure,
      created, creator, winhomedir, winprofiledir, sponsor_type, sponsor_id, expiration)
-    VALUES (:login, :users_id, :uid, '/bin/athena/tcsh', 'cmd',
+    VALUES (:login, :users_id, :uid, '/bin/athena/bash', 'cmd',
            NVL(:last, CHR(0)), NVL(:first, CHR(0)), NVL(:middle, CHR(0)),
            :st, NVL(:id, CHR(0)), NVL(:type, CHR(0)), SYSDATE, :who, :prog,
            NVL(:name, CHR(0)), NVL(:dept, CHR(0)), NVL(:haddr, CHR(0)),
This page took 0.129638 seconds and 5 git commands to generate.