[Pisi] r1008 - trunk/other/hal
pisi-uludag at uludag.org.tr
pisi-uludag at uludag.org.tr
5 Eki 2005 Çar 17:07:47 EEST
Author: meren
Date: Wed Oct 5 17:07:46 2005
New Revision: 1008
Modified:
trunk/other/hal/hal.postinstall
Log:
hal icin FIXME
Modified: trunk/other/hal/hal.postinstall
=================================================================
--- trunk/other/hal/hal.postinstall (original)
+++ trunk/other/hal/hal.postinstall Wed Oct 5 17:07:46 2005
@@ -1,17 +1,8 @@
#!/bin/bash
-## HAL Daemon drops privledges so we need group access to read disks
-HALDAEMON_GROUPS="haldaemon,disk,cdrom,cdrw,floppy"
-
-## We need to add the user/groups *after* package compilation/installation, so that we
-## don't change the user without the package being installed.
+#FIXME: kullanici ve grup'u hardcoded yapacağız demiştik,
+# onları passwd ve group'a ekledikten sonra bu dosyayı silebiliriz.
+HALDAEMON_GROUPS="haldaemon,disk,cdrom,cdrw,floppy"
newgroup haldaemon
-
-# HAL drops priviledges by default now ...
-# ... so we must make sure it can read disk/cdrom info (ie. be in ${HALDAEMON_GROUPS} groups)
newuser haldaemon -1 "-1" /dev/null ${HALDAEMON_GROUPS}
-
-# Make sure that the haldaemon user is in the ${HALDAEMON_GROUPS}
-# If users have a problem with this, let them file a bug
-usermod -G ${HALDAEMON_GROUPS} haldaemon
Pisi mesaj listesiyle ilgili
daha fazla bilgi