On Fri, Oct 25, 2002 at 11:39:53AM +0530, Philip S Tellis wrote:
> On Fri, 25 Oct 2002, Frederick Noronha wrote:
>
> > Any idea why KPPP asks for root password everytime I try to dial
> > up? Am I doing something wrong? FN
>
> To dial up, you need read/write access to /dev/ttyS? - only root
> has that.
o AFAIK, the permissions for all ttyS* devices, need not be 644. It
is by default 666. The following is from the MAKEDEV script.
tty=" root tty 666"
dialout=" root uucp 660"
o On my box, I manually changed it to 644, for security reasons for
ttyS0 only (modem), the rest are 666.
crw-r--r-- 1 root tty 4, 64 Oct 26 14:56 /dev/ttyS0
crw-rw-rw- 1 root tty 4, 65 Oct 26 12:51 /dev/ttyS1
o The problem is that kppp is merely the dialer which needs to call
up the pppd daemon, which will not run as an user.This is usually
at /usr/sbin which is on the default path of root only.
o As an user the best way to go about is through sudo. Some distros
permit those in the "dialout" group to dial as well.
Bish
--
:
####[ GNU/Linux One Stanza Tip (LOST) ]#######################
Sub : Lesser known commands (xargs) LOST #167
xargs is a filter for feeding argumants to a command. It can
break data stream into chunks for filters/ commands to process
[e.g. 'ls | xargs -p -l gzip' gzips all files in the current
directory sequentially after giving prompt at each file].
####<[EMAIL PROTECTED]>####################################
:
-------------------------------------------------------
This SF.net email is sponsored by: ApacheCon, November 18-21 in
Las Vegas (supported by COMDEX), the only Apache event to be
fully supported by the ASF. http://www.apachecon.com
_______________________________________________
linux-india-help mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/linux-india-help