I've currently booted into recovery mode, because I removed my sole user from admin :/
When I run adduser oadams admin
, I get gpasswd: cannot lock /etc/group; try again later.
For what it's worth, ls /etc/ | grep "lock"
, returns only mtab.fuselock
, so there's nothing to delete.
How can I get my user back in the admin group?
cat /proc/mounts
, I getrootfs / rootfs rw 0 0
so I take that that is read-write. There are a bunch of other lines, all with rw in them, except/dev/disk/by-uuid/<some long uuid> / ext4 ro,relatime,user_xattr,acl,barrier=1,data=ordered 0 0
, which I take is read-only. – oadams Dec 01 '11 at 22:10/etc/fstab
, your drive designation (the uuid one) is atypical. The rootfs system is not important here. – arrange Dec 01 '11 at 22:20UUID=0c5c5838-0cba-405e-a3ba-ca2555b90469 / ext4 errors=remount-ro,user_xattr 0 1
– oadams Dec 01 '11 at 22:58