Go Premium for a chance to win a PS4. Enter to Win

x
?
Solved

PPP server only allow root to start service

Posted on 1998-02-05
2
Medium Priority
?
317 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 200 total points
ID: 1587490
Check the permissions on pppd - try changing it by chmod +x pppd
Let me know how this goes,
0
 

Author Comment

by:rayman
ID: 1587491
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

[Webinar] Cloud Security

In this webinar you will learn:

-Why existing firewall and DMZ architectures are not suited for securing cloud applications
-How to make your enterprise “Cloud Ready”, and fix your aging DMZ architecture
-How to transform your enterprise and become a Cloud Enabler

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…
Is your data getting by on basic protection measures? In today’s climate of debilitating malware and ransomware—like WannaCry—that may not be enough. You need to establish more than basics, like a recovery plan that protects both data and endpoints.…

971 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