su - cyrus quota
andre at neo-anime.org
Mon Jul 14 15:24:55 EDT 2003
If you'd like not to switch users and remain as root:
sudo -u cyrus /usr/cyrus/bin/quota
su cyrus; quota; exit
Haven't tried this one, the first example works.
> 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 ?
More information about the Info-cyrus