Announcement

Collapse
No announcement yet.

[SOLVED]Installed and cant sudo. Now no groups setup on install

Collapse
This topic is closed.
X
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    [SOLVED]Installed and cant sudo. Now no groups setup on install

    Firstly I know its an alpha and alpha has a habit of breaking stuff. Hopefully someone can help me anyway.
    Just installed from Alpha 6 Alternate install CD on my soon to be....I hope file-server. After install I cant sudo anything. My first step after install was to be adding packages like apt-cacher.
    I have done a bit of research and found a few things didn't get done on install for some odd reason.
    For example here's my \etc\group file

    Code:
    root:x:0:
    daemon:x:1:
    bin:x:2:
    sys:x:3:
    adm:x:4:
    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:
    fax:x:21:
    voice:x:22:
    cdrom:x:24:
    floppy:x:25:
    tape:x:26:
    sudo:x:27:
    audio:x:29:
    dip:x:30:
    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:
    utmp:x:43:
    video:x:44:
    sasl:x:45:
    plugdev:x:46:
    staff:x:50:
    games:x:60:
    users:x:100:
    nogroup:x:65534:
    libuuid:x:101:
    syslog:x:102:
    klog:x:103:
    messagebus:x:104:
    polkituser:x:105:
    haldaemon:x:106:
    fuse:x:107:
    ssl-cert:x:108:
    lpadmin:x:109:
    crontab:x:110:
    mlocate:x:111:
    ssh:x:112:
    avahi-autoipd:x:113:
    avahi:x:114:
    netdev:x:115:
    admin:x:116:
    saned:x:117:
    myusername:x:1000:
    As you can see no one is in admin group at all.

    My \etc\sudoers file is there but doesn't contain a single line. Its just blank.

    Now if possible id prefer to save this install as its happened to my 2 times for 2 so far with the alternate CD and id like to get things up and running. The only reason im running alpha is I was stuck on 8.04 on the server and couldn't upgrade due to the KDE 3.x-4.x thing. I used alternate install CD mainly because im also running a 4 disk 3Tb software raid.

    So any way I can fix this or do I spend the hours downloading the desktop CD and hope that works?

    Edit:Managed to fix the sudo thing in recovery mode. Im still trying to sort out my \etc\groups problem. Can anyone point me to what my groups file should contain after a standard install please? Then I can modify mine to match.

    #2
    Re: [SOLVED]Installed and cant sudo. Now no groups setup on install

    Here is my /etc/group file. You can use kusers to modify yours.
    Code:
    root:x:0:
    daemon:x:1:
    bin:x:2:
    sys:x:3:
    adm:x:4:jerry
    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:jerry,chipcard
    fax:x:21:
    voice:x:22:
    cdrom:x:24:jerry
    floppy:x:25:
    tape:x:26:
    sudo:x:27:
    audio:x:29:
    dip:x:30:
    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:
    utmp:x:43:
    video:x:44:
    sasl:x:45:
    plugdev:x:46:jerry
    staff:x:50:
    games:x:60:
    users:x:100:
    nogroup:x:65534:
    libuuid:x:101:
    syslog:x:102:
    klog:x:103:
    fuse:x:104:
    ssl-cert:x:105:postgres
    lpadmin:x:106:jerry
    crontab:x:107:
    mlocate:x:108:
    ssh:x:109:
    avahi-autoipd:x:110:
    netdev:x:111:
    messagebus:x:112:
    avahi:x:113:
    polkituser:x:114:
    haldaemon:x:115:
    admin:x:116:jerry
    jerry:x:1000:
    sambashare:x:120:jerry
    postgres:x:117:
    chipcard:x:118:
    saned:x:119:
    "A nation that is afraid to let its people judge the truth and falsehood in an open market is a nation that is afraid of its people.”
    – John F. Kennedy, February 26, 1962.

    Comment

    Working...
    X