I guess cyrus user have /bin/false shell so U should try sudo -u cyrus /usr/cyrus/bin/ctl_mboxlist -d
Bartosz Jozwiak wrote:
This is what i get:
bartek:/# su - cyrus bartek:/# /usr/cyrus/bin/ctl_mboxlist -d fatal error: must run as the Cyrus user
--On Donnerstag, 19. Februar 2004 8:38 Uhr -0300 Bartosz Jozwiak <[EMAIL PROTECTED]> wrote:
I have been trying to create a txt file with list of mailboxes: su - cyrus -c "/usr/cyrus/bin/ctl_mboxlist -d" > /cyrus/mailboxlist.txt
What I only get is emply txt file :( why ?
If I were you I'd do it in separate steps to find out:
su - cyrus /usr/cyrus/bin/ctl_mboxlist -d
Does this return anything?
Cheers, Sebastian Hagedorn -- Sebastian Hagedorn M.A. - RZKR-R1 (Gebäude 52), Zimmer 18 Zentrum für angewandte Informatik - Universitätsweiter Service RRZK Universität zu Köln / Cologne University - Tel. +49-221-478-5587
--- Home Page: http://asg.web.cmu.edu/cyrus Wiki/FAQ: http://cyruswiki.andrew.cmu.edu List Archives/Info: http://asg.web.cmu.edu/cyrus/mailing-list.html
--- Home Page: http://asg.web.cmu.edu/cyrus Wiki/FAQ: http://cyruswiki.andrew.cmu.edu List Archives/Info: http://asg.web.cmu.edu/cyrus/mailing-list.html