Saturday, April 27, 2024
 Popular · Latest · Hot · Upcoming
5
rated 0 times [  5] [ 0]  / answers: 1 / hits: 4840  / 3 Years ago, wed, september 8, 2021, 10:13:39

I'm replacing an active directory windows server with a linux one. I have to introduce the linux server onto the network, but without AD services (like dhcpd, ldap etc).



So I was hoping to create a runlevel that'll allow me to bring the linux server up on the network without these services, then, when I've removed the windows server, I can change runlevels and start ldap etc.



I remember reading that runlevels are deprecated - is this correct? - If so, how can I achieve my goals?


More From » services

 Answers
5

Before I'd asked my question, I didn't know about upstart. For those interested, upstart is an event-driven (instead of a state-transition driven) replacement for the old "System V init" system.



To get to the point and skip the documentation, have a look at the /etc/init folder. You'll find several .conf files in there. Editing these files allow you to control at which runlevels different services come up and go down. These include samba4.conf, which was the main one I was concerned about (as this also controls ldap, kerberos, etc).



I initially went to /etc/init.d/rc2.d and wondered why there were no entries for samba there.



Just to confuse the issue, bind9 (along with other services) is still configured via the old system V init scripts in /etc/rcx.d, so, I rm'd /etc/rc2.d/S15bind9 and made a symlink K15bind9 to the same target in /etc/rc2.d/


[#36598] Friday, September 10, 2021, 3 Years  [reply] [flag answer]
Only authorized users can answer the question. Please sign in first, or register a free account.
altybol

Total Points: 364
Total Questions: 138
Total Answers: 121

Location: France
Member since Thu, May 6, 2021
3 Years ago
altybol questions
;