Subject: Re: su gives "Unmatched `. "
To: Siju George <sgeorge.ml@gmail.com>
From: Chavdar Ivanov <ci4ic4@gmail.com>
List: netbsd-users
Date: 04/05/2007 12:39:54
On 05/04/07, Siju George <sgeorge.ml@gmail.com> wrote:
> Hi,
>
> I am new to NetBSD.
> Have installed it once or twice before and not used it actually.
> I  have been using OpenBSD and FreeBSD for a few years now.
> I want to migrate my Samba Domain Controller from FreeBSD 6.1  to
> NetBSD 3.1 so I installed it and just tried to get familiar with it.
>
> I just found some thing strange and wouls like to hear what it is from
> some one who knows :-)
>
> ===============================================================
> vtcdc: {12} visudo
> visudo: Command not found.
>
> vtcdc: {11} su
> Password:
> su: Sorry: authentication error
>
> vtcdc: {15} su
> Password:
> 'vtcdc: {1} whoami
> Unmatched '.
>
> vtcdc: {2} exit
> vtcdc: {3} exit
> vtcdc: {16} su
> Password:
> vtcdc: {2} whoami
> root
> vtcdc: {3}
>
> =====================================================================
>
> In the First two lines I tried to Configure sudo ( as is my practice
> in OpenBSD ) but found visudo is missing. hope i wil have to install
> it through pkgsrc right?

Yes, sudo is not part of the NetBSD distribution. When you install it,
visudo will be in /usr/pkg/sbin directory,

>
> In the Second paragraph I mistyped the the root password and it gave
> the error "Sorry: authentication error"
>
> I think I typed or mistyped the password again
>
> see the prompt starts with a '
>
> ==================
> 'vtcdc: {1} whoami
> Unmatched '.
> ================

Not clear on this one; probably the csh prompt has been misconfigured
(I assume it's csh as the prompt looks like a common csh one). I use
[kz]sh myself.

>
> what happened here really?
>
> Thankyou so much :-)
>
> Kind Regards
>
> Siju
>

Chavdar Ivanov