Hi all,
I'm unable to use sudo on an Ubuntu machine that uses the bubba as NIS server for authentication.
The authentication seems to be successful. I get no error messages at the client or in auth.log on bubba. But the command followed by sudo never executes:
Code: Select all
niklas@desktop:~$ sudo ls
[sudo] password for niklas:
niklas@desktop:~$
Looking at ubuntu forums it seems this can happen if the user is not part of the admin group.
Having a look at the /etc/group file on the bubba I notice that there is no admin group, and I also notice that there are actually no users belonging to any group. Is this normal? How does the group resolution work on the bubba?
/etc/group:
Code: Select all
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:
postfix:x:101:
postdrop:x:102:
crontab:x:103:
ssh:x:104:
dovecot:x:105:
lpadmin:x:106:
messagebus:x:107:
avahi:x:108:
Code: Select all
niklas@bubba:~$ touch test
niklas@bubba:~$ ls -l test
-rw-rw-rw- 1 niklas users 0 Jun 6 17:10 test
Am I barking up the wrong tree here?
If my groups file is normal, then the problem must lie elsewhere.
I tried to be clever:
Code: Select all
root@desktop:/home/niklas# strace -f -o strace.out sudo ls
Thankful for any insight,
Cheeseboy