Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/etc Get rid of old-style chown operands.
details: https://anonhg.NetBSD.org/src/rev/6566f5b3d1f3
branches: trunk
changeset: 472158:6566f5b3d1f3
user: kleink <kleink%NetBSD.org@localhost>
date: Fri Apr 23 08:20:28 1999 +0000
description:
Get rid of old-style chown operands.
diffstat:
etc/security | 12 ++++++------
etc/weekly | 6 +++---
2 files changed, 9 insertions(+), 9 deletions(-)
diffs (73 lines):
diff -r 627efb6b117d -r 6566f5b3d1f3 etc/security
--- a/etc/security Fri Apr 23 06:20:33 1999 +0000
+++ b/etc/security Fri Apr 23 08:20:28 1999 +0000
@@ -1,6 +1,6 @@
#!/bin/sh -
#
-# $NetBSD: security,v 1.37 1999/03/17 19:11:05 wrstuden Exp $
+# $NetBSD: security,v 1.38 1999/04/23 08:20:28 kleink Exp $
# from: @(#)security 8.1 (Berkeley) 6/9/93
#
@@ -134,11 +134,11 @@
else
cp -p $CUR $BACK
cp -p $MP $CUR
- chown root.wheel $CUR
+ chown root:wheel $CUR
fi
else
cp -p $MP $CUR
- chown root.wheel $CUR
+ chown root:wheel $CUR
fi
# Check the group file syntax.
@@ -598,7 +598,7 @@
# Create the mtree tree specifications using:
#
# mtree -cx -pDIR -kcksum,gid,mode,nlink,size,link,time,uid > DIR.secure
-# chown root.wheel DIR.secure
+# chown root:wheel DIR.secure
# chmod 600 DIR.secure
#
# Note, this is not complete protection against Trojan horsed binaries, as
@@ -672,13 +672,13 @@
cat $OUTPUT
mv -f $CUR $BACK
cp -p $file $CUR
- chown root.wheel $CUR
+ chown root:wheel $CUR
fi
else
printf "\n======\n%s added\n======\n" $file
diff /dev/null $file
cp -p $file $CUR
- chown root.wheel $CUR
+ chown root:wheel $CUR
fi
else
if [ -f $CUR ]; then
diff -r 627efb6b117d -r 6566f5b3d1f3 etc/weekly
--- a/etc/weekly Fri Apr 23 06:20:33 1999 +0000
+++ b/etc/weekly Fri Apr 23 08:20:28 1999 +0000
@@ -1,6 +1,6 @@
#!/bin/sh -
#
-# $NetBSD: weekly,v 1.12 1998/09/15 05:06:31 lukem Exp $
+# $NetBSD: weekly,v 1.13 1999/04/23 08:20:28 kleink Exp $
# from: @(#)weekly 8.2 (Berkeley) 1/2/94
#
@@ -65,9 +65,9 @@
if checkyesno rebuild_locatedb && [ -f /var/db/locate.database ]; then
echo "Rebuilding locate database:"
chmod 644 /var/db/locate.database
- chown nobody.nobody /var/db/locate.database
+ chown nobody:nobody /var/db/locate.database
nice -5 su -m nobody -c /usr/libexec/locate.updatedb 2>/dev/null
- chown root.wheel /var/db/locate.database
+ chown root:wheel /var/db/locate.database
else
echo "Not rebuilding locate database; no /var/db/locate.database"
fi
Home |
Main Index |
Thread Index |
Old Index