BSD 4_4_Lite1 development
authorCSRG <csrg@ucbvax.Berkeley.EDU>
Mon, 21 Mar 1994 06:08:28 +0000 (22:08 -0800)
committerCSRG <csrg@ucbvax.Berkeley.EDU>
Mon, 21 Mar 1994 06:08:28 +0000 (22:08 -0800)
Work on file root/.login
Work on file .cshrc
Work on file root/.cshrc
Work on file root/.klogin
Work on file root/.rhosts

Synthesized-from: CSRG/cd2/4.4BSD-Lite1

.cshrc [new file with mode: 0644]
root/.cshrc [new file with mode: 0644]
root/.klogin [new file with mode: 0644]
root/.login [new file with mode: 0644]
root/.rhosts [new file with mode: 0644]

diff --git a/.cshrc b/.cshrc
new file mode 100644 (file)
index 0000000..3d467e5
--- /dev/null
+++ b/.cshrc
@@ -0,0 +1,26 @@
+set history=1000
+set path=(/sbin /usr/sbin /bin /usr/bin /usr/contrib/bin /usr/old/bin)
+
+# directory stuff: cdpath/cd/back
+set cdpath=(/sys /usr/src/{bin,sbin,usr.{bin,sbin},lib,libexec,share,contrib,local,games,old})
+alias  h       history -r
+alias  hup     'kill -HUP `cat /var/run/\!$.pid`'
+alias  j       jobs -l
+alias  k       jobs -l
+alias  ll      ls -l
+alias  x       exit
+alias  z       suspend
+
+alias  back    'set back=$old; set old=$cwd; cd $back; unset back; dirs'
+alias  cd      'set old=$cwd; chdir \!*'
+alias  pd      pushd
+alias  pd2     pushd +2
+alias  pd3     pushd +3
+alias  pd4     pushd +4
+alias  tset    'set noglob histchars=""; eval `\tset -s \!*`; unset noglob histchars'
+
+if ($?prompt) then
+       set prompt="`hostname -s`# "
+endif
+
+umask 022
diff --git a/root/.cshrc b/root/.cshrc
new file mode 100644 (file)
index 0000000..3d467e5
--- /dev/null
@@ -0,0 +1,26 @@
+set history=1000
+set path=(/sbin /usr/sbin /bin /usr/bin /usr/contrib/bin /usr/old/bin)
+
+# directory stuff: cdpath/cd/back
+set cdpath=(/sys /usr/src/{bin,sbin,usr.{bin,sbin},lib,libexec,share,contrib,local,games,old})
+alias  h       history -r
+alias  hup     'kill -HUP `cat /var/run/\!$.pid`'
+alias  j       jobs -l
+alias  k       jobs -l
+alias  ll      ls -l
+alias  x       exit
+alias  z       suspend
+
+alias  back    'set back=$old; set old=$cwd; cd $back; unset back; dirs'
+alias  cd      'set old=$cwd; chdir \!*'
+alias  pd      pushd
+alias  pd2     pushd +2
+alias  pd3     pushd +3
+alias  pd4     pushd +4
+alias  tset    'set noglob histchars=""; eval `\tset -s \!*`; unset noglob histchars'
+
+if ($?prompt) then
+       set prompt="`hostname -s`# "
+endif
+
+umask 022
diff --git a/root/.klogin b/root/.klogin
new file mode 100644 (file)
index 0000000..8de6b57
--- /dev/null
@@ -0,0 +1,2 @@
+user1.root@your.realm.wherever
+user2.root@your.realm.wherever
diff --git a/root/.login b/root/.login
new file mode 100644 (file)
index 0000000..e7d5879
--- /dev/null
@@ -0,0 +1,9 @@
+setenv BLOCKSIZE 1k
+
+tset -Q \?$TERM
+echo 'erase ^H, kill ^U, intr ^C status ^T'
+stty erase '^H' kill '^U' intr '^C' status '^T' crt
+
+umask 022
+
+echo "Don't login as root, use the su command."
diff --git a/root/.rhosts b/root/.rhosts
new file mode 100644 (file)
index 0000000..77e3d18
--- /dev/null
@@ -0,0 +1 @@
+trustedhost.wherever.domain