Install - 'adm' permission granted

Help
ispyisail
2008-03-28
2013-04-03
  • ispyisail
    ispyisail
    2008-03-28

    Hi

    Can you please clarify the first stage of the install process

    "1. reading log files need 'adm' permission granted to 'www-data' (apache user), that is, in /etc/groups, 'www-data' must be listed in 'adm' group"

    Ubuntu 6.06 doesn't have /etc/groups but it does have /etc/group and /etc/group-

    I've assumed that /etc/groups and /etc/group is the same file

    The first install i assumed that the file was all ready set up and no change was necessary e.g.
    www-data:x:33:

    then on the second install i have assumed that i needed to change the file to
    adm:x:4:user:www-data

    Now im not sure of either. Help :)

    This is currently my full file
    root:x:0:
    daemon:x:1:
    bin:x:2:
    sys:x:3:
    adm:x:4:user:www-data
    tty:x:5:
    disk:x:6:
    lp:x:7:
    mail:x:8:
    news:x:9:
    uucp:x:10:
    man:x:12:
    proxy:x:13:
    kmem:x:15:
    dialout:x:20:user
    fax:x:21:
    voice:x:22:
    cdrom:x:24:user
    floppy:x:25:user
    tape:x:26:
    sudo:x:27:
    audio:x:29:user
    dip:x:30:user
    www-data:x:33:
    backup:x:34:
    operator:x:37:
    list:x:38:
    irc:x:39:
    src:x:40:
    gnats:x:41:
    shadow:x:42:freerad
    utmp:x:43:
    video:x:44:user
    sasl:x:45:
    plugdev:x:46:user
    staff:x:50:
    games:x:60:
    users:x:100:
    nogroup:x:65534:
    dhcp:x:101:
    syslog:x:102:
    klog:x:103:
    crontab:x:104:
    ssh:x:105:
    user:x:1000:
    lpadmin:x:106:user
    scanner:x:107:user
    admin:x:108:user
    mysql:x:109:
    ssl-cert:x:110:
    freerad:x:111:

     
    • achmad zaenuri
      achmad zaenuri
      2008-03-28

      use comma (,) instead of colon(:)
      OR
      you can use this command as root
      usermod -G adm -a www-data

       
    • ispyisail
      ispyisail
      2008-03-28

      Thanks

      That was quick
      You should be working, not free user support :)

       
    • achmad zaenuri
      achmad zaenuri
      2008-03-28

      actually i'm only university student. I'm not working yet.