Still celebrating National IT Professionals Day with 3 months of free Premium Membership. Use Code ITDAY17

x
?
Solved

netscape3.0 slip and users

Posted on 1999-07-09
11
Medium Priority
?
294 Views
Last Modified: 2010-03-18
Netscape 3 with a slip dialin script works fine for root user. However, once I login as non-root user and start Netscape from that account (same machine) then there is no way for netscape to connect email, browse or resolve via slip.
The root and user setups are the same and I gave the permissions on /dev/cua0 and /etc to write dip.pid.
The problem arises since I need to dial in via modem to ISP from a user account with slip and it seems I am missing some permissions.
dip works perfectly and connects without problems.
Where is the block in the pipeline???
0
Comment
Question by:dryzone
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 6
  • 5
11 Comments
 
LVL 1

Author Comment

by:dryzone
ID: 1585672
Adjusted points to 100
0
 
LVL 51

Expert Comment

by:ahoffmann
ID: 1585673
make the dial script setuid root
0
 
LVL 1

Author Comment

by:dryzone
ID: 1585674
setuid???
Then I will lose even more priveleges as a user!?
What I need is to obtain user priveliges for slip and netscape. I need to dial in and get mail browse etc JUST AS IF I AM IN ROOT
Please clarify.
0
Flexible connectivity for any environment

The KE6900 series can extend and deploy computers with high definition displays across multiple stations in a variety of applications that suit any environment. Expand computer use to stations across multiple rooms with dynamic access.

 
LVL 51

Expert Comment

by:ahoffmann
ID: 1585675
no, no.
Just set the s-bit for the owner, like

   chown root dialscript
   chmod  u+s dialscript

This should do the trick. It causes dialscript to run with root priveleges, even when started as ordinary user.
   
0
 
LVL 1

Author Comment

by:dryzone
ID: 1585676
Somehow I got what I expected. Where Netscape used to be unable to resolve the password from a user account, it now freezes up altogether with the error messages "network unreachable" before I even get to mail. In other words I have even less access. dip works ok but there are some serious blockage of smtp and pop form a user account. I cannot find any documentation on the exact handshaking and paths followed when netscape is run from a user account. If you have a "hundred " file permissions I can change to try and get pop and smtp to work from within a user account, please throw the whole kitchen sink at me. I can always add the necessary permissions back at a later stage.
0
 
LVL 51

Expert Comment

by:ahoffmann
ID: 1585677
> network unreachable
means that your routing is not set up prperly. Did you use the defaultroute option in your dialscript?
Did you have the correct entries in /etc/resolf.conf ?
0
 
LVL 1

Author Comment

by:dryzone
ID: 1585678
I found another way: (Although far from ideal) I wrote a script at root to open an xterm on a remote users xsession. This way the user has the proper privelages to make dip work and connect to their Netscape session. This works fine since Netscape now accepts mail. So you were right afterall with your diagnosis that there is some dip permission problem. I am still baffled why it happens. Somewhere dip needs to resolve the users connection but I cannot figure out where.
To answer your question, as I have it "default" in dip means that the -add -net instruction is performed in
the background. I would need some time to try that. So you will have to give me a day to get to the meaning of that.
Otherwise,
In my resolv.config I have:
----------------------------
search "my local area network domain name"
nameserver "no entry"

which seems to be ok.
Comment:
I switched of DNS since it really messed up everything on my LAN. Without it all really works great.
I will get back to you, please add commments if something comes to you. You are 3\4 there with a good answer.

ISDN will obviously solve all these problems automatically - but I dont have the money for that.
0
 
LVL 51

Expert Comment

by:ahoffmann
ID: 1585679
> ISDN will obviously solve all these problems automatically
Hmm, no. ISDN did not solve your permission problems, neither the DNS entry.

You should have a entry in resolf.conf like:
 nameserver "name-given-by-your-ISP"
0
 
LVL 1

Author Comment

by:dryzone
ID: 1585680
I tell you what. Since I solved the problem by exporting a root xterm to the user account for dip login sessions, (Not safe at all but i'll live) and since your comments really helped considerably, you may have the points with the promise that you will look at the scusi irq problem I posted. Thats a real strange one.
I will make it available now.
0
 
LVL 1

Author Comment

by:dryzone
ID: 1585681
Hey, there is no menu available on Expert exchange to transfer the points to you -- strange -- I will do it when it reappears.
0
 
LVL 51

Accepted Solution

by:
ahoffmann earned 300 total points
ID: 1585682
answer in comment
0

Featured Post

Veeam Task Manager for Hyper-V

Task Manager for Hyper-V provides critical information that allows you to monitor Hyper-V performance by displaying real-time views of CPU and memory at the individual VM-level, so you can quickly identify which VMs are using host resources.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

I have seen several blogs and forum entries elsewhere state that because NTFS volumes do not support linux ownership or permissions, they cannot be used for anonymous ftp upload through the vsftpd program.   IT can be done and here's how to get i…
Note: for this to work properly you need to use a Cross-Over network cable. 1. Connect both servers S1 and S2 on the second network slots respectively. Note that you can use the 1st slots but usually these would be occupied by the Service Provide…
If you're a developer or IT admin, you’re probably tasked with managing multiple websites, servers, applications, and levels of security on a daily basis. While this can be extremely time consuming, it can also be frustrating when systems aren't wor…
Add bar graphs to Access queries using Unicode block characters. Graphs appear on every record in the color you want. Give life to numbers. Hopes this gives you ideas on visualizing your data in new ways ~ Create a calculated field in a query: …

705 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question