Solved

Add a user in Redhat Linux 5.0

Posted on 1998-02-15
3
768 Views
Last Modified: 2010-05-18
When I try to add a user in RedHat Linux 5.0, the password (I supply as a parameter to the adduser/useradd command at the command prompt) doesn´t get encrypted. It is just entered as plain text in the /etc/passwd file. How do I get it encrypted?

(Yes, I know about the User & Group config in StartX, but in this case I can´t use the graphical interface for adding users.)
0
Comment
Question by:thornbush
  • 2
3 Comments
 

Author Comment

by:thornbush
ID: 1636016
BTW, is there any program that comes with RedHat Linux 5.0 (or can be downloaded free from the Internet) that can do UNIX password encryption and display it directly at the command prompt (after the program has been executed) so that I can copy the encrypted password and place it in the /etc/passwd file (if none can help me with the first problem, I will have to do like this).

I am not seeking for the standard passwd program (it just change the current user´s password and that is not what I want to do).
0
 
LVL 4

Accepted Solution

by:
jetx earned 100 total points
ID: 1636017
hmm try this first,

user

adduser loginname

then after that set the password of the user seperately

passwd loginname

thats the same problem i get when using the redhat 5 adduser/useradd command, this is the best solution i can get to use it to encrypt the password.

regards,

jetx
0
 

Author Comment

by:thornbush
ID: 1636018
Thanx...
0

Featured Post

Free Tool: IP Lookup

Get more info about an IP address or domain name, such as organization, abuse contacts and geolocation.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

The purpose of this article is to demonstrate how we can upgrade Python from version 2.7.6 to Python 2.7.10 on the Linux Mint operating system. I am using an Oracle Virtual Box where I have installed Linux Mint operating system version 17.2. Once yo…
It’s 2016. Password authentication should be dead — or at least close to dying. But, unfortunately, it has not traversed Quagga stage yet. Using password authentication is like laundering hotel guest linens with a washboard — it’s Passé.
Connecting to an Amazon Linux EC2 Instance from Windows Using PuTTY.
How to Install VMware Tools in Red Hat Enterprise Linux 6.4 (RHEL 6.4) Step-by-Step Tutorial

713 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question