Here's an easy way to check. Very useful when scripting an action (like a backup for example) that needs to happen on the last day of the month.
[ `date --date='next day' +'%B'` == `date +'%B'` ] || echo 'end of month' && echo 'not end of month'
Go to "Users" tab -> "Create New User" ->
Desired Login*: centrifyuserid
Desired Password *: Keep Blank
Confirm Password *: Keep Blank
Pluggable Authentication Modules (PAM): Enable Checkbox
Pass Firstname , Lastname & email -> click on "Create Login"
Your user should now be able to login with their AD credentials.
You will still need to specify what permissions they have in
RHN Satellite.
mkdir TMP yum remove rhnlib abrt-plugin-bugzilla redhat-release-notes* rpm -e --nodeps redhat-release redhat-indexhtml cd TMP wget http://mirror.centos.org/centos/6/os/x86_64/Pack\ ages/centos-release-6-0.el6.centos.5.x86_64.rpm wget http://mirror.centos.org/centos/6/os/x86_64/Pack\ ages/centos-indexhtml-6-1.el6.centos.noarch.rpm wget http://mirror.centos.org/centos/6/os/x86_64/Pack\ ages/yum-3.2.27-14.el6.centos.noarch.rpm wget http://mirror.centos.org/centos/6/os/x86_64/Pack\ ages/yum-plugin-fastestmirror-1.1.26-11.el6.noarch.rpm rpm -Uvh *.rpm cd .. rm -rf TMP yum clean all yum upgrade
# cp /etc/redhat-release /etc/redhat-release-saved # rpm -e --nodeps redhat-release-notes redhat-release \ yum-rhn-plugin redhat-logos # rpm -ivh \ http://mirror.centos.org/centos/5/os/i386/\ CentOS/centos-release-5-5.el5.centos.1.i386.rpm \ http://mirror.centos.org/centos/5/os/i386/\ CentOS/centos-release-notes-5.5-0.i386.rpm \ http://mirror.centos.org/centos/5/os/i386/\ CentOS/redhat-logos-4.9.99-11.el5.centos.noarch.rpm # yum update
Available from: Amazon.com, Barnes & Noble, O’Reilly or your favorite online reseller.
|
echo "1a2@b3$c" | tr -dc '[:alnum:]'
All on one line:
echo "Message body goes here" | mutt -s "The Subject Line"
-a /path/to/file.tar.gz recipient@mail.server.com