Method: Pawnee::Actions::User#destroy
- Defined in:
- lib/pawnee/pawnee/actions/user.rb
#destroy ⇒ Object
168 169 170 171 172 173 |
# File 'lib/pawnee/pawnee/actions/user.rb', line 168 def destroy self.new_record = true base.as_root do base.exec("userdel #{login}", :no_pty => true) end end |