LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 10-21-2016, 05:45 AM   #1
ashu_ky
LQ Newbie
 
Registered: Dec 2011
Posts: 14

Rep: Reputation: Disabled
pwutil convert my password single backward slash \ into double slahes \\ please help


pwutil convert my password single backward slash \ into double slahes \\ please help

i put my password into pwutil .dat file
its convert all my backword slashes in to double slashes.

tries abc\xyz convert abc\\xyz
 
Old 10-21-2016, 09:56 AM   #2
BW-userx
LQ Guru
 
Registered: Sep 2013
Location: Somewhere in my head.
Distribution: FreeBSD/Slackware-14.2+/ArcoLinux
Posts: 9,133

Rep: Reputation: 1925Reputation: 1925Reputation: 1925Reputation: 1925Reputation: 1925Reputation: 1925Reputation: 1925Reputation: 1925Reputation: 1925Reputation: 1925Reputation: 1925
you used a slash in your password? why? is that even legal? it looks like NOT. because it tried to compensate for it by giving you this mess. did you try matching what that pwutil did to your passwords to get into your system. so you can change them?

what is wrong with just doing this?
Code:
passwd username
try using that in your terminal to change the password of that user.

Last edited by BW-userx; 10-21-2016 at 09:57 AM.
 
Old 10-27-2016, 08:17 AM   #3
ashu_ky
LQ Newbie
 
Registered: Dec 2011
Posts: 14

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by BW-userx View Post
you used a slash in your password? why? is that even legal? it looks like NOT. because it tried to compensate for it by giving you this mess. did you try matching what that pwutil did to your passwords to get into your system. so you can change them?

what is wrong with just doing this?
Code:
passwd username
try using that in your terminal to change the password of that user.
We have around 100+ of server where we put this kind of root password. that is why need to have it fix.
 
Old 10-27-2016, 08:24 AM   #4
BW-userx
LQ Guru
 
Registered: Sep 2013
Location: Somewhere in my head.
Distribution: FreeBSD/Slackware-14.2+/ArcoLinux
Posts: 9,133

Rep: Reputation: 1925Reputation: 1925Reputation: 1925Reputation: 1925Reputation: 1925Reputation: 1925Reputation: 1925Reputation: 1925Reputation: 1925Reputation: 1925Reputation: 1925
Quote:
Originally Posted by ashu_ky View Post
We have around 100+ of server where we put this kind of root password. that is why need to have it fix.
oh shit .. who's getting that over time?
if it is that kind of password, meaning almost like that one you're now having problems with,(someone must have had a typo) then it effected over 100 servers all at once?

if yes, then cannot the solution be done in the same fashion to fix over 100 servers all at once?

as I thought you're just dealing with one system. Which your problem is out of my knowledge base.

how to run a script to change root password on over 100 servers would be a question to post or research.
 
Old 10-27-2016, 09:50 AM   #5
JeremyBoden
Senior Member
 
Registered: Nov 2011
Location: London, UK
Distribution: Debian
Posts: 1,552

Rep: Reputation: 314Reputation: 314Reputation: 314Reputation: 314
But no one would be stupid enough to make their root password derivable from its host name or a MAC address etc.
Would they?

They should be condemned to spend a whole day at the terminal correcting their slash mistakes.
 
  


Reply

Tags
centos4, linux


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
convert forward slash to dash in variable bishop2001 Programming 3 06-25-2016 01:02 AM
LXer: Double Fine Announce Hack 'N' Slash Puzzle Game With Linux Support LXer Syndicated Linux News 0 12-13-2013 11:41 PM
Shell script to extract single report by pattern, then both backward and forward ykheong Linux - Newbie 8 02-22-2010 01:20 AM
BASH - convert single digits to double digits. rickenbacherus Programming 7 05-07-2008 06:53 AM
Porting to Fedora gcc 4.0 -parsing backward slash("\") comma(",") code_blew Programming 1 04-26-2006 04:07 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 09:16 PM.

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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration