?
Solved

Add a user in Redhat Linux 5.0

Posted on 1998-02-15
3
Medium Priority
?
783 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

Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

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é.
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.:
Get a first impression of how PRTG looks and learn how it works.   This video is a short introduction to PRTG, as an initial overview or as a quick start for new PRTG users.
Suggested Courses
Course of the Month11 days, 1 hour left to enroll

770 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