dapper sudo
ubuntu at rio.vg
ubuntu at rio.vg
Tue Jul 4 14:35:21 UTC 2006
Alexander Skwar wrote:
> boricua wrote:
>> how come dapper does not allow me to do this
>>
>> sudo cat /dev/null > /var/log/apache2/error.log
>
> This doesn't have anything to do with dapper. What makes
> you think so? Does the above work at a different distribution?
>
Because Ubuntu insists on "use sudo for everything", "never log in as
root", "root doesn't even have a password to let you log in as root".
Most other distro's don't have this policy. Someone coming from another
distro or another flavor of Unix is used to using the standard su.
After becoming root, the above command would work, minus the superfluous
sudo.
More information about the ubuntu-users
mailing list