Hello friends,
I want to compare regexp and password, Including password length using shell script.
password=az*12345
regexp=^[a-zA-Z]{2}[*][0-9]{5}$
please let me know
thanks in advance.
Hello Friends,
I want to pass string variable with its value taken by user as command parameter in shell script, example below:-
echo "Enter New Password:="
read password
perl -pi -e
's/PASSWORD=.*?,/$password,/' abc.txt
Please let me know...
Thanks In advanced.
Hi
When i tried to change the password for a particular user as a root by using usermod command I didn't see any error at that time.But later when I tried to login again it is not accepting the new password as well as old password.Why its happening?Any help....
Hi, I forgot my password so went into root to change it.
From grub menu, Ubuntu : advanced options : ubuntu recovery : network : root
input passwd then typed in a new password and re-entered password. rebooted.
Tried to uninstall Firefox from software centre but the new password was not accepted for authentication.
Could anyone advise what the problem could be or suggest what I may have done wrong. The password appeared to be accepted ok in root. Thanks
Hi everybody,
I used to be a Linux developer, but I have not used Linux or anything UNIX-like for a long time (more than 10 years). I had it installed by someone else and assumed that the root password is not set. Turned out - it has been. I can logged in as "owner" because I have guessed the password ("password") but no such luck with root. Can anything (other than reinstallation) be done? Is there some default password that root gets at installation that someone at this forum knows? Any other suggestions?
Thank you in advance.
Roman
I found an old laptop that has centos 5.5 installed. I reset the root password, but I need to reset the gui password. Is there a way to view this password or reset it? I have not worked with Linux over 5 years and am rusty on all the commands
Hello everyone,
I am not a real n00b at linux but this question is kinda newbisch: I disabled a password for my profile and now i am trying to use sudo but I'm asked to enter a password. I have tried any possible password but I can't unlock it. Please Help!
I own a brandless PC with an Intel Celeron 3.06Ghz processor.
An Intel motherboard
The OS on this PC is Elementary OS Luna
Again please help me.
Very Kind Regards,
mrjenskay
is there a way via terminal to reset the username and password for my router?
i have recently started working with the terminal and in order to use ssh im going to need to download some software and enter the username and password for the router which i havent a clue what it is. im not sure i ever set the username and password on it????
if i could re make the username and password for my router i would then be able to get this ssh working.
or is this not possible?
Wow, I got my new Linux pc yesterday and it's very very fast. It's faster than my new MacBook.
So I go to the user account which also says administrator so I'm presuming that's the root owner?????? and I typed in my name and changed the password. The guy who sold it to me named the password user and the computer user. Yet when I go to the terminal my username and computer is still called user@user
How do I change the root password and computer name?
Wow, I got my new Linux pc yesterday and it's very very fast. It's faster than my new MacBook.
So I go to the user account which also says administrator so I'm presuming that's the root owner?????? and I typed in my name and changed the password. The guy who sold it to me named the password user and the computer user. Yet when I go to the terminal my username and computer is still called user@user
How do I change the root password and computer name?
There is an option in encfs:
--extpass=program Use external program for password prompt
I want to use such program for this:
#!/bin/bash
zenity --entry --title="password dialog" --text="Enter your _password:" --hide-text
But how can I pass such obtained password to entfs call?
Any idea?