Hacker News new | past | comments | ask | show | jobs | submit login

I always do

  $ sudo su -             # root
  $ sudo su - username    # user


  $ man su
       -, -l, --login
              make the shell a login shell



Consider applying for YC's W25 batch! Applications are open till Nov 12.

Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: