Solved

PPP server only allow root to start service

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

Windows Server 2016: All you need to know

Learn about Hyper-V features that increase functionality and usability of Microsoft Windows Server 2016. Also, throughout this eBook, you’ll find some basic PowerShell examples that will help you leverage the scripts in your environments!

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Postfix DNS lookups setup 5 43
linux, squid, exchange 14 175
OpenWrt 1 47
How does the STUN server helps discover the device public ip address 4 87
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…
A short tutorial showing how to set up an email signature in Outlook on the Web (previously known as OWA). For free email signatures designs, visit https://www.mail-signatures.com/articles/signature-templates/?sts=6651 If you want to manage em…

828 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