Linux: Difference between revisions

From Federal Burro of Information
Jump to navigationJump to search
Line 4: Line 4:
Password policy
Password policy


[[image:password_policy.png]]
[[image:password_policy.png|400px]]


[[media:password_policy.vsd]]
[[media:password_policy.vsd]]

Revision as of 17:02, 11 March 2013

Password Policy

Password policy

media:password_policy.vsd

Desktop

Set a random image for a directory

#!/bin/sh

set -- /data/pictures/misc/*
length=$#
random_num=$(( $RANDOM % ($length + 1) ))
echo fbsetbg ${!random_num}
fbsetbg ${!random_num}