LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Blogs
User Name
Password

Notices


Old

Restoring the ability to mount local drives as a normal user, without password, in Debian 11

Posted 09-09-2021 at 01:20 PM by the dsc (linux-related notes)

I don't recall having tweaked any setting to have "udiskctl mount" working without password in the same exact situation, but whatever happened, after the upgrade from Debian 10 to 11, it no longer worked.

While there are quite a few examples of how to set up the correct "polkit" rule for it around, most of them refer to a newer version of polkit that uses a different syntax. Debian's pkaction version is still 1.105. And apparently the file needs to be in the correct...
Member
Posted in Uncategorized
Views 1288 Comments 1 the dsc is offline
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 1142 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 1987 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 5490 Comments 0 ErV is offline

  



All times are GMT -5. The time now is 09:00 AM.

Main Menu
Advertisement
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
Open Source Consulting | Domain Registration