LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Blogs
User Name
Password

Notices

Old

How to Break CISCO Router Password:

Posted 04-15-2013 at 06:01 AM by kashifazizawan (Kashif Aziz Awan)

Kashif Aziz Awan

How to Break CISCO Router Password:
1. Connect router to pc using RJ-45 [console port] to DB-9 [Serial Port] using Hyper-Terminal client.
2. Restart router.
3. Press Ctrl+Break keys.
IT shows:
Readonly ROMMON initialized
rommon 1 >
4. confreg 0x2142
5. reset
--- System Configuration Dialog ---
Would you like to enter the initial configuration dialog? [yes/no]: No
Press RETURN to get started!...
Member
Posted in Uncategorized
Views 455 Comments 0 kashifazizawan is offline
Old

Enable ‘sudo’ in Fedora 15

Posted 07-02-2011 at 04:53 AM by dEnDrOn

Here is how you can enable ‘sudo’ in Fedora so that you don’t have to login as root everytime you need to run a command as root. Open up terminal and type in the following:

Code:
su #enter root password followed by this one
yum install nano
nano /etc/sudoers
Now, scroll down and you should see something like:

Code:
root    ALL=(ALL)	ALL
Just below that line, add this:

Code:
YOUR_USER_NAME_HERE    ALL=(ALL)	ALL
...
Member
Posted in Uncategorized
Views 1418 Comments 0 dEnDrOn is offline
Old

How to generate password

Posted 02-21-2009 at 08:56 AM by ErV

Generating password is simple:

password8.sh:
[code]
#!/bin/sh
cat /dev/urandom| tr -dc '0-9a-zA-Z!@#$%^&*_+-'|head -c 8;echo
[/code]
This script generates 8 characters long password.
To change number of characters, replace 8 with other number.
'0-9a-zA-Z!@#$%^&*_+-' defines character set used in password. If you need another charset, change this string to suit your needs.
ErV
Senior Member
Posted in Uncategorized
Views 3275 Comments 0 ErV is offline

  



All times are GMT -5. The time now is 01:03 AM.

Main Menu
Advertisement

My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration