Skip to content. | Skip to navigation

Personal tools

Navigation

You are here: Home / Wiki / EmulabClientBuild / Issues that could be fixed by changing the emulabclient source code

Issues that could be fixed by changing the emulabclient source code

Plain Text icon Problems+need+to+be+checked+on.txt — Plain Text, 1 KB (1261 bytes)

File contents

´╗┐Problems need to be checked on
Stop renaming of network interfaces

apt-get remove --purge biosdevname
update-initramfs -c -k `uname -r`
Why is sudors not handled in the client source.
%root group needs to be add and we like no passwords. 

  diff etc/sudors etc14/sudors
***************
! Defaults env_reset
! Defaults mail_badpass
---
! #Defaults env_reset
! #Defaults mail_badpass

*** 19,26 ****
 root ALL=(ALL:ALL) ALL
 
 # Members of the admin group may gain root privileges
! %admin ALL=(ALL) NOPASSWD: ALL
! %root ALL=(ALL) NOPASSWD: ALL
 
 # Allow members of group sudo to execute any command
 %sudo ALL=(ALL:ALL) ALL
--- 20,26 ----
 root ALL=(ALL:ALL) ALL
 
 # Members of the admin group may gain root privileges
! %admin ALL=(ALL) ALL
 
 # Allow members of group sudo to execute any command
 %sudo ALL=(ALL:ALL) ALL
user/group conflicts, two choices 
1. change the source emulab-client installed passwd and groups file
2. change the uid/gid of the few file that conflict. 

Did the second: 
 
chown statd /var/lib/nfs /var/lib/nfs/sm.bak /var/lib/nfs/sm
chgrp crontab /var/spool/cron/crontabs /usr/bin/crontab
chgrp syslog /var/log
chgrp fuse /etc/fuse.conf 
chgrp mlocate /usr/bin/mlocate /var/lib/mlocate/mlocate.db
chgrp ssh /usr/bin/ssh-agent