Click to See Complete Forum and Search --> : almost a slackware disciple
I set up slk 7.1 last night and Luuuuv it, its so much cleaner than RH and I actually KNOW whats on my system
I do have a few questions that I cant really figure out though, I was looking in /etc/rc.d and found no rc.3, whats with that, I ran runlevel and it told me it was in init 3 which i expected, but how did it get there if there is no script to execute?
I checked inittab and found that it runs rc.M which is multiuser mode init3, I dont get it though :(
also on the pppsetup, I can only get root to dial out, i tried to chmod the ppp-go and ppp-stop scripts but it still says permission denied because it cant read some other script, is there a simple solution so I dont have to go surfing around as root?
thanx for your time and also
:cool: slackware rocks :cool:
(sorry had to do it)
11000
03-06-2001, 05:55 PM
Slackware uses BSD-style init scripts, while RH uses SysV. So that's why it's so different. All your init scripts are in /etc/rc.d
If you look in inittab you'll see that rc.S is the first script that runs when you boot, and does system initialization, rc.K is the script that's run next when it goes to single user mode(runlevel 1) then goes to rc.M which is multiuser(runlevel 3).
All the other rc.* scripts are run from the rc.S, rc.K, and rc.M scripts, if you go through them you'll see when they are called. Once you get used to the way it's done I think you will like it a lot. I love the way the init scripts are done! :)
As far as pppsetup, I usually just run kppp so I'm not real familiar with pppsetup. So I can't really help there.
Anyway, hope that helps. And....
:cool: Slackware :cool:
ph34r
03-06-2001, 10:33 PM
Users need to be able to read your chatscript (located in /etc/ppp ). The quick and lazy way to do it (and prolly a bad way to do it as well, security wise) is to make a shell that just calls ppp-go/off and make that shell script suid root. Yes, I know, suid root stuff is Not Good for security.
edit - Almost forgot to say
:cool: Slackware :cool:
[ 06 March 2001: Message edited by: ph34r ]
skweegie
03-06-2001, 11:27 PM
hiyas,
i wrote a quick and dirty on this back in the day...
http://www.linuxnewbie.org/cgi-bin/ubbcgi/ultimatebb.cgi?ubb=get_topic&f=4&t=004945
hope it helps...
Pierre Lambion
03-07-2001, 03:41 AM
My solution for this ppp-go as user stuff was to launch "ppp-go -d" from rc.local .
This way ppp is launched on demand, as root. Of course you have to specify an idle time out.
P.
Hi, thanx for the replies, another question:
all this started by me wanting to change the penguin on the startup screen u know,
any idea where thats called from?
Pierre Lambion
03-08-2001, 08:36 AM
I think the penguin showed at boot is in the kernel ...
However I'm far from positive, so you should check some other opinions!
P.
11000
03-08-2001, 01:53 PM
Originally posted by Pierre Lambion:
I think the penguin showed at boot is in the kernel ...
However I'm far from positive, so you should check some other opinions!
P.
Yeah, after a little checking through scripts and such, I'm guessing it's loaded through /vmlinuz Someone who's done Slackware from scratch could probably tell you for sure, but the only person I know of who's done that is patman, and he hasn't been here in months.
element-x
03-08-2001, 04:26 PM
VESA Framebuffer puts that linux penguin there ;op
I don't know how to get rid of it without taking the VESA framebuffer support right out of the kernel.
Hope this helps