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

Search

About

PKILL-9

Categories

  • Android (1)
  • apt-get (5)
  • Audio (10)
  • backup (3)
  • bash (9)
  • Browsers (8)
  • Compiling Source Code (3)
  • crontab (1)
  • debian (23)
  • debugging (1)
  • Deposit @ Home (1)
  • DNS – Domain Name System (2)
  • DVD (6)
  • filesharing (5)
  • fstab (2)
  • ftp (2)
  • gnome (15)
  • grub (1)
  • howto (23)
  • Humour (5)
  • Internet Connection Sharing (1)
  • java (3)
  • Joe (23)
  • Linux Networking (8)
  • loni (16)
  • Misc. other devices/things (12)
  • Music (9)
  • Natty (3)
  • netbook (4)
  • Printers/Printing (2)
  • rsync (1)
  • samba (2)
  • Security (3)
  • Skill Level: Advanced (16)
  • Skill Level: Easy (85)
  • Skill Level: Medium (39)
  • sound (8)
  • ssh (3)
  • Thunderbird (3)
  • Uncategorized (40)
  • ups (2)
  • video (8)
  • wireless (3)
  • word processors (3)
  • X11 (4)

Archives

  • February 2012 (2)
  • January 2012 (3)
  • December 2011 (2)
  • November 2011 (6)
  • October 2011 (5)
  • September 2011 (2)
  • August 2011 (8)
  • July 2011 (11)
  • June 2011 (8)
  • May 2011 (11)
  • April 2011 (9)
  • March 2011 (9)
  • February 2011 (10)
  • January 2011 (4)
  • December 2010 (3)
  • November 2010 (3)
  • September 2010 (1)
  • July 2010 (7)
  • April 2010 (4)
  • March 2010 (3)
  • February 2010 (5)
  • January 2010 (1)
  • December 2009 (1)
  • October 2009 (4)
  • September 2009 (1)
  • July 2009 (1)
  • June 2009 (2)
  • May 2009 (5)
  • April 2009 (5)
  • March 2009 (3)
  • February 2009 (6)

Blogroll

  • Documentation
  • Plugins
  • Suggest Ideas
  • Support Forum
  • Themes
  • WordPress Blog
  • WordPress Planet

Pages

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

Meta

  • Register
  • Log in
  • RSS Entries
  • Comments Rss
February 2012
S M T W T F S
« Jan    
 1234
567891011
12131415161718
19202122232425
26272829  

Recent Posts

  • How to file check a Windows or Dos File System using Linux
  • Getting the subsonic server to work in Linux with a Roku media player
  • test2
  • How to generate an easy to remember password
  • Getting a Webcam/Logictech Quick Cam to work with Skype in Linux
  • How to add a network printer in Debian/Ubuntu Linux
  • Ubuntu 12.04 LTS Won’t Fit On a CD
  • 25 worst passwords — how to change your password in Linux
  • How to label an ms dos Flash Drive or Micro SD card using mtools in Linux
  • Linux Mint: The new Ubuntu?

Recent Comments

  • tmoody in How to install Java 1.7 for Ubuntu/Debian (apt-get…
  • Jake in How to file check a Windows or Dos File System usi…
  • anakabas in Getting a Webcam/Logictech Quick Cam to work with …
  • joeSchmoe in How to install Java 1.7 for Ubuntu/Debian (apt-get…
  • Dynamic Designz – Anonymous P… in Making Ubuntu/Debian Linux do it's own DNS (Domain…
  • jake in Getting a Webcam/Logictech Quick Cam to work with …
  • Wayno in How to avoid bricking a Tracfone. What is the dif…
  • lynncancersurvivor in How to avoid bricking a Tracfone. What is the dif…
  • Jose in 25 worst passwords -- how to change your password …
  • How to label an ms-dos Flash Drive … in How to mount a usb or micro sd card, when Linux do…
© 2007 Wayno's Adventures and sojourns through Linux



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