You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
@JigarJoshi this is the expected behavior. Serverspec and bats should be run as root, because they often require unrestricted access to read and write from the filesystem. Without that permission level, you would be unable to test many pieces of the system.
Because of the way EC2 instances are provisioned, the "login user" may vary. On Ubuntu, it's ubuntu, but it's root on some other systems. You can read more about it here: http://alestic.com/2014/01/ec2-ssh-username
in my
.kitchen.yml
file I haveand I have a test
after this if I do
kitchen login
andcat /tmp/1.txt
it printsroot
when I do
kitchen login
it logs in assome-user-name
The text was updated successfully, but these errors were encountered: