Peter Teunissen wrote: > Hi all, > > > I've messed up my cyrus mailbox file and need to run cyrreconstruct - m > to attempt repair. cyrreconstruct needs to be run as user cyrus > however, but I cannot su to cyrus, even after adding an password to > user cyrus with usermod -p. > > I've delved into rute, googled but nothing gives me a good direction. > > What do I need to do to be able to run cyrreconstruct as user cyrus? > >
Make sure you're logged in as root, then: # su cyrus If you need to script it look into the -c switch for su (`man su`). # su cyrus -c "<path_to_app> <args>" If you're still having trouble tell us the exact steps you're taking, including any error messages or pertinent log entries. G -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]