# File lib/specinfra/command/freebsd/v6/user.rb, line 7 def check_has_login_shell(user, path_to_shell) "pw user show #{escape(user)} | cut -f 10 -d ':' | grep -w -- #{escape(path_to_shell)}" end