Sponsored Content
Full Discussion: How to install Unix on my pc
Top Forums UNIX for Dummies Questions & Answers How to install Unix on my pc Post 62546 by gjduff on Thursday 17th of February 2005 03:57:14 AM
Old 02-17-2005
useradd example

In case you have useradd, here's an example of me
using it:
Code:
[root@melvin gjduff]# /usr/sbin/useradd dingbat -G dinger -s /bin/bash -p dingbat8
[root@melvin gjduff]# passwd dingbat
Changing password for user dingbat.
New password:
Retype new password:
passwd: all authentication tokens updated successfully.

I'm adding a user named dingbat in the group dinger, and giving him
bash as a default shell.

I had to change the password. I think the -p actually takes what is
supposed to be the encrypted variation of it. No matter though.
You can just use passwd to enter it the normal way.
 

10 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

Can we install Unix in PC or imac?

I'm a beginner in Unix OS. I really want to know what kind of hardware I need in order to install the Unix OS.(I know Linx can be installed in both Mac & PC, but not Unix) Thanks to let me ask such question here. (1 Reply)
Discussion started by: Mutsu
1 Replies

2. UNIX for Dummies Questions & Answers

Unix Install

Hi I'm a newbie here and, in Unix. I bought a book to learn the code. I have been in different websites to find information on how to install Red Hat Linux 7.2 on my system, but I may not understand what's going on. All I see on the sites is ftp sites for download but when you click on the links... (1 Reply)
Discussion started by: Millienc
1 Replies

3. UNIX for Dummies Questions & Answers

can i install UNIX beside Windows XP???

Hi guys i'm new here .. and actually i wanna anyone answer my question it's simple the question is " can i setup or install UNIX beside windows XP?" i need answer plz thanks :) (11 Replies)
Discussion started by: M_Hafez
11 Replies

4. UNIX for Dummies Questions & Answers

How to install Unix

Can anyone tell me how to install Unix. (1 Reply)
Discussion started by: hrach_gulzadyan
1 Replies

5. UNIX for Dummies Questions & Answers

How do I install Unix?

Hi, Im completely new to Unix installations, but have done some unix work so some commands are not new to me. But I would like to start my own Unix FTP server, but I have no clue where to start. I have a computer that i soon format the HD on (Was Windows,Intel computer), so I want to use... (3 Replies)
Discussion started by: helpMeGetStarte
3 Replies

6. UNIX for Dummies Questions & Answers

How do I install things on Unix?

I am really confused as to how to install a piece of software on Unix especially after having worked with Windows for over 10 years. I see the tar.gz, tar.gz2 and rpm packages. How do I install these things? Do I have to be a root to do this? If its only the root, then how do users generally... (4 Replies)
Discussion started by: Legend986
4 Replies

7. UNIX for Dummies Questions & Answers

Looking to install Unix on my Mac

I know how to install Unix or Linux on my Mac using bootcamp, I installed the Ubuntu distribution of Linux on my Mac. Basically I'm looking for advice on what OS I should learn with. I am fiercely interested in programming, and am learning C++ and Python at the moment. Anyways, everyone has... (5 Replies)
Discussion started by: Micolejr2
5 Replies

8. UNIX for Dummies Questions & Answers

Please Help I Can't Install Unix On My Machine

Hi everybody; How are you? I have a machine with these components motherboard Gigabyet processor Intel RAM Kingstone 1GB HDD Westerndigital 160GB DVD ASUS I use this machine for labs, I was running WinXP I am now taking one of Sun's exams, I formated the HDD and get... (3 Replies)
Discussion started by: katilina
3 Replies

9. UNIX for Dummies Questions & Answers

How to install Unix??

Hi Experts, I am a new born trying to start learning UNIX so please be patient. I have downloaded Free BSD 9.0 Release i386 All recently.Upon extracting it I found four Disc Image File. FreeBSD-9.0-RELEASE-i386-bootonly FreeBSD-9.0-RELEASE-i386-disc1 FreeBSD-9.0-RELEASE-i386-dvd1... (1 Reply)
Discussion started by: RishabhK
1 Replies

10. UNIX for Beginners Questions & Answers

Install git on UNIX

How can I install git on unix using wget? (7 Replies)
Discussion started by: Akash BHardwaj
7 Replies
NEWUSERS(8)						      System Manager's Manual						       NEWUSERS(8)

NAME
newusers - update and create new users in batch SYNOPSIS
newusers [new_users] DESCRIPTION
newusers reads a file of user name and cleartext password pairs and uses this information to update a group of existing users or to create new users. Each line is in the same format as the standard password file (see passwd(5)) with the following exceptions. pw_passwd This field will be encrypted and used as the new value of the encrypted password. pw_age This field will be ignored for shadow passwords if the user already exists. pw_gid This field may be the name of an existing group, in which case the named user will be added as a member. If a non-existent numerical group is given, a new group will be created having this number. pw_dir This field will be checked for existence as a directory and a new directory with the same name will be created if it does not already exist. The ownership of the directory will be set to be that of the user being created or updated. This command is intended to be used in a large system environment where many accounts are updated at a single time. CAVEATS
The input file must be protected since it contains unencrypted passwords. SEE ALSO
passwd(1), useradd(8) AUTHOR
Julianne Frances Haugh (jockgrrl@ix.netcom.com) NEWUSERS(8)
All times are GMT -4. The time now is 09:01 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy