Solved

Add a user in Redhat Linux 5.0

Posted on 1998-02-15
3
747 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

Enabling OSINT in Activity Based Intelligence

Activity based intelligence (ABI) requires access to all available sources of data. Recorded Future allows analysts to observe structured data on the open, deep, and dark web.

Join & Write a Comment

Suggested Solutions

Setting up Secure Ubuntu server on VMware 1.      Insert the Ubuntu Server distribution CD or attach the ISO of the CD which is in the “Datastore”. Note that it is important to install the x64 edition on servers, not the X86 editions. 2.      Power on th…
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…
Learn how to navigate the file tree with the shell. Use pwd to print the current working directory: Use ls to list a directory's contents: Use cd to change to a new directory: Use wildcards instead of typing out long directory names: Use ../ to move…
This demo shows you how to set up the containerized NetScaler CPX with NetScaler Management and Analytics System in a non-routable Mesos/Marathon environment for use with Micro-Services applications.

759 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

Need Help in Real-Time?

Connect with top rated Experts

21 Experts available now in Live!

Get 1:1 Help Now