If you'd like not to switch users and remain as root:
sudo -u cyrus /usr/cyrus/bin/quota

or possibly:
su cyrus; quota; exit

Haven't tried this one, the first example works.

> Hello,
>
> I think I know why the script do not want to work.
> There is a problem with running quota file (/usr/cyrus/bin/quota)
>
> When I run this file logged as root it says that i should run this file as cyrus 
> user.
>
> So i try:
> su - cyrus quota
> and nothing happens. There is no print out it comes back to command line.
> Am I doing it ok ?
>
> BARTOSZ
>

Reply via email to