[history][humour] B before C (was: The su manual doesn't mention use root account by default)

2019-06-26 Thread ropers
Ingo Schwarze wrote: > su(I) goes back all the way to v1: (...) It wasn't in v0 PDP-7 UNIX though: > https://www.tuhs.org/Archive/Distributions/Research/McIlroy_v0/UnixEditionZero.txt >From that text file's Introduction: >> Besides the system proper, the major programs available under >> UNIX

[OT][man and basic comprehension][amateur hour] cd command, chdir syscall, shell behavour (was: The su manual doesn't mention use root account by default)

2019-06-23 Thread ropers
Ingo Schwarze wrote: > su(I) goes back all the way to v1: (...) It wasn't in v0 PDP-7 UNIX though: > https://www.tuhs.org/Archive/Distributions/Research/McIlroy_v0/UnixEditionZero.txt >From that text file: >> 8.4 chdir -- change directories >> >> To change the current directory, use >> >>

Re: The su manual doesn't mention use root account by default

2019-06-13 Thread U'll Be King of the Stars
On 13/06/2019 20:56, Misc User wrote: > On 6/13/2019 9:42 AM, Adam Thompson wrote: >> On 2019-06-12 03:55, Ingo Schwarze wrote: >> During initial system installation & deployment, before doas is >> configured, and assuming you haven't [yet] added your SSH keys to >> ~root/.ssh/allowed_keys, it's

Re: The su manual doesn't mention use root account by default

2019-06-13 Thread Misc User
On 6/13/2019 9:42 AM, Adam Thompson wrote: On 2019-06-12 03:55, Ingo Schwarze wrote: During initial system installation & deployment, before doas is configured, and assuming you haven't [yet] added your SSH keys to ~root/.ssh/allowed_keys, it's quite impossible to avoid using su. (AFAIK.  If

Re: The su manual doesn't mention use root account by default

2019-06-13 Thread cpb_misc
Well, I often need a root shell. Usually I login as a user in group wheel, but not operator! The perils of group operator were explained in a previous thread. I don't use that group anymore. As I understand, nothing like a web browser, etc. should ever be used by root. So I don't. I have been

Re: The su manual doesn't mention use root account by default

2019-06-13 Thread Adam Thompson
On 2019-06-12 03:55, Ingo Schwarze wrote: Even though su(1) can still be used today to relinquish privilege when you are already root, no more development is done on it and people rarely look at the manual page. The last time new functionality was added to the su(1) manual page was almost a

Re: The su manual doesn't mention use root account by default

2019-06-13 Thread Ingo Schwarze
Hi, Christian Weisgerber wrote on Thu, Jun 13, 2019 at 11:13:11AM -: > On 2019-06-13, "Theo de Raadt" wrote: >> Somebody wrote: >>> I always considered that su is coming from _s_uper _u_ser. But maybe I >>> am wrong, I am not from old UNIX days. >> incorrect. >> >> NAME >> su -

Re: The su manual doesn't mention use root account by default

2019-06-13 Thread Christian Weisgerber
On 2019-06-13, "Theo de Raadt" wrote: >> I always considered that su is coming from _s_uper _u_ser. But maybe I >> am wrong, I am not from old UNIX days. > > incorrect. > > NAME > su - substitute user identity Well, that's V7, which appears to have engaged in a bit of revisionism together

Re: The su manual doesn't mention use root account by default

2019-06-13 Thread Mihai Popescu
> Ingo seems to be rather good at those. My favorites are Nick Holland's answers. But let's not forget Stuart Henderson, Henning Brauer, Stefan Sperling, Marc Espie ... and Dr. House. The answers from the latter are hard to digest but always solid and in place. May be others too, my excuses for

Re: The su manual doesn't mention use root account by default

2019-06-13 Thread chohag
Nan Xiao writes: > Hi Ingo, > > Thanks for your detailed explanation! Ingo seems to be rather good at those. The last trivial question I asked got an exposé on precisely how the ports and base development processes interact with one another. I propose a motion that every answer Igno makes to a

Re: The su manual doesn't mention use root account by default

2019-06-13 Thread Marc Espie
On Thu, Jun 13, 2019 at 08:55:09AM +0100, Andrew Luke Nesbit wrote: > On 13/06/2019 07:17, Theo de Raadt wrote: > > Mihai Popescu wrote: > > > >>> ... if no account is provided, root is the default > >> > >> I always considered that su is coming from _s_uper _u_ser. But maybe I > >> am wrong, I

Re: The su manual doesn't mention use root account by default

2019-06-13 Thread Andrew Luke Nesbit
On 13/06/2019 07:17, Theo de Raadt wrote: > Mihai Popescu wrote: > >>> ... if no account is provided, root is the default >> >> I always considered that su is coming from _s_uper _u_ser. But maybe I >> am wrong, I am not from old UNIX days. > > incorrect. > > NAME > su - substitute user

Re: The su manual doesn't mention use root account by default

2019-06-13 Thread Nan Xiao
Hi Ingo, Thanks for your detailed explanation! Best Regards Nan Xiao On Wed, Jun 12, 2019 at 4:55 PM Ingo Schwarze wrote: > > Hello Nan Xiao, > > Nan Xiao wrote on Wed, Jun 12, 2019 at 02:19:08PM +0800: > > > I read su manual (https://man.openbsd.org/su.1), but can't find words > > which said

Re: The su manual doesn't mention use root account by default

2019-06-13 Thread Theo de Raadt
Mihai Popescu wrote: > > ... if no account is provided, root is the default > > I always considered that su is coming from _s_uper _u_ser. But maybe I > am wrong, I am not from old UNIX days. incorrect. NAME su - substitute user identity

Re: The su manual doesn't mention use root account by default

2019-06-13 Thread Mihai Popescu
> ... if no account is provided, root is the default I always considered that su is coming from _s_uper _u_ser. But maybe I am wrong, I am not from old UNIX days.

Re: The su manual doesn't mention use root account by default

2019-06-12 Thread Ingo Schwarze
Hello Nan Xiao, Nan Xiao wrote on Wed, Jun 12, 2019 at 02:19:08PM +0800: > I read su manual (https://man.openbsd.org/su.1), but can't find words > which said if no account is provided, root is the default. The BUGS section says so indirectly, but i agree that is not sufficient. A manual page

The su manual doesn't mention use root account by default

2019-06-12 Thread Nan Xiao
Hi misc@, Greeting from me! I read su manual (https://man.openbsd.org/su.1), but can't find words which said if no account is provided, root is the default. But for doas(https://man.openbsd.org/doas.1), it has following words: -u userExecute the command as user. The default is root. I am