Thread View: news.software.nn
2 messages
2 total messages
Started by Juan Gabriel Ruiz Pinto
Wed, 13 Mar 1991 18:21
running nn several times with the same user account
Author: Juan Gabriel Ruiz Pinto
Date: Wed, 13 Mar 1991 18:21
Date: Wed, 13 Mar 1991 18:21
14 lines
1223 bytes
1223 bytes
I'm trying to install nn with a local Unix BBS, but I have the next trouble, nn doesn't run more than one time with the same userid. Could anybody tell me if there is some kind of configuration where I can do that thing. I try with diferent newsrc files for each BBS user, but the problem is the LOCK file in the ~/.nn directory. I don't know if I could remove that file every time somebody runs nn, but what troubles has this? Thank's for the help.. -- Juan Gabriel Ruiz Pinto Internet: Ing. Sistemas Electronicos jgabriel@mtecv2.mty.itesm.mx I.T.E.S.M. Campus Monterrey
Re: running nn several times with the same user account
Author: Kim F. Storm
Date: Fri, 22 Mar 1991 14:52
Date: Fri, 22 Mar 1991 14:52
47 lines
2623 bytes
2623 bytes
jgabriel@mtecv2.mty.itesm.mx (Juan Gabriel Ruiz Pinto) writes: > I'm trying to install nn with a local Unix BBS, but I have the > next trouble, nn doesn't run more than one time with the same > userid. Could anybody tell me if there is some kind of configuration > where I can do that thing. I try with diferent newsrc files for > each BBS user, but the problem is the LOCK file in the ~/.nn > directory. I don't know if I could remove that file every time > somebody runs nn, but what troubles has this? First a short word on security: The .newsrc file is very sensitive, and as such updates to this file should be controlled as much as possible. I know of no way to do this if someone is using different news reader packages, but if you only use nn, then nn will check that only ONE nn process is running which may UPDATE .newsrc (you can still run nn -x etc even when another nn process has locked the .newsrc file). So the .nn/LOCK file is there for a very good purpose. Now, if you want to have more than one invocation of nn running on the same user account, and you can control that each of these users really have separate .newsrc files, you could do without the LOCK file - or can you? What you would really need is a completely separate .nn directory for each of the users, since there are other files in .nn which are definitely 'private', e.g. select -- the file accompanying .newsrc to keep selections etc. LAST -- file accompanying .newsrc to register last new group seen. kill -- personal kill/select init -- personal setup init -- personal presentation sequence So, really it is non-trivial to do this! Except for one possible trick: Change the value of "HOME" to point at separate directories where .newsrc and .nn can reside - and where personal ~/News folders can be stored etc.etc. Then you can safely run with one user account in separate environments. -- Kim F. Storm <storm@texas.dk> No news is good news, Texas Instruments A/S, Denmark but nn is better!
Thread Navigation
This is a paginated view of messages in the thread with full content displayed inline.
Messages are displayed in chronological order, with the original post highlighted in green.
Use pagination controls to navigate through all messages in large threads.
Back to All Threads