Still celebrating National IT Professionals Day with 3 months of free Premium Membership. Use Code ITDAY17

x
?
Solved

adding/removing/editing UNIX users

Posted on 1999-07-16
5
Medium Priority
?
210 Views
Last Modified: 2012-05-04
Hi there,

Is there a perl 4 script that can add/remove/edit users on a UNIX based machine...

I know of UNIX::ConfigFile but this does not seem to work ony my setup..

So is there any other method?

Thanks
0
Comment
Question by:missy041598
[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
  • 3
  • 2
5 Comments
 
LVL 6

Accepted Solution

by:
christopher sagayam earned 360 total points
ID: 1214188
yes just use the system command

system( adduser joey)

to add user

similarly use the other unix commands

chris
0
 

Author Comment

by:missy041598
ID: 1214189
Which command do i use to change the password?

0
 
LVL 6

Expert Comment

by:christopher sagayam
ID: 1214190
use system(passwd joey )

then pass it my piping it

chris
0
 

Author Comment

by:missy041598
ID: 1214191
can you give me the code to do this please...
0
 
LVL 6

Expert Comment

by:christopher sagayam
ID: 1214192
yes  I will

contact me at

christopher_sagx@yahoo.com

chris
0

Featured Post

Free Tool: Site Down Detector

Helpful to verify reports of your own downtime, or to double check a downed website you are trying to access.

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

There are many situations when we need to display the data in sorted order. For example: Student details by name or by rank or by total marks etc. If you are working on data driven based projects then you will use sorting techniques very frequently.…
In the distant past (last year) I hacked together a little toy that would allow a couple of Manager types to query, preview, and extract data from a number of MongoDB instances, to their tool of choice: Excel (http://dilbert.com/strips/comic/2007-08…
Explain concepts important to validation of email addresses with regular expressions. Applies to most languages/tools that uses regular expressions. Consider email address RFCs: Look at HTML5 form input element (with type=email) regex pattern: T…
Six Sigma Control Plans

670 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