#!/bin/sh

while /bin/true
do

  echo -n "login: "
  if read U
  then
    /bin/true
  else
    exit 0
  fi

  su - "$U"
  echo

done
