bill@sigma.UUCP (William Swan) (01/12/87)
In the uuslave.c code discussed recently in comp.mail.uucp (I believe) there is a section of code I don't quite understand. In the uucp slave startup sequence, just before the slave waits for a command from the master, the slave outputs three "commands", INITA, INITB, and INITC, awaiting the "proper" reply from the master for each before proceeding. I don't see the purpose in this at all. Can anyone explain what these commands are for and what the master is doing with them? -- William Swan {ihnp4,decvax,allegra,...}!uw-beaver!tikal!sigma!bill "..When we look only for evidence of guilt and ignore all contradictory evidence, these are the elements of a witch hunt." -Paul and Shirley Eberle, _The Politics of Child Abuse_
asjoshi@phoenix.Princeton.EDU (Amit S. Joshi) (11/07/87)
Hi,
I have question (and probably very dumb!). There is a program (TC-DEBUG) which
I want to get. Now it is available via uucp. The catch is that I haven't the
slightest clue how to use uucp. I tried following the instructions in
'man uucp' but to no avail - I simply get a message saying "uucp failed -1"
Can someone out there help me? I have a long path which came as a part of the
posting header if that helps.
Thanks,
--
Amit Joshi | BITNET : Q3696@PUCC.BITNET
| USENET : ...seismo!princeton!phoenix!asjoshi
"There's a pleasure in being mad ...which none but madmen know!" St.Dryden
rich@eddie.MIT.EDU (Richard Caloggero) (07/12/88)
Ok all you UUCP wizards, here's one for you! I know you're out there ... Until we obtain our ethernet software, we are using UUCP to do file transfers between our Domain ring and our Alliant Fx8. Since we are only communicating with one remote sise (actually, it ain't so remote) and its our own machine, I have set things up a bit differently than one might otherwise. Essentially, we only allow requests to be initiated from the Apollo net, since we don't have enough resources to dedicate an sio port on an Apollo. We define 2 operations: get_file (get file(s) from Fx8), and send_file (Apollo -> Fx8). Both use the uucp command to queue the specified set of files, then the program creates a process on the Apollo node which contains the sio port used to communicate with the Alliant, and starts uucico to do the transfer. When uucico has successfuly started, {get,send}_file returns to the shell. When uucico finishes, it uses write(1) to send a message to the user who started it. Now, the fun begins ... I want to be able to use uux to set up remote command execution. The problem is, I can't seem to get the command to start on the Alliant. I can set up the command with uux, and uucico seems to send the correct files over to the Alliant, but nothing happens on the Alliant, and I can't find the data which was suposedly sent to the Alliant. I thought I found something when I discovered that a core dump was being left in "/usr/spool/uucp/XTMP" on the Alliant. I checked the permissions on this directory, and found that world didn't have "w" rights. When I gave world "w" rights, the core dump didn't happen, but then again, nothing else did either! Any Idea as to what's gone wrong? ( I keep seeing references to a directory called "/usr/spool/uucp/X.apolloX", but its not their on either machine, and I can't seem to find anything in the manual that would indicate a need for that directory. ) Thanx for your help. Please mail responses to me. I'll re-post a summary if it seems appropriate. -- -- Rich (rich@eddie.mit.edu). The circle is open, but unbroken. Merry meet, merry part, and merry meet again.
rich@mit-eddie.UUCP (07/13/88)
Ok all you UUCP wizards, here's one for you! I know you're out there ... Until we obtain our ethernet software, we are using UUCP to do file transfers between our Domain ring and our Alliant Fx8. Since we are only communicating with one remote sise (actually, it ain't so remote) and its our own machine, I have set things up a bit differently than one might otherwise. Essentially, we only allow requests to be initiated from the Apollo net, since we don't have enough resources to dedicate an sio port on an Apollo. We define 2 operations: get_file (get file(s) from Fx8), and send_file (Apollo -> Fx8). Both use the uucp command to queue the specified set of files, then the program creates a process on the Apollo node which contains the sio port used to communicate with the Alliant, and starts uucico to do the transfer. When uucico has successfuly started, {get,send}_file returns to the shell. When uucico finishes, it uses write(1) to send a message to the user who started it. Now, the fun begins ... I want to be able to use uux to set up remote command execution. The problem is, I can't seem to get the command to start on the Alliant. I can set up the command with uux, and uucico seems to send the correct files over to the Alliant, but nothing happens on the Alliant, and I can't find the data which was suposedly sent to the Alliant. I thought I found something when I discovered that a core dump was being left in "/usr/spool/uucp/XTMP" on the Alliant. I checked the permissions on this directory, and found that world didn't have "w" rights. When I gave world "w" rights, the core dump didn't happen, but then again, nothing else did either! Any Idea as to what's gone wrong? ( I keep seeing references to a directory called "/usr/spool/uucp/X.apolloX", but its not their on either machine, and I can't seem to find anything in the manual that would indicate a need for that directory. ) -- -- -- -- -- -- -- -- -- -- Ok, this is realy frustrating! As far as I can tell, everything is being set up properly for remote command execution, but nothing hapens. Also, I keep getting "xqt denied" messages is "LOGFILE". I checked "L.cmds", and the "who" command is definately in that file. The command "uux 'sun!who >/users/rich/who.sun'" doesn't execute on sun (the Fx8). Help!!!!!!!!!! -- -- -- -- -- -- -- -- -- -- Thanx for your help. Please mail responses to me. I'll re-post a summary if it seems appropriate. -- -- Rich (rich@eddie.mit.edu). The circle is open, but unbroken. Merry meet, merry part, and merry meet again.
rroot@edm.UUCP (Stephen Samuel) (07/14/88)
From article <9661@eddie.MIT.EDU>, by rich@eddie.MIT.EDU (Richard Caloggero): > > Until we obtain our ethernet software, we are using UUCP to do > file transfers between our Domain ring and our Alliant Fx8. Since > > Now, the fun begins ... I want to be able to use uux to set up > remote command execution. The problem is, I can't seem to get the > command to start on the Alliant. I can set up the command with uux, One thing you have to do is allow the apollo to execute the commands from uux. In theory, this means you have to have an entry in your L.sys (or Permissions) file for each legal command. The other way around the problem would be to enable sh and csh. Your uux command would then be: uux apollo!csh '<' command.list.file Things get reall fun, though, if you want to use other files... You'd have to uucp (put) them over first. File space allocation (another article..) No: disk space is all global within a file system. If you have 4 file systems mounted as / , /usr , /usr/dept , and /mnt. removing a file from /mnt/a would make it's file space available anywhere in /mnt (but not, for ex. in /usr). Similarly: removing something in /usr/dept/x/y would make space avalable anywhere in /usr/dept/... , but NOT in /usr/lib (which is on the /usr filesystem). -- ------------- Stephen Samuel {ihnp4,ubc-vision,vax135}!alberta!edm!steve or userzxcv@uofamts.bitnet
ehoward@oracle.uucp (Elliot Howard) (03/07/89)
Do any of you wizards out there know how the interaction between cu and uugetty works in SYS V version 3.2? Specifically, on the AT&T 6386? I am trying to write my own software that can co-exist with cu and I want to call out of a port with a uugetty hanging on it. I know cu and uugetty create a lock file (/usr/spool/lock/LCK..tty* on the 6386) to keep other processes from using an assigned port. I am also doing this, and yet uugetty persists in trying to read and write the tty port at the same time I am, causing random characters to go to each process (uugetty does not create the lock file until it thinks a user has finished logging on). So, if anybody out there has access to SYS V source code, I would be eternally grateful if they would tell me what else I must do to be compatible with uucp. Thanks, Elliot Howard
raw@ushiva.UUCP (Roland Wilcher) (03/08/89)
In article <754@oracle.oracle.com> ehoward@oracle.UUCP (Elliot Howard) writes: >I know cu and uugetty create a lock file (/usr/spool/lock/LCK..tty* on the >6386) to keep other processes from using an assigned port. I am also doing >this, and yet uugetty persists in trying to read and write the tty port at >the same time I am, causing random characters to go to each process On the 6386 I worked on , uugetty would only create output if it first received input from the line. I used modem control for uugetty ala `u0:3:respawn:/usr/lib/uucp/uugetty -r ttyM01 2400` in inittab and turned off echoing from the modem. I could use the pcomm program while uugetty was on the line. This was for V 3.1 though . --- "If aint broke, don't fix it" raw@neologic%hal.crwu.edu -Bert lance raw@ushiva.ncoast.org Roland A. Wilcher ------------------------------------------------------------------------------
les@chinet.chi.il.us (Leslie Mikesell) (03/11/89)
In article <754@oracle.oracle.com> ehoward@oracle.UUCP (Elliot Howard) writes: >I know cu and uugetty create a lock file (/usr/spool/lock/LCK..tty* on the >6386) to keep other processes from using an assigned port. I am also doing >this, and yet uugetty persists in trying to read and write the tty port at >the same time I am, causing random characters to go to each process The lockfile contains the process ID of the program that created it. HDB uucp uses an ascii format 10 characters wide with the number right justified, filled with spaces on the left. If you find such a lock file for the port you want, you can tell if the process that created it is still running by doing a kill(pid,0) and checking the return status (be sure to check errno to see if the reason for failure is EPERM or ESRCH). Les Mikesell
mindel@netwrx1.UUCP (Joshua L Mindel) (06/16/90)
Initial part of question: ------------------------- Does anyone have experience with setting up uucp (AT&T BNU) files on AT&T 3B2s for a STREAMS-based network? In particular, for AT&T Enhanced TCP/IP WIN/3B Release 3.0 over Ethernet and X.25. Background: ----------- I'd like to configure BNU files (on AT&T 3B2s with UNIX System V Release 3.2.2) so that uucp and cu requests both go through login to connect over an Ethernet and X.25 network. Section 9.6 of the AT&T 3B2 Computer UNIX System V Release 3 Sys Admin guide provides guidelines for setting up uucp on a STREAMS-based network. An example procedure is included for uucp on the AT&T STARLAN network, with the qualifier that a similar procedure could be applied for setting up uucp to run on a transport provider that is compatible with the AT&T Transport Interface (TLI). The WIN/3B TCP/IP Release 3.0 product is a transport provider compatible with TLI. After scouring the AT&T Sys Admin guide, WIN/3B docs, and talking with Wollongong, I came to realize that there is one critical piece missing from this picture; the STREAMS module(s) providing the interface between the TTY server and TCP. Using AT&T's terminology for describing the software components of a uucp-over-STARLAN configuration, these STREAMS modules are called Remote Login Modules. For uucp over STARLAN, these STREAMS modules are called LDO and NTTY. Final part of question: ----------------------- Do these remote login modules exist for TCP/IP? If yes, how and where can I obtain them? Further clarification of question: ---------------------------------- Leaning heavily on the definition used within the STARLAN environment, I presume the precise function of these missing modules can be stated as follows: The remote login modules are the software modules that act as an interface between the TCP modules and the remote login services provided by the TTY server. These modules provide the UNIX character processing and read/write interface of the standard TTY driver. This allows existing UNIX TTY services ("sh", "cu", etc.) to operate over the TCP/IP network. Paper references for this note: ------------------------------- WIN/3B TCP/IP Install/Admin Guide : pages 1-20 to 1-23 AT&T STARLAN User's Guide : pages 4-3 to 4-4 ------------------------------ Thanks in advance. -- ------------------------------------------------------------------------------- Joshua L Mindel, Senior Analyst Internet: mindel%netwrx1@uunet.uu.net NetWorks One Usenet: uunet!netwrx1!mindel Vienna, VA Phone: (703) 827-7767
young@hamavnet.com (10/23/90)
In an article in Unix Review there is source code for an undel program. They mention that you can get it off of uunet!beast. I tried the following and got an syntax error. uucp mcdcup!hplabs!uunet!beast!/usr/spool/uucppublic/undel.cpio undel.cpio When I just put the first host it worked. Does the path have to be defined in the mcdcup host (uuname) in order for it to work. I would think that it would not matter. Later. Brian A. Young Avnet Computer briany@hamavnet.com
scott@phlpa.UUCP (Scott Scheingold) (04/10/91)
I am very sorry if this message shows up more than once, problems with my news poster. I have a question regarding prioritys. When I priority is set for a user and this user executes a file that sets the user id to the owner of a file. Who gets the priorty the user executing the file or the owner of the file. An example of this would be as follows. -rwsr-sr-x 2 news news 90612 Apr 03 11:17 rnews Now this program is started by uucp but it is set to use news UID but when this program is run a ps -ef shows that uucp is running the program. If a priority of say 30 was put on this so it would not take as much cpu time who would get the setting. uucp or news. I am running SCO UNIX SYS V/386 Rel. 3.2.2 Thanks for the help. Scott Scheingold UUCP ...!lgnp1!phlpa!scott INTERNET scott@lgnp1!phlpa