Solved

PPP server only allow root to start service

Posted on 1998-02-05
2
271 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
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

Master Your Team's Linux and Cloud Stack

Come see why top tech companies like Mailchimp and Media Temple use Linux Academy to build their employee training programs.

Question has a verified solution.

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

Suggested Solutions

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…
Two types of users will appreciate AOMEI Backupper Pro: 1 - Those with PCIe drives (and haven't found cloning software that works on them). 2 - Those who want a fast clone of their boot drive (no re-boots needed) and it can clone your drive wh…
Established in 1997, Technology Architects has become one of the most reputable technology solutions companies in the country. TA have been providing businesses with cost effective state-of-the-art solutions and unparalleled service that is designed…

810 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