so this user shapath does exist and can connect to the database? whaever user you choose to use to have all the requirements like a normal vagrant user
https://docs.vagrantup.com/v2/boxes/base.html This is a list of commands I run for vagrant user creation: "useradd vagrant", "cp /etc/sudoers /etc/sudoers.orig", "sed -i -e 's/Defaults\\s*requiretty$/#Defaults\trequiretty/' /etc/sudoers", "sed -i -e '/# %wheel\tALL=(ALL)\tNOPASSWD: ALL/a %vagrant\tALL=(ALL)\tNOPASSWD: ALL' /etc/sudoers", "mkdir ~vagrant/.ssh", "chmod 700 ~vagrant/.ssh", "echo 'ssh-rsa AAAAB3NzaC1yc2EAAAABIwAAAQEA6NF8iallvQVp22WDkTkyrtvp9eWW6A8YVr+kz4TjGYe7gHzIw+niNltGEFHzD8+v1I2YJ6oXevct1YeS0o9HZyN1Q9qgCgzUFtdOKLv6IedplqoPkcmF0aYet2PkEDo3MlTBckFXPITAMzF8dJSIFo9D8HfdOV0IAdx4O7PtixWKn5y2hMNG0zQPyUecp4pzC6kivAIhyfHilFR61RGL+GPXQ2MWZWFYbAGjyiYJnAmCP3NOTd0jMZEnDkbUvxhMmBYSdETk1rRgm+R4LOzFUGaHqHDLKLX+FIPKcF96hrucXzcWyLbIbEgE98OHlnVYCzRdK8jlqm8tehUc9c9WhQ== vagrant insecure public key' > ~vagrant/.ssh/authorized_keys", "chmod 600 ~vagrant/.ssh/authorized_keys", "chown -R vagrant: ~vagrant/.ssh", "cp /etc/ssh/sshd_config /etc/ssh/sshd_config.ori", "sed -i -e '/#UseDNS yes/a UseDNS no' /etc/ssh/sshd_config", "for nic in /etc/sysconfig/network-scripts/ifcfg-eth*; do sed -i /HWADDR/d $nic; done", "rm /etc/udev/rules.d/70-persistent-net.rules" On Tue, Mar 31, 2015 at 3:48 PM, Shapath Neupane <[email protected]> wrote: > Actually I have this in the sudoers file > %admin ALL=NOPASSWD: ALL > > I have added the `vagrant` user and the `shapath` user to the admin group. > > -- > You received this message because you are subscribed to the Google Groups > "Vagrant" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to [email protected]. > For more options, visit https://groups.google.com/d/optout. -- You received this message because you are subscribed to the Google Groups "Vagrant" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. For more options, visit https://groups.google.com/d/optout.
