Bug 229 - reg sudo on nis
reg sudo on nis
Status: RESOLVED INVALID
Product: Sudo
Classification: Unclassified
Component: Sudo
1.6.8
HP Linux
: high high
Assigned To: Todd C. Miller
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2006-11-27 17:28 MST by Baskar
Modified: 2007-07-05 15:50 MDT (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Baskar 2006-11-27 17:28:47 MST
Hi,
I have configured nis in 10 solaris and 4 linux boxes.
i have done automount for sudo in nis.
i download the sudo package and installed under /usr/local.
On all solaris boxes the sudo read rom /usr/local but linux boxes do not read from /usr/local.it reads from its default /etc/sudoer file.
even manually i try to run /usr/local/bin/sudo on linux boxes.
it displays "cannot execute binary file".
how can i access sudo in centralised way. 

Thanks in advance
Regards
Baskar.N
Comment 1 Todd C. Miller 2007-07-05 15:50:28 MDT
This kind of question is better suited to the sudo-users mailing list.  It sounds like what you need to do is to rebuild sudo on your linux machines to use /usr/local/etc/sudoers instead of the default /etc/sudoers.  E.g. give conifgure the --sysconfdir=/usr/local/etc parameter.