User Maverick Group failed

Asked by fedepop

syntax error: unknown group 'ssl-cert' in statoverride file

Hi Guys I erase some user whitout intention and i not how rebuild this.
Anybody can helpme?
I need copy and paste the erase group

Maverick Ubuntu
Intel P IV 3.0 Ghz

Question information

Language:
English Edit question
Status:
Solved
For:
Ubuntu update-manager Edit question
Assignee:
No assignee Edit question
Solved by:
fedepop
Solved:
Last query:
Last reply:
Revision history for this message
Michael Basse (michael-alpha-unix) said :
#1

can you paste the output of

"cat /etc/passwd" and "cat /etc/group" so that we can see what users and groups got deleted?

to get back the ssl-cert group you can run

"sudo addgroup --gid 112 ssl-cert"

Revision history for this message
fedepop (fedepop) said :
#2

root:x:0:0:root:/root:/bin/bash
daemon:x:1:1:daemon:/usr/sbin:/bin/sh
bin:x:2:2:bin:/bin:/bin/sh
sys:x:3:3:sys:/dev:/bin/sh
sync:x:4:65534:sync:/bin:/bin/sync
games:x:5:60:games:/usr/games:/bin/sh
man:x:6:12:man:/var/cache/man:/bin/sh
lp:x:7:7:lp:/var/spool/lpd:/bin/sh
mail:x:8:8:mail:/var/mail:/bin/sh
news:x:9:9:news:/var/spool/news:/bin/sh
uucp:x:10:10:uucp:/var/spool/uucp:/bin/sh
proxy:x:13:13:proxy:/bin:/bin/sh
www-data:x:33:33:www-data:/var/www:/bin/sh
backup:x:34:34:backup:/var/backups:/bin/sh
list:x:38:38:Mailing List Manager:/var/list:/bin/sh
irc:x:39:39:ircd:/var/run/ircd:/bin/sh
gnats:x:41:41:Gnats Bug-Reporting System (admin):/var/lib/gnats:/bin/sh
nobody:x:65534:65534:nobody:/nonexistent:/bin/sh
libuuid:x:100:101::/var/lib/libuuid:/bin/sh
syslog:x:101:102::/home/syslog:/bin/false
klog:x:102:103::/home/klog:/bin/false
hplip:x:103:7:HPLIP system user,,,:/var/run/hplip:/bin/false
avahi-autoipd:x:104:110:Avahi autoip daemon,,,:/var/lib/avahi-autoipd:/bin/false
gdm:x:105:111:Gnome Display Manager:/var/lib/gdm:/bin/false
saned:x:106:113::/home/saned:/bin/false
pulse:x:107:114:PulseAudio daemon,,,:/var/run/pulse:/bin/false
messagebus:x:108:117::/var/run/dbus:/bin/false
polkituser:x:109:118:PolicyKit,,,:/var/run/PolicyKit:/bin/false
avahi:x:110:119:Avahi mDNS daemon,,,:/var/run/avahi-daemon:/bin/false
haldaemon:x:111:120:Hardware abstraction layer,,,:/var/run/hald:/bin/false
federico:x:1000:1000:Federico,,,:/home/federico:/bin/bash
speech-dispatcher:x:112:29:Speech Dispatcher,,,:/var/run/speech-dispatcher:/bin/sh
couchdb:x:113:116:CouchDB Administrator,,,:/var/lib/couchdb:/bin/bash
kernoops:x:114:65534:Kernel Oops Tracking Daemon,,,:/:/bin/false
usbmux:x:115:46:usbmux daemon,,,:/home/usbmux:/bin/false
festival:x:116:29::/home/festival:/bin/false
rtkit:x:117:124:RealtimeKit,,,:/proc:/bin/false
mythtv:x:118:126::/home/mythtv:/bin/sh
dhcpd:x:119:127::/var/run:/bin/false

root:x:0:federico
daemon:x:1:
bin:x:2:
sys:x:3:
lp:x:7:
mail:x:8:
news:x:9:
uucp:x:10:
man:x:12:
proxy:x:13:
audio:x:29:pulse,mythtv,federico
www-data:x:33:
backup:x:34:
list:x:38:
irc:x:39:
gnats:x:41:
plugdev:x:46:federico
games:x:60:
nogroup:x:65534:
libuuid:x:101:
syslog:x:102:
klog:x:103:
avahi-autoipd:x:110:
gdm:x:111:
saned:x:113:
pulse:x:114:
messagebus:x:117:
polkituser:x:118:
avahi:x:119:
haldaemon:x:120:
federico:x:1000:federico
couchdb:x:116:
rtkit:x:124:
mythtv:x:126:
dhcpd:x:127:
sudo:x:1001:federico
sudoers:x:1002:federico
adm:x:1003:federico
admin:x:1004:federico
mlocate:x:1005:

Revision history for this message
fedepop (fedepop) said :
#3

I run this last command, sudo addgroup --gid 112 ssl-cert, but here are the same error.

syntax error: unknown group 'crontab' in statoverride file

Revision history for this message
Michael Basse (michael-alpha-unix) said :
#4

sudo addgroup --gid 102 crontab

if you need other groups to, look at my /etc/group and use the sudo addgroup-command to add them

root:x:0:
daemon:x:1:
bin:x:2:
sys:x:3:
adm:x:4:michael
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:michael
fax:x:21:
voice:x:22:
cdrom:x:24:michael
floppy:x:25:
tape:x:26:
sudo:x:27:
audio:x:29:pulse
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:michael
staff:x:50:
games:x:60:
users:x:100:
nogroup:x:65534:
libuuid:x:101:
crontab:x:102:
syslog:x:103:
fuse:x:104:
messagebus:x:105:
mlocate:x:106:
ssh:x:107:
avahi-autoipd:x:108:
avahi:x:109:
netdev:x:110:
lpadmin:x:111:michael
ssl-cert:x:112:
couchdb:x:113:
pulse:x:114:
pulse-access:x:115:
utempter:x:116:
rtkit:x:117:
saned:x:118:
admin:x:119:michael
gdm:x:120:
nopasswdlogin:x:121:
michael:x:1000:
sambashare:x:122:michael
haldaemon:x:123:
winbindd_priv:x:124:

also, why is your user in the root-group? its a bad idea to put the user there. normally you are putting a user in the admin-group and use sudo instead of a real root-account. please remoce your user from the root-group as it is a big security issue

Revision history for this message
fedepop (fedepop) said :
#5

Ok man I go to do that, thanks for you help.