provide valid resize and setting root pass

Signed-off-by: Vasiliy Tolstov <v.tolstov@selfip.ru>