General :: Converting A String To An Shadow Password Format

Apr 15, 2010

I need to manually convert an string ( like with echo ) to a DES crypt format to be inserted inside a /etc/shadow file, does anybody knows how can I do that?

Maybe there are some little tool that could handle that operation, well.. I don't know, hope someone can give me a hint on that.

View 3 Replies


ADVERTISEMENT

Software :: Check A String With Actual User Passwd (ie Password In /etc/shadow)?

Sep 24, 2009

I am trying to write a remote access module. Is there any function in linux where I can give string (password entered by user) and compare it with the actual user password stored in /etc/shadow. Since the password is stored encrypted in /etc/shadow I cannot parse and compare. So I want some method to compare if my user entered the correct password..Is there any function for that..

View 6 Replies View Related

General :: Shadow File Password Policy?

Oct 1, 2010

Today i was going through some of security guides written on linux .Under shadow file security following points were mentioned.1)The encrypted password stored under /etc/shadow file should have more than 14-25 characters.2)Usernames in shadow file must satisfy to all the same rules as usernames in /etc/passwd.3)password for application Username should display * if username is not locked.4)If a user is locked it should be displayed as ! as the first character in second field of shadow file.

Confusion for point 1 and 2:Now i m confused as why the encrypted password should be more than 14-25 characters.Also what rules to satisfy How to check it?Confusion for point 3 and 4:There are lot of users with * as second field i guess they are not locked but according to 4th point there are lot of users with ! as first characters.How would i check whether they are actually locked or not.I m posting the output of /etc/shadow and /etc/passwd files for the account.

View 11 Replies View Related

General :: Tool - Converting .VHD Imag To RAW Format?

Oct 23, 2010

I need to convert a VHD file (Hyper-V VM) to the Linux raw format. Is there a tool which can do this which is graphical?

View 2 Replies View Related

General :: Converting OS X Fonts To Regular Format?

Aug 12, 2010

I need to convert OS X apps to OTF or TTF. Something usable in both Linux and Windows.

Is there any way to do this via the command line, or any app for this?

View 3 Replies View Related

Ubuntu Multimedia :: Converting Any Video Format To 3gp Format?

Jul 21, 2011

converting videos to 3gp format.

i have installed transmaggedon software but it fails to convert because quicktime muxer plugin is not installed.

This plugin is not available in the repositories.

How can i get this video converter to work or what else can i do to be able to convert videos to 3gp format?

View 2 Replies View Related

General :: Grep All Values Other Than Encrypted Password From /etc/shadow File?

Jan 14, 2010

I would like to grep all values other than encrypted password from /etc/shadow fileFor example,each line consists of 8 fields separated with :/The only thing that I want not to print out is the contents between first : and second : (encrypted password)

View 7 Replies View Related

Software :: Convert An MD5 Hash Into Shadow Format?

Nov 28, 2010

I am trying to use John the Ripper but it doesn't take regular MD5 hashes, only shadow MD5 hashes. For example this hash: 900150983cd24fb0d6963f7d28e17f72 (which, decrypted, is 'abc') within a text file, John the Ripper does not detect because it is not shadow format. How can I convert this MD5 hash into shadow format?

View 1 Replies View Related

General :: Script Execution Failed - Input String Was Not In A Correct Format

May 2, 2011

I have here a Network Monitoring tool that should monitor the Apache (httpd) 2.0 on CentOS 4.3, but I didnt have any background in using linux, I tried CentOS 5.5 with Apache (httpd)2.2 and it works, but whenever I tried it on Centos 4.3, it doesnt work at all, it has an error Testing on node localhost.localdomain: failed with Undefined status, Script execution failed. Input string was not in a correct format.

View 10 Replies View Related

Programming :: Converting Vector Of Bytes To String C++

Mar 4, 2011

I have a vector of octets that needs to be converted to a std string. I'm currently doing it this way:

Code:
stringstream ss;
for (unsigned int i=0; i < data.size(); i++
{
ss << data[i];
}
string s_data = ss.str();

This works, but is there any better way to do it?

View 2 Replies View Related

General :: Using Fedora 11 Password, Shadow, Gshadow, Group Files In Fedora 12?

Apr 28, 2010

I recently mashed the passwd, shadow, gshadow, group files in my Fedora 12 installation. I was dumb and didn't take a copy of the originals and all I have is the originals from a Fedora 11 installation.

View 2 Replies View Related

Programming :: Converting String Sequence Of 1's And 0's Into Their Hexa Sequences

Apr 27, 2011

I have to write a code that converts a sequence of 1's and 0's(block) into their equivalent hexa number and copying to another array(byte). but this sequence is not always of length 8 and you are required to send strlen(sequence)%8 bits back into the string. So i've written down this code and it works well with the sample input but fails in the real program.

Code:
int Convert_encode( char * block,unsigned char * byte)
{
int len,iter,i,j,k,sum;
char * temp=(char *)malloc(4*sizeof(char));
len=strlen(block)/8;

[code]....

View 7 Replies View Related

General :: Password/shadow Or Group/gshadow Mismatch - Error "user Database Cannot Be Read"

Aug 6, 2010

I'm running RHEL 5. When using the GUI System>Administration>Users and Groups, I get the error: The user database cannot be read. This problem is most likely caused by a mismatch between /etc/passwd and /etc/shadow or /etc/group and /etc/gshadow. The program will exit now.

Some research showed that I need to use vipw and vigr respectively to find an inconsistency between these two sets, which I did - to make it easy I copied each from [vipw | vigr] to an excel file and did =exact(%1, %2). There are no inconsistencies.

[Code]...

View 1 Replies View Related

Software :: Password Encryption In /etc/shadow?

Jun 16, 2009

I am moving my Linux server from Suse 10 to Ubuntu 9.04 and I moved the significant parts of /etc/shadow, /etc/passwd, and /etc/group over to Ubuntu 9.04. I am not able to login into the computer with the old accounts. The only problem I see is that the old accounts use Blowfish and DES to encrypt the passwords in /etc/shadow, and Ubuntu uses SHA512. If I change the passwords, the accounts will work. However; I have about 300 accounts to move, and I don't want to do that to all of them. I have tired Ubuntu Forums and talked to every linux expert I know, and no one has an answer.

View 7 Replies View Related

Security :: Shadow Password Hashes - If My $id$ Was $5$, Which Is Sha256?

Apr 26, 2011

The /etc/shadow file contains an id of $1$, $2$, $5$ or $6$ to show the encryption method used.A salt follows this,followed by the password hash.When a user is created and a password is set, a hash is RANDOMLY generated and used as the salt to the password hash. Everytime that user logs in, login checks /etc/shadow for the $id$ and salt and runs the password given by the user through the hash mechanism ($id$) using the salt in /etc/shadow.So basically does login look at /etc/shadow for the $id$ and salt to create a hash with which to compare to the /etc/shadow hash?question 2 - If my $id$ was $5$, which is sha256, how would i go about changing this? Like is there a shadow.conf or crypt.conf or something? Can i change it per user?

View 2 Replies View Related

Fedora :: RPM Package - Converting TGZ To TAR.GZ Format

Jul 7, 2011

I am building my first rpm package and I cannot seem to find out how to change an existing .tgz to a .tar.gz as required by the rpm .spec file - I've attempted to search on this, but I can't find the exact command I'm looking for. Specifically, I hope to avoid having to untar the .tgz and simply convert it to the .tar.gz format.

View 4 Replies View Related

Ubuntu Multimedia :: Converting An MPG To A DVD Format?

Jan 28, 2010

How would I go about converting an MPG to a DVD format so I could burn it to a DVD disc and play it on a standard player?

View 2 Replies View Related

Ubuntu Multimedia :: Converting Wmv To Avi Format?

Jul 11, 2010

I have video files in wmv, mov format but my dvd player will not support these formats so I want to convert those to avi format, is there any software for this purpose, How can I install and use that?

View 3 Replies View Related

Ubuntu :: Converting A Swf Video To Another Format?

Mar 25, 2011

converting a swf video to another format please help as all the video converters i have tried to let me open swf files,.

View 9 Replies View Related

Software :: Converting 3GP File To DVD Format (PAL)

May 17, 2010

I'm trying to convert a 3gp (mobile phone video) file to PAL DVD format (which is I believe MPEG2 video and one of a few audio choices, in an MPEG PS container). But while the file plays fine in mplayer and vlc, my efforts to convert it, using either VLC or devede, always seem to result in either the converted video being speed up (noticeably, we're talking twice as fast or so not 5%), or in the audio going mickey-mouse. How can I get the file converted correctly? Bearing in mind it needs to be PAL not NTSC (so a lot of stuff I might find online isn't going to work as-is)

View 1 Replies View Related

Security :: Shadow File Readable - MD5 Password Exposed

Jun 7, 2010

I noticed that our /etc/shadow file is readable on a patch I released for one of our in house linux boxes a while back ago. Could they use it to gain access the root account etc? Our passwords are all MD5 encrypted.

View 5 Replies View Related

Fedora :: Editing Or Converting MOV Format Frame B?

Dec 31, 2009

Got this compact video camera for Christmas have tried Handbrake, Pitivi, avidemux tried both versions, kino nothing works to date and can't find a way to change the camera settings.

View 6 Replies View Related

Ubuntu Multimedia :: Converting MPG File To AVI Format?

Jun 9, 2010

I'm having some problem converting an mpg file to avi. I did it with mencoder. The result was an avi file as I wanted but the image was like stretched vertically. Like this:
(The avi is on the left)
What can I do to convert it without the stretching?

View 1 Replies View Related

Ubuntu :: Converting ISO Format DVDs To DivX

Jul 17, 2010

I've got a couple DVDs in .iso format, and I'd like to convert them to DivX, but I can't see to get anything to load the .iso. I've also tried mounting it and loading it, and it doesn't work.

View 4 Replies View Related

Ubuntu :: Converting Documents Into Ebook Format?

Aug 23, 2010

I am currently looking for an app that can enable me to convert ms word and/or openoffice docs into an ebook format compatible with Kindle (I have been using mobipocket creator on Windows to convert to .mobi but I am now trying to get rid of Windows completly), so far the only possibility I have found is Calibre and it wont allow me to cnvert Word docs into another format.

View 3 Replies View Related

Ubuntu :: Converting PDF To ODS Format (OpenOffice Spreadsheet)

May 11, 2011

I know this is more of the Openoffice question but I felt I would find some solution here for this. At my work I am using lot of PDF files which are created using Openoffice Calc (Spreadsheet). I want to convert those PDFs to Calc file again for editing. Currently I am using a windows Machine with able2extract pdf converter for converting PDFs to .xls file. But it is not ideal solution for Linux and Openoffice users here.

View 2 Replies View Related

Server :: Adding Entries Directly In Password Shadow File

Mar 11, 2011

I am working on building a customized ISO image of a server based on linux. The thing is after the server is installed and run for the first time, three users have to be created for the various services to run properly. I want this to be automated. To achieve this what is was thinking is automatically enter the user entries in the /etc/passwd and /etc/shadow files through init scripts when the server starts for the first time after the installation. I tried creating user and assigning password in one of my machine, and the /etc/passwd and the /etc/shadow entries of this user I copied it into the other machine and tried login in on the other machine and everything worked fine. How I am trying to achieve this.

View 1 Replies View Related

Server :: Changes Happened In /etc/shadow File, When User Changing Password?

Jan 24, 2011

I want to know, how does changes happened in the encrypted password in /etc/shadow file , when user changing password . because user doesnot have access on that file

View 1 Replies View Related

Fedora :: Converting .flac To A ITunes Compatible Format?

Jan 20, 2011

I have been searching for a while for a program to convert .flac files I rip off of cd's with my laptop (running Fedora 11) to a usable iTunes format for my desktop (running Win XP). The cd drive on my desktop is currently broken, so my fix of ripping on my desktop, then using Rhythmbox on my laptop is temporarily unavailable.
Any suggestions? I've tried audiokonverter, soundconverter, audio-convert-mod and each come up with errors or wouldn't install.

View 8 Replies View Related

OpenSUSE Multimedia :: Converting A 3gp Video File Into A Different Format?

Jun 19, 2011

Can I ask for some advice in converting a video (from my phone) which is a 3gp file into something more universal. I use audokonverter for audio files and this gives me a menu right-click option to convert a song from (say) wav to mp3. Is there an equivalent for videos? I am using opensuse 11.4 64 bit and have mplayer, xine and vlc installed plus the necessary codecs. Or is it simpler to use ffmpeg in a c/l environment

View 1 Replies View Related







Copyrights 2005-15 www.BigResource.com, All rights reserved