-
Notifications
You must be signed in to change notification settings - Fork 681
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Process user should eq ["longusername"]: usernames get truncated with a '+' at the end #995
Comments
@TD-4242 Thanks for reporting. Are you aware of a solution that works without a fixed character length? |
I don't, but I can dig a little further, I'm sure there is something. |
That would be awesome. |
might be the trick? |
Hey Bill, can you try out the code in this PR? Here's how you can try it out:
|
I'm going to merge #1225. |
Description
When testing for a username running a command if it is more than 8 characters it gets truncated as per the default ps command.
InSpec and Platform Version
inspec 0.29.0 from chefdk 0.17.17
Replication Case
Possible Solutions
http://askubuntu.com/questions/523673/ps-aux-for-long-charactered-usernames-shows-a-plus-sign
Current workaround
shorten test to first 7 letters and a plus(+) sign:
The text was updated successfully, but these errors were encountered: