Solved

PPP server only allow root to start service

Posted on 1998-02-05
2
247 Views
Last Modified: 2010-03-18
I've set up my linux(RedHat 4.1) as ppp server by add
"s1:2345:respawn:/sbin/mgetty -s 38400 ttyS0" to /etc/inittab and a ppp login script
" exec /usr/sbin/pppd 38400 passive netmask 255.255.255.0 202.x.x.1:202.x.x.2"
I connect to linux using WIN95 dialup network and successfully login to my linux server, but for normal user login and start ppp login script, linux do nothing after start the script. But for root user login, everything is OK.

I suspect that there is some files which can only be accessed by root user. Anyone call tell me how fix it.
0
Comment
Question by:rayman
2 Comments
 
LVL 4

Accepted Solution

by:
unicorntech earned 100 total points
Comment Utility
Check the permissions on pppd - try changing it by chmod +x pppd
Let me know how this goes,
0
 

Author Comment

by:rayman
Comment Utility
You've forgot what your answer to CHRISTG last time.

I've read from your previously answered question and get the answer
"chmod 4755 /usr/sbin/pppd" (rwsr_xr_x)will fixed this problem, not "chmod 755".
0

Featured Post

Control application downtime with dependency maps

Visualize the interdependencies between application components better with Applications Manager's automated application discovery and dependency mapping feature. Resolve performance issues faster by quickly isolating problematic components.

Join & Write a Comment

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…
It is a freely distributed piece of software for such tasks as photo retouching, image composition and image authoring. It works on many operating systems, in many languages.
This demo shows you how to set up the containerized NetScaler CPX with NetScaler Management and Analytics System in a non-routable Mesos/Marathon environment for use with Micro-Services applications.

771 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

Need Help in Real-Time?

Connect with top rated Experts

9 Experts available now in Live!

Get 1:1 Help Now