summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorD.M.D. Ljungmark <spider@gentoo.org>2003-12-08 15:23:21 +0000
committerD.M.D. Ljungmark <spider@gentoo.org>2003-12-08 15:23:21 +0000
commit82f45430080f1f734268bde60e82dfadffad23b4 (patch)
tree761f6658a99b6710f094fcdb5205dabd17fc16cd /eclass/nxserver.eclass
parentBumping 1.3.12 to stable (diff)
downloadhistorical-82f45430080f1f734268bde60e82dfadffad23b4.tar.gz
historical-82f45430080f1f734268bde60e82dfadffad23b4.tar.bz2
historical-82f45430080f1f734268bde60e82dfadffad23b4.zip
Fixed chown nx.root to nx:root
Diffstat (limited to 'eclass/nxserver.eclass')
-rw-r--r--eclass/nxserver.eclass8
1 files changed, 4 insertions, 4 deletions
diff --git a/eclass/nxserver.eclass b/eclass/nxserver.eclass
index e65697e7887c..4d382f6f51fa 100644
--- a/eclass/nxserver.eclass
+++ b/eclass/nxserver.eclass
@@ -76,15 +76,15 @@ nxserver_pkg_postinst() {
enewuser nx -1 /usr/NX/bin/nxserver /usr/NX/nxhome
einfo "Changing permissions for files under /usr/NX"
- chown nx.root /usr/NX/etc/passwd
- chown -R nx.root /usr/NX/nxhome
- chown -R nx.root /usr/NX/var/sessions
+ chown nx:root /usr/NX/etc/passwd
+ chown -R nx:root /usr/NX/nxhome
+ chown -R nx:root /usr/NX/var/sessions
einfo "Generating SSH keys for the 'nx' user"
if [ ! -f /usr/NX/etc/users.id_dsa ]; then
ssh-keygen -q -t dsa -N '' -f /usr/NX/etc/users.id_dsa
fi
- chown nx.root /usr/NX/etc/users.id_dsa
+ chown nx:root /usr/NX/etc/users.id_dsa
cp -f /usr/NX/nxhome/.ssh/server.id_dsa.pub.key /usr/NX/nxhome/.ssh/authorized_keys2
if [ ! -f /usr/NX/var/broadcast.txt ]; then