Reputation: 7788
I've created the free AMI linux instance on the amazon ec2. I'm trying to setup tomcat7, but seem to have run into an issue setting up an admin user to tomcat7. I've installed the following.
sudo yum install tomcat7-webapps tomcat7-docs-webapp tomcat7-admin-webapps
When I try to access the xml using the following command.
sudo /etc/tomcat7/tomcat-users.xml
I receive the following error, sudo: /etc/tomcat7/tomcat-users.xml: command not found
I admit, I'm a complete newbie to linux, so I'm not sure if I'm missing something. Would anybody happen to know what I'm missing?
Upvotes: 0
Views: 1144
Reputation: 19573
sudo
only escalates privs. You didn't not provide a command to use sudo with. Maybe you intended to do this
sudo vi /etc/tomcat7/tomcat-users.xml
Upvotes: 1