Hi Ian,
You should be able to use "zlogin -S ..." to bypass the authentication. My
mental model of how that actually works is that it just execs bash in the
context of the zone (whatever "in the context of the zone" means). I don't
expect that to do anything useful in a KVM zone, but it should work for OS
and LX zones.

In answer to your question, the manual says that zlogin without the "-S"
just runs login, so if the LDAP configuration is confused about who root
is, then that would explain your symptoms.

Cheers

On 18 April 2016 at 21:15, Ian Collins <[email protected]> wrote:

> I changed the authentication in an LX Ubuntu zone to use LDAP an now I can
> no longer zlogin to the zone.  Fortunately I had added my account to
> sudoers, otherwise there would have been no way to gain root access!
> 
> Which authentication method does zlogin use and is there a "safe" way to
> mix it with LDAP?
> 
> Cheers,
> 
> --
> Ian.
> 



-------------------------------------------
smartos-discuss
Archives: https://www.listbox.com/member/archive/184463/=now
RSS Feed: https://www.listbox.com/member/archive/rss/184463/25769125-55cfbc00
Modify Your Subscription: 
https://www.listbox.com/member/?member_id=25769125&id_secret=25769125-7688e9fb
Powered by Listbox: http://www.listbox.com

Reply via email to