home *** CD-ROM | disk | FTP | other *** search
/ Usenet 1994 January / usenetsourcesnewsgroupsinfomagicjanuary1994.iso / sources / unix / volume22 / auth-utils / part01 / servers / startservers < prev   
Encoding:
Text File  |  1990-04-29  |  1.0 KB  |  30 lines

  1. #!/bin/sh
  2. # startservers version 1.0, 4/20/90.
  3. # Placed into the public domain by Daniel J. Bernstein.
  4.  
  5. # Script to start servers for all the normal ports.
  6. # Requires: attachport in /usr/local, setuid in /bin, various servers
  7. #        in /etc. The path names aren't necessary.
  8.  
  9. ATTACH=/usr/local/attachport
  10. SETUID=/bin/setuid
  11.  
  12. # The Authentication Server daemon. (-R is default for port 113.)
  13. $ATTACH -vRXp auth $SETUID auth /etc/authd &
  14.  
  15. # Services provided through trivial shell scripts
  16. $ATTACH -vRXp echo $SETUID nobody /etc/in.echod &
  17. $ATTACH -vRXp discard $SETUID nobody /etc/in.nulld &
  18. $ATTACH -vRp daytime $SETUID nobody /etc/in.daytimed &
  19. $ATTACH -vp finger $SETUID nobody /etc/in.fingerd &
  20. $ATTACH -vRp users $SETUID nobody /etc/in.usersd &
  21. $ATTACH -vRXp chargen $SETUID nobody /etc/in.chargend &
  22.  
  23. # Services provided through not so trivial programs
  24. $ATTACH -vp ftp /etc/ftpd &
  25. $ATTACH -vp telnet /etc/telnetd &
  26. $ATTACH -vp shell /etc/rshd &
  27. $ATTACH -vp login /etc/rlogind &
  28. $ATTACH -vp exec /etc/rexecd &
  29. $ATTACH -vp uucp $SETUID uucp /etc/uucpd &
  30.