Subject: bin/7752: location of newsyslog(8)
To: None <>
From: None <Thilo.Manske@HEH.Uni-Oldenburg.DE>
List: netbsd-bugs
Date: 06/10/1999 09:51:17
>Number:         7752
>Category:       bin
>Synopsis:       location of newsyslog(8)
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    bin-bug-people (Utility Bug People)
>State:          open
>Class:          change-request
>Submitter-Id:   net
>Arrival-Date:   Thu Jun 10 09:50:01 1999
>Originator:     Thilo Manske
Dies ist Thilos Unix Signature! Viel Spass damit.
>Release:        probably all versions...
System: NetBSD WintelKiller 1.4C NetBSD 1.4C (WintelKiller) #127: Wed Jun 9 00:30:57 MEST 1999 thilo@WintelKiller:/usr/src/sys/arch/i386/compile/WintelKiller i386

If I read hier(7) correctly:
/usr/      contains the majority of the system utilities and
     bin/  common utilities, programming tools, and applica-
    sbin/   system daemons and system utilities (normally exe-
            cuted by the super-user)

newsyslog(8) should be kept in /usr/sbin and not /usr/bin since
it can only be run as superuser.

run /usr/bin/newsyslog without root privileges.

cd <source-tree>
mv usr.bin/newsyslog usr.sbin
--- usr.bin/Makefile.old        Wed Jun  9 13:10:50 1999
+++ usr.bin/Makefile    Thu Jun 10 18:30:46 1999
@@ -14,7 +14,7 @@
        lam last lastcomm ldd leave less lex locate lock \
        logger login logname look lorder m4 machine mail \
        make man menuc mesg midiplay mixerctl mkdep mkfifo mkstr modstat \
-       msgc msgs netgroup netstat newsyslog nfsstat nice nl nohup pagesize \
+       msgc msgs netgroup netstat nfsstat nice nl nohup pagesize \
        passwd paste patch pr printenv printf quota rdist \
        renice rev rlogin rpcgen rpcinfo rs rsh rup \
        ruptime rusers rwall rwho script sed shar shlock \
--- usr.sbin/Makefile.old       Tue May 18 18:16:09 1999
+++ usr.sbin/Makefile   Thu Jun 10 18:31:57 1999
@@ -11,7 +11,7 @@
        kvm_mkdb lastlogin lpr mailwrapper map-mbone mbrlabel \
        mdconfig mdsetimage \
        mopd mountd mrinfo mrouted mtrace mtree \
-       netgroup_mkdb nfsd nfsiod pkg_install portmap pppd pstat \
+       netgroup_mkdb newsyslog nfsd nfsiod pkg_install portmap pppd pstat \
        pwd_mkdb quot quotacheck quotaon rarpd rbootd rdate \
        repquota rmt rpc.bootparamd rpc.lockd rpc.pcnfsd \
        rpc.statd rpc.yppasswdd rwhod sa screenblank \