Can you help me with sudo install ?
When I run make ( or gmake) I get this:
Undefined first referenced
symbol in file
libintl_dgettext pam.o
ld: fatal: Symbol referencing errors. No output written to sudo
collect2: ld returned 1 exit status
*** Error code 1
make: Fatal error: Command failed for target `sudo'
Do you need to build from scratch? You could just
pull a premade package from sunfreeware for blastwave.
You can even get source there...
You see dependencies as well from those site for other
packages you might have to install.
> When I run make ( or gmake) I get this:
>
>
> Undefined first referenced
> symbol in file
> libintl_dgettext pam.o ld: fatal: Symbol referencing
You need libintl.so from GNU gettext.
I downloaded a pre compiled sudo version from sunfreeware, but always
that I try
issue a command it doesn´t accept user´s password, like below :
solaris> id
uid=2142(marcus) gid=10(staff)
solaris> sudo -u john w
We trust you have received the usual lecture from the local System
Administrator. It usually boils down to these three things:
#1) Respect the privacy of others.
#2) Think before you type.
#3) With great power comes great responsibility.
Password:
Sorry, try again.
Password:
Sorry, try again.
Password:
Sorry, try again.
sudo: 3 incorrect password attempts
May 16 09:27:46 ugmtzsux007 sudo: [ID 702911 local2.alert] marcus : 3
incorrect password attempts ; TTY=pts/1 ; PWD=/var/sudo-1.6.9p16 ;
USER=john ; COMMAND=/usr/bin/w
solaris>
...snip...
> uid=2142(marcus) gid=10(staff)
> solaris> sudo -u john w
...snip...
> Password:
> Sorry, try again.
Did you enter the password for marcus or the one for john?
I put john´s password.
>> Did you enter the password for marcus or the one for john?
>
> I put john´s password.
Try using the one for marcus, then RTFM.
but why use sudo? Doesn't su -c do essentially the same thing? Or why
not just plain su?
Plus sunfreeware stuff always installs into /usr/local.
> I'm just curious,
>
> but why use sudo? Doesn't su -c do essentially the same thing? Or why
> not just plain su?
Sudo's more configurable, you can configure it so that you don't need
the target account's password, and it leaves more of an audit trail.
Can pfexec be used instead?
> Plus sunfreeware stuff always installs into /usr/local.
Yes, and without proper dependencies. Even their IPS packages are broken :-((
Blastwave's *much* better, but sadly their IPS repository's pretty busted.
Cheers,
Chris