Changeset 78
- Timestamp:
- 06/15/07 14:31:55 (2 years ago)
- Files:
-
- branches/1-7-stable/lib/deprec/recipes.rb (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
branches/1-7-stable/lib/deprec/recipes.rb
r73 r78 345 345 as_root { setup_admin_account } 346 346 end 347 348 desc "Change password for the root account" 349 task :change_root_password do 350 sudo_with_input("passwd root", /UNIX password/) # ??? how many versions of the prompt are there? 351 end 352 353 task :change_root_password_as_root do 354 as_root { change_root_password } 355 end 347 356 348 357
