mirror of
https://github.com/Zeckmathederg/glfs.git
synced 2025-01-24 23:32:12 +08:00
Add an unprivileged user to ntp instructions and modify bootscript to start ntpd as that user.
git-svn-id: svn://svn.linuxfromscratch.org/BLFS/trunk/BOOK@11084 af4574ff-66df-0310-9fd7-8a98e5e911e0
This commit is contained in:
parent
5889b25206
commit
e38cfcac5e
@ -66,7 +66,7 @@ $Date$
|
||||
<!ENTITY lfs-vim-version "7.3">
|
||||
<!-- End LFS versions -->
|
||||
|
||||
<!ENTITY blfs-bootscripts-version "20130212">
|
||||
<!ENTITY blfs-bootscripts-version "20130310">
|
||||
<!ENTITY blfs-bootscripts-download "&downloads-root;/blfs-bootscripts-&blfs-bootscripts-version;.tar.bz2">
|
||||
|
||||
<!ENTITY blfs-wiki "http://wiki.&lfs-domainname;/blfs/wiki">
|
||||
|
@ -80,6 +80,17 @@
|
||||
<sect2 role="installation">
|
||||
<title>Installation of ntp</title>
|
||||
|
||||
<para>
|
||||
There should be a dedicated user and group to take control
|
||||
of the <command>ntpd</command> daemon after it is
|
||||
started. Issue the following commands as the
|
||||
<systemitem class="username">root</systemitem> user:
|
||||
</para>
|
||||
|
||||
<screen role="root"><userinput>groupadd -g 87 ntp &&
|
||||
useradd -c "Network Time Protocol" -d /var/lib/ntp -u 87 \
|
||||
-g ntp -s /bin/false ntp</userinput></screen>
|
||||
|
||||
<para>Install <application>ntp</application> by running
|
||||
the following commands:</para>
|
||||
|
||||
|
@ -108,6 +108,7 @@
|
||||
<row><entry>avahi </entry><entry>84</entry><entry>84</entry></row>
|
||||
<row><entry>avahi-autoipd</entry><entry>85</entry><entry>85</entry></row>
|
||||
<row><entry>netdev </entry><entry> </entry><entry>86</entry></row>
|
||||
<row><entry>ntp </entry><entry>87</entry><entry>87</entry></row>
|
||||
<row><entry>anonymous</entry><entry>98</entry><entry> </entry></row>
|
||||
<row><entry>nobody </entry><entry>99</entry><entry> </entry></row>
|
||||
<row><entry>nogroup </entry><entry> </entry><entry>99</entry></row>
|
||||
|
Loading…
Reference in New Issue
Block a user