View Single Post
  #14  
Old 6th July 2010, 18:04
Happy Happy is offline
Member
 
Join Date: Jun 2007
Posts: 91
Thanks: 0
Thanked 0 Times in 0 Posts
Default

I don't allow root to ssh in to my mail server. I log in with another admin ID and do sudo su. However, anytime I try to run the commands below I get and error about not being able to edit a read only file.

vi /etc/postfix/virtusertable

/etc/init.d/postfix restart


The only workaround I have found is to add my admin user ID to the root group or to allow root to ssh and run the commands. When lookink at the file system it shows root as the owner of the files I believe
Reply With Quote