|
|
1.1 ! root 1: This directory contains files to help you set up a public-access directory ! 2: service on an X29 address. ! 3: ! 4: It assumes the use of x29d, the public-domain X29 listner available from ! 5: Cambridge University, UK. For details, mail [email protected] ! 6: with the following message: ! 7: ! 8: Request: catalogue ! 9: Topic: x25d ! 10: Request: end ! 11: ! 12: ! 13: It may be possible to mount a similar service using other X29 listners ! 14: or even by using telnet on IP networks to call a special port. Neither ! 15: option has been tested at Brunel. ! 16: ! 17: Setting up the service: ! 18: ! 19: Make a directory to hold the files. This should be in a stable part of ! 20: local filestore. At Brunel we use /usr/local/lib/public-widget. ! 21: ! 22: Copy the script 'startup' to the new directory, and also copy 'LOGIN' to ! 23: .login in the same directory. ! 24: ! 25: Edit 'startup' to give appropriate prompts and messages. ! 26: If you do not have X installed, you will need to delete the reference ! 27: to 'xterm'. ! 28: ! 29: Choose the UID and GID that the service will run under. ! 30: Neither should be used for other purposes. ! 31: We use numbers in the 9000 range at Brunel. The disadvantage of high numbers ! 32: is that some system logfiles suddenly grow, so choose lower numbers if ! 33: possible. On UK Pilot machines, very few UIDs are used, so numbers around ! 34: 70 would be appropriate. ! 35: ! 36: Create a user in /etc/passwd with the appropriate UID and GID. e.g. ! 37: ! 38: x500x29:*:70:70:Public X500 service:/usr/local/lib/public-widget:/bin/csh ! 39: ! 40: This is more for reference than anything else. Nobody will be using this ! 41: name to log in. ! 42: ! 43: ! 44: Add a line to your x29-auth file similar to the one in x29-auth here. ! 45: Choose and appropriate X29 address for the service, and make sure that ! 46: your x29d is listening on that address. ! 47: ! 48: Create the logfile and make it writable by the chosen UID. ! 49: Make sure that the other files and the directory itself are NOT writable ! 50: by that UID (e.g. have 'root' own them and do: ! 51: ! 52: chmod -w * . .login ! 53: ! 54: in that directory.
This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.