🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

9 total messages Started by David. E. Goble Fri, 06 Oct 2000 05:56
lossing chmod +s /usr/sbin/pppd setting after reboot
#448
Author: David. E. Goble
Date: Fri, 06 Oct 2000 05:56
14 lines
1574 bytes
Hi All;

I set pppd with chmod +s /usr/sbin/pppd, as root So my users can dial
out and it works. Until I reboot the computer. Then the setting is
lost.

Whats wrong????

Also I have set up inn as a newsreader, with pine. But can not figure
out how to set it up so I do not have to start innd after very reboot.
--Regards       David. E. Goble
             goble [AT] kin.net.au
          http://www.kin.net.au/goble
Po Box 648 Kingscote, Kangaroo Island, SA 5223
Re: lossing chmod +s /usr/sbin/pppd setting after reboot
#450
Author: Techtonik
Date: Fri, 06 Oct 2000 00:00
20 lines
1797 bytes
It's probably because when pppd is started it is spawned by one of the
system accounts....just go into your init.d scripts and add a line in that
spawns it as root as opposed to whatever user is spawning it....

"David. E. Goble" <goble@gtech> wrote in message
news:39dcec1b.1692414@news.adelaide.on.net...
> Hi All;
>
> I set pppd with chmod +s /usr/sbin/pppd, as root So my users can dial
> out and it works. Until I reboot the computer. Then the setting is
> lost.
>
> Whats wrong????
>
> Also I have set up inn as a newsreader, with pine. But can not figure
> out how to set it up so I do not have to start innd after very reboot.
> --Regards       David. E. Goble
>              goble [AT] kin.net.au
>           http://www.kin.net.au/goble
> Po Box 648 Kingscote, Kangaroo Island, SA 5223
Re: lossing chmod +s /usr/sbin/pppd setting after reboot
#453
Author: Bit Twister
Date: Fri, 06 Oct 2000 00:00
32 lines
2143 bytes
Kinda help to post the OS.
There are several "linuxes"  Red Hat, Slackware, SuSE, Debian, Mandrake,
Caldera, Corel, Yellow Lab, Black Lab, WinLinux, PhatLinux, Linux On A
Floppy, slinux, Trinux, (Rock, Armed, Stampede, Tiny. Power, Coyote) Linux

Well if you are using Redhat or Mandrake use 
linuxconf
to set the protection on the file.


On Fri, 06 Oct 2000 05:56:16 GMT, David. E. Goble <goble@gtech> wrote:
>Hi All;
>
>I set pppd with chmod +s /usr/sbin/pppd, as root So my users can dial
>out and it works. Until I reboot the computer. Then the setting is
>lost.
>
>Whats wrong????
>
>Also I have set up inn as a newsreader, with pine. But can not figure
>out how to set it up so I do not have to start innd after very reboot.
>--Regards       David. E. Goble
>             goble [AT] kin.net.au
>          http://www.kin.net.au/goble
>Po Box 648 Kingscote, Kangaroo Island, SA 5223


-- 
The warranty and liability expired as you read this message.
If the above breaks your system, it's yours and you keep both pieces.
Practice safe computing. Backup the file before you change it. 
Do a,  man command_here or cat command_here, before using it.
Re: lossing chmod +s /usr/sbin/pppd setting after reboot
#454
Author: Lew Pitcher
Date: Fri, 06 Oct 2000 00:00
26 lines
1732 bytes
"David. E. Goble" wrote:
> 
> Hi All;
> 
> I set pppd with chmod +s /usr/sbin/pppd, as root So my users can dial
> out and it works. Until I reboot the computer. Then the setting is
> lost.
> 
> Whats wrong????

Some distributions include a utility that (when invoked at startup)
resets the permissions on certain critical files. That's all the
detail I know (except for one more thing: Slackware doesn't do this),
so you are going to have to tell us which distro you are using, and
we'll have to get the gurus involved.

> Also I have set up inn as a newsreader, with pine. But can not figure
> out how to set it up so I do not have to start innd after very reboot.

I can answer this one: add the command to your /etc/rc.d/rc.local (or
equivalent) startup script.

-- 
Lew Pitcher

Master Codewright and JOAT-in-training
Re: lossing chmod +s /usr/sbin/pppd setting after reboot
#449
Author: Vilmos Soti
Date: Fri, 06 Oct 2000 06:47
14 lines
1754 bytes
goble@gtech (David. E. Goble) writes:

> I set pppd with chmod +s /usr/sbin/pppd, as root So my users can dial
> out and it works. Until I reboot the computer. Then the setting is
> lost.
...
> Also I have set up inn as a newsreader, with pine. But can not figure
> out how to set it up so I do not have to start innd after very reboot.

Tell us which distro you use, and then somebody can help you out.
Without this info we cannot give you a nice solution which actually
doesn't screw up your distribution.

Vilmos
Re: lossing chmod +s /usr/sbin/pppd setting after reboot
#441
Author: David. E. Goble
Date: Mon, 09 Oct 2000 01:32
14 lines
1662 bytes
Hi all;

Sorry, Iam running redhat 6.2. If I login as root on tty1 and login as
root on tty4, and setuid from tty4, then exit/reboot cause this.

As I was runng linuxconf on tty1 (to veiw the mail que[?]) and testing
users email account on tty2. So as I did not want to waste time
waiting for my old 486 to exit out of linuxconf then rerun it, I
relogin thru tty4.

--Regards       David. E. Goble
             goble [AT] kin.net.au
          http://www.kin.net.au/goble
Po Box 648 Kingscote, Kangaroo Island, SA 5223
Re: lossing chmod +s /usr/sbin/pppd setting after reboot
#437
Author: John
Date: Wed, 11 Oct 2000 02:36
18 lines
1689 bytes
In aus.computers.linux David. E. Goble <goble@gtech> wrote:
> Hi all;

> Sorry, Iam running redhat 6.2. If I login as root on tty1 and login as
> root on tty4, and setuid from tty4, then exit/reboot cause this.

> As I was runng linuxconf on tty1 (to veiw the mail que[?]) and testing
> users email account on tty2. So as I did not want to waste time
> waiting for my old 486 to exit out of linuxconf then rerun it, I
> relogin thru tty4.


I've heard of linuxconf doing this to people. I don't run linuxconf;-)




-- 
Re: lossing chmod +s /usr/sbin/pppd setting after reboot
#439
Author: Bill Unruh
Date: Wed, 11 Oct 2000 04:33
29 lines
2389 bytes
In <39e3d202@usenet.per.paradox.net.au> John <jcs@possum.os2.ami.com.au> writes:

]In aus.computers.linux David. E. Goble <goble@gtech> wrote:
]> Hi all;

]> Sorry, Iam running redhat 6.2. If I login as root on tty1 and login as
]> root on tty4, and setuid from tty4, then exit/reboot cause this.

]> As I was runng linuxconf on tty1 (to veiw the mail que[?]) and testing
]> users email account on tty2. So as I did not want to waste time
]> waiting for my old 486 to exit out of linuxconf then rerun it, I
]> relogin thru tty4.


]I've heard of linuxconf doing this to people. I don't run linuxconf;-)


If you click on 
"preview what has to be done"
you will see one of the lines
Changing permissions of file /usr/sbin/pppd from 105755 to 104755
which removes suid. It is totally stupid.
DO NOT CLICK ON "Activate Changes" All it does is cause trouble. 
Just Quit.
This is one aspect of Linuxconf that is just plain stupid.
I have severe doubts that the writers of linuxconf actually know
anything about security. I know that the people at redhat do not. They
make pppd not suid root, when it is almost useless without that, and
then they make a whole bunch of games suid root. 
Re: lossing chmod +s /usr/sbin/pppd setting after reboot
#433
Author: David. E. Goble
Date: Fri, 13 Oct 2000 00:00
14 lines
1419 bytes
On 11 Oct 2000 10:36:01 +0800, John <jcs@possum.os2.ami.com.au> wrote:
>
>I've heard of linuxconf doing this to people. I don't run linuxconf;-)
>
Hi John;

For me, linuxconf has worked when I was only logged on as root. So I
assumed that the problem was caused by beginning logged on as another
user on another tty, at the same time... 

--Regards       David. E. Goble
             goble [AT] kin.net.au
          http://www.kin.net.au/goble
Po Box 648 Kingscote, Kangaroo Island, SA 5223
Thread Navigation

This is a paginated view of messages in the thread with full content displayed inline.

Messages are displayed in chronological order, with the original post highlighted in green.

Use pagination controls to navigate through all messages in large threads.

Back to All Threads