[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: What does the minus sign - do?... in the command sudo su -
From: |
Kai Grossjohann |
Subject: |
Re: What does the minus sign - do?... in the command sudo su - |
Date: |
Mon, 30 Sep 2013 13:04:16 -0700 (PDT) |
User-agent: |
G2/1.0 |
On Wednesday, September 25, 2013 11:19:32 AM UTC+2, Don Saklad wrote:
> What does the minus sign - do?... in the command
>
> sudo su -
May I propose to use "sudo -i" instead? It starts a login shell.
"sudo su -" is similar: sudo starts su which starts a login shell. I think it
makes more sense to have sudo start a login shell, than to have sudo start su
which starts a login shell...