[Last Call] Learn about multicloud storage options and how to improve your company's cloud strategy. Register Now

x
?
Solved

Add a user in Redhat Linux 5.0

Posted on 1998-02-15
3
Medium Priority
?
791 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 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 400 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

Learn how to optimize MySQL for your business need

With the increasing importance of apps & networks in both business & personal interconnections, perfor. has become one of the key metrics of successful communication. This ebook is a hands-on business-case-driven guide to understanding MySQL query parameter tuning & database perf

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 use conditional statements using Python.
Join Greg Farro and Ethan Banks from Packet Pushers (http://packetpushers.net/podcast/podcasts/pq-show-93-smart-network-monitoring-paessler-sponsored/) and Greg Ross from Paessler (https://www.paessler.com/prtg) for a discussion about smart network …
Learn how to find files with the shell using the find and locate commands. Use locate to find a needle in a haystack.: With locate, check if the file still exists.: Use find to get the actual location of the file.:
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…
Suggested Courses

656 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