enabling shell access for cyrus user
My current cyrus user in /etc/passwd looks like this:
cyrus:x:76:12:Cyrus IMAP Server:/var/lib/imap:/sbin/nologin
I want to be able to give it shell access but restrict it to /var/lib/imap
and /var/spool/imap. How do I enable the shell to allow this using
usermod? And once this is done, will the cyrus user be able to ssh into
the server or should I make changes in sshd_config?
Purpose: Need to rsync mail for backup using cyrus user
No comments:
Post a Comment