Demo Discussion
Linux Demo Database
  General linux tips & tricks, Page 55 of 137  Not logged in ELOG logo
ID Date Author Type Category Subject
  2   Mon Sep 21 11:01:52 2015 Stefan RittConfigurationNetworkNIS
! Note: at least two user entries in passwd file necessary !

Server
======

- authconfig: enable NIS, domain "fast", server "fast", use shadow, MD5

- /etc/rc.d/init.d/ypserv start
  /etc/rc.d/init.d/ypbind start

- /var/yp/Makefile:
  # shadow -> shadow #
  netgrp   -> # netgrp

- /var/yp/secureent:
  255.255.255.0 10.0.0.0

- /usr/lib/yp/ypinit -m

- Test: ypcat passwd
        ypwhich
        ypmatch stefan passwd

Client
======

- remove users from passwd/shadow

- [brsh] authconfig --enablenis --nisdomain fast --nisserver fast \
                    --useshadow --enablemd5 --kickstart

Update (after useradd)
======================

cd /var/yp; make
  1   Mon Sep 21 11:01:23 2015 SRRoutineHardwareWelcome to this ELOG demo
Hello,

welcome to this ELOG demonstration. It contains a logbook for Linux Tips & 
Tricks. You can use the arrow buttons on the top right corner to browse 
this logbook, use the "Find" link to search for certain entries in the 
logbook and the "New" link to enter a new entry. The write access is not 
password protected so everybody can submit entries, since this is just a 
demonstration. Each submission causes an automatic email notification to 
the author.

When submitting entries, attachments can be added just like with email 
programs. This entry for example contains a JPG attachment and a text 
attachment.

Stefan Ritt <stefan.ritt@psi.ch>
Attachment 1: psi.png
psi.png
  1653   Sat Dec 13 09:42:56 2025 MeOtherGeneralThis is a test of UTF-8 characters like טיצה
Just to be clear this is a general test using UTF-8 characters like טיצה.
  1652   Sat Dec 13 09:42:46 2025 py_elogOtherGeneralSub level 1.1
Hierarchical navigation test performed by the py_elog suite
  1651   Sat Dec 13 09:42:45 2025 py_elogOtherGeneralTop level
Hierarchical navigation test performed by the py_elog suite
  1650   Sat Dec 13 09:42:43 2025 ABRoutine  
This message text is new
  1649   Sat Dec 13 09:42:22 2025 MeOtherGeneralThis is a test of UTF-8 characters like טיצה
Just to be clear this is a general test using UTF-8 characters like טיצה.
  1648   Sat Dec 13 09:41:53 2025 py_elogOtherGeneralSub level 3.3
Hierarchical navigation test performed by the py_elog suite
  1647   Sat Dec 13 09:41:51 2025 py_elogOtherGeneralSub level 3.2
Hierarchical navigation test performed by the py_elog suite
  1646   Sat Dec 13 09:41:50 2025 py_elogOtherGeneralSub level 3.1
Hierarchical navigation test performed by the py_elog suite
  1645   Sat Dec 13 09:41:48 2025 py_elogOtherGeneralSub level 2.3
Hierarchical navigation test performed by the py_elog suite
  1644   Sat Dec 13 09:41:46 2025 py_elogOtherGeneralSub level 2.2
Hierarchical navigation test performed by the py_elog suite
  1643   Sat Dec 13 09:41:44 2025 py_elogOtherGeneralSub level 2.1
Hierarchical navigation test performed by the py_elog suite
  1642   Sat Dec 13 09:41:43 2025 py_elogOtherGeneralSub level 1.3
Hierarchical navigation test performed by the py_elog suite
  1641   Sat Dec 13 09:41:41 2025 py_elogOtherGeneralSub level 1.2
Hierarchical navigation test performed by the py_elog suite
  1640   Sat Dec 13 09:41:39 2025 py_elogOtherGeneralSub level 1.1
Hierarchical navigation test performed by the py_elog suite
  1639   Sat Dec 13 09:41:38 2025 py_elogOtherGeneralTop level
Hierarchical navigation test performed by the py_elog suite
  1638   Sat Dec 13 09:41:36 2025 ABRoutine  
This message text is new
  1637   Sat Dec 13 09:41:32 2025 MeOtherGeneralThis is a test of UTF-8 characters like טיצה
Just to be clear this is a general test using UTF-8 characters like טיצה.
  1636   Sat Dec 13 09:41:03 2025 py_elogOtherGeneralSub level 3.3
Hierarchical navigation test performed by the py_elog suite
ELOG V3.1.5-3fb85fa6