Information
I made this script a few year ago for FreeBSD 9.0
After that it works on 10 with fixes, on 11 and on 12 versions of FreeBSD.
Now I am testing on 13 version.
It makes nullfs links for jailed FreeBSD with different php.ini,
apache.conf, postfix config, etc.
It does not copy any system
Oh!!! -c is a csh option
Someone had to have created that command structure as a practical joke
on a co-worker back in about 1975... Let's make the login user optional,
but if you opt not to use it the next argument works completely differently.
Now that I understand it, I see which par
Hi Ari,
> Am 19.08.2021 um 10:33 schrieb Aristedes Maniatis via freebsd-stable
> :
>
> The man page is very confusing. Yes, it says -c is class. But it also has
> examples like this:
> [...]
> What is -c supposed to do?
Everything after the user name is handed to /bin/sh.
So it's executing sh
On 2021-08-19 11:33, Aristedes Maniatis wrote:
> The man page is very confusing. Yes, it says -c is class. But it also
> has examples like this:
>
> su -m operator -c 'shutdown -p now'
>
>
>
> In my testing, this works:
>
> $ su - root -c 'date'
> Thu Aug 19 08:31:53 UTC 2021
>
> and this do
The man page is very confusing. Yes, it says -c is class. But it also
has examples like this:
su -m operator -c 'shutdown -p now'
In my testing, this works:
$ su - root -c 'date'
Thu Aug 19 08:31:53 UTC 2021
and this does not:
$ su - root 'date'
date: No such file or directory.
What is
On 2021-08-19 08:31, Aristedes Maniatis via freebsd-stable wrote:
> I've got some scripts which are intended to run on a new EC2 instance
> right after it is created. Since the script needs to install packages it
> need to run as root. But because I don't have sudo installed at this
> point (it is