?
Solved

PPP server only allow root to start service

Posted on 1998-02-05
2
Medium Priority
?
308 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
[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
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

7 Extremely Useful Linux Commands for Beginners

Just getting started with Linux? Here's a quick start guide that has 7 commands that we believe will come in handy.

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…
In this video, Percona Solutions Engineer Barrett Chambers discusses some of the basic syntax differences between MySQL and MongoDB. To learn more check out our webinar on MongoDB administration for MySQL DBA: https://www.percona.com/resources/we…
Suggested Courses
Course of the Month14 days, 17 hours left to enroll

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