Wayno's Adventures and sojourns through Linux

  • Home
  • About
  • Contact
  • Email Subscription
  • Facebook Like
  • RSS

14

Jan

How to generate an easy to remember password

Posted by Wayno  Published in howto, Joe, Security, Skill Level: Easy

Need a strong, but easy to remember password? No need to remember, generate it! Up to 48 chars, works on any unix-like system:


read -s pass; echo $pass | md5sum | base64 | cut -c -16

Joe -

========================================

MD5SUM creates a 128 bit hash.

Base64 turns a binary number into ASCII

cut – simply removes sections for each line.

Output looks like:

n@H:~$ read -s pass; echo $pass | md5sum | base64 | cut -c -16
(I entered: abcdefg)
MDIwODYxYzhjM2Zl

no comment

27

Nov

25 worst passwords — how to change your password in Linux

Posted by Wayno  Published in howto, Security, Skill Level: Easy

Noob thing.

Might be interesting to find out if your password is on the list.

The top 25 worst passwords.

How do you change your password?


:~$ passwd

You will get output that looks like:

Changing password for (youruserid)
(current) UNIX password:
Enter new UNIX password:
Retype new UNIX password:
passwd: password updated successfully
:~$

Wayno

1 comment

24

Feb

Linux Security Check with Tiger

Posted by DynamicDesignz  Published in Security, Skill Level: Advanced

Tiger is a package consisting of Bourne Shell scripts, C code and data files which is used for checking for security problems on a UNIX system.  It scans system configuration files, file systems, and user configuration files for possible security problems and reports  them.   The  command  tig‐exp(8) can be used to obtain explanations of the problems reported by tiger.

You  can  configure  tiger  by  adjusting the Tiger_ variables in the /etc/tiger/tigerrc configuration file. For each available module (see MODULES below) there is a corresponding variable in the configuration file that determines whether the module is run. All of the variables names start with Tiger_check_ and should be set equal to Y to run, or N to skip. Other configuration variables will modify the behaviour of some modules, and should be adjusted based on the operating system.

The /etc/tiger/tiger.ignore configuration file defines a set of messages that will not be presented in the report even if any of the modules gener‐ate  them.   If  the  file  exists,  all the entries (line by line) are used as extended regular expressions that are compared against each message (notice that it will introduce some overhead which grows with the size of the file).  For more information on this mechanism read the README.ignore document.

jeremy@dynamicdesignz:~$ sudo apt-get install tiger

jeremy@dynamicdesignz:~$ sudo tiger
[sudo] password for jeremy:
Tiger UN*X security checking system
Developed by Texas A&M University, 1994
Updated by the Advanced Research Corporation, 1999-2002
Further updated by Javier Fernandez-Sanguino, 2001-2007
Covered by the GNU General Public License (GPL)

Configuring…

Will try to check using config for ‘i686′ running Linux 2.6.35-25-generic…
–CONFIG– [con005c] Using configuration files for Linux 2.6.35-25-generic. Using
configuration files for generic Linux 2.
Tiger security scripts *** 3.2.2, 2007.08.28.00.00 ***
23:18> Beginning security report for dynamicdesignz.
23:18> Starting file systems scans in background…
23:18> Checking password files…
23:18> Checking group files…
23:18> Checking user accounts…
23:18> Checking .rhosts files…
23:18> Checking .netrc files…
23:18> Checking ttytab, securetty, and login configuration files…
23:18> Checking PATH settings…
23:18> Checking anonymous ftp setup…
23:18> Checking mail aliases…
23:18> Checking cron entries…
23:18> Checking ‘inetd’ configuration…
23:18> Checking ‘tcpd’ configuration…
23:18> Checking ‘services’ configuration…
23:18> Checking NFS export entries…
23:18> Checking permissions and ownership of system files…
–CONFIG– [con010c] Filesystem ‘devtmpfs’ used by ‘none’ is not recognised as a valid filesystem
23:18> Checking for indications of break-in…

–CONFIG– [con010c] Filesystem ‘devtmpfs’ used by ‘none’ is not recognised as a valid filesystem

23:18> Performing rootkit checks…

23:19> Performing system specific checks…
/bin/grep: /etc/inittab: No such file or directory

~DynamicDesignz.net

1 comment

 

May 2012
S M T W T F S
« Apr    
 12345
6789101112
13141516171819
20212223242526
2728293031  

Recent Posts

  • de-smurfing youtube (or why are all the people on youtube blue?)
  • Monzy kill -9 (Nerdcore)
  • Finding and installing 64 bit Firefox and Thunderbird for Debian
  • Allowing more then one user to start an X session (pam authentication)
  • First Look: Ubuntu 12.04 lts

Categories

  • Android
  • apt-get
  • Audio
  • backup
  • bash
  • Browsers
  • Compiling Source Code
  • crontab
  • debian
  • debugging
  • Deposit @ Home
  • DNS – Domain Name System
  • DVD
  • filesharing
  • fstab
  • ftp
  • gnome
  • grub
  • howto
  • Humour
  • Internet Connection Sharing
  • java
  • Joe
  • Linux Networking
  • loni
  • Misc. other devices/things
  • Music
  • Natty
  • netbook
  • Printers/Printing
  • rsync
  • samba
  • Security
  • Skill Level: Advanced
  • Skill Level: Easy
  • Skill Level: Medium
  • sound
  • ssh
  • Thunderbird
  • Uncategorized
  • ups
  • video
  • wireless
  • word processors
  • X11

Archives

  • May 2012
  • April 2012
  • March 2012
  • February 2012
  • January 2012
  • December 2011
  • November 2011
  • October 2011
  • September 2011
  • August 2011
  • July 2011
  • June 2011
  • May 2011
  • April 2011
  • March 2011
  • February 2011
  • January 2011
  • December 2010
  • November 2010
  • September 2010
  • July 2010
  • April 2010
  • March 2010
  • February 2010
  • January 2010
  • December 2009
  • October 2009
  • September 2009
  • July 2009
  • June 2009
  • May 2009
  • April 2009
  • March 2009
  • February 2009

Blogroll

  • Hak5 – Trust your Technolust
  • Scott Linux – A place to geek out
  • Tucson Computer Society

Meta

  • Register
  • Log in
  • Entries RSS
  • Comments RSS
  • WordPress.org

Recent Posts

  • de-smurfing youtube (or why are all the people on youtube blue?)
  • Monzy kill -9 (Nerdcore)
  • Finding and installing 64 bit Firefox and Thunderbird for Debian
  • Allowing more then one user to start an X session (pam authentication)
  • First Look: Ubuntu 12.04 lts
  • Gnome classic (fallback) in Ubuntu 12.04
  • Cat listening to Music
  • How to send broadcast messages to all users in Windows or Linux
  • Cox Communications “quality challenged” internet connection (of Cats and Cox)
  • Why RTFM is important

Recent Comments

  • Shannon in de-smurfing youtube (or why are all the people on …
  • Juan Pedro Sanchez in Getting a Webcam/Logictech Quick Cam to work with …
  • Khorshed Alam in Mounting an iso9660 iso file in Linux (ubuntu/debi…
  • ActionParsnip in Installing gnome-3 on Ubuntu 10.10/10.04
  • Wayno in Cox Communications "quality challenged" internet c…
  • sandeep in How to mount a usb or micro sd card, when Linux do…
  • Wayno in How to mount a usb or micro sd card, when Linux do…
  • sandeep in How to mount a usb or micro sd card, when Linux do…
  • mahesh in How to install Java 1.7 for Ubuntu/Debian (apt-get…
  • Wayno in Why RTFM is important
© 2007 Wayno's Adventures and sojourns through Linux



Theme by WebRehash | Free WordPress Templates | Valid XHTML | Valid CSS 3.0 | Powered by Wordpress