Find Jobs
Hire Freelancers

Unix Script

$30-5000 USD

Ditutup
Disiarkan sekitar 20 tahun yang lalu

$30-5000 USD

Dibayar semasa penghantaran
Add two new menu options to the previous script. The two new options will be: CM ??" create a user with your own script CS ??" create a user with useradd ## Deliverables **Option CM:**valid for 45 days (hint : look at the /etc/[login to view URL] file) Create a script that would automate adding users. The script SHOULD NOT use the functionality useradd that comes with the system, to create users. Each user should write their own script. Creating the password should also be incorporated in the script. That means, when you call the script to create a user, you also give it the password value, and then, your script will create the user and also create the password without prompting you for anything. (hands-free) This script will read all the information from a file similar to **studentInfo**. The script will prompt the user for the filename, and the information will be read from the file. Your will create the password by using a combination of the username and the uid. Example: Password for Joe Bennet would be joeb1001 Assume the name of your script is *create_users*. The command should take the arguments: ./create_users *username uid gid initial_password user_information home_directory default_shell* Make sure that group names are assigned to any new group ids (gid) that you find in the information file. ( if you find a gid 601, which is not defined as a group, on your system, you would have to define that group first, before you create a user belonging to that group) A .profile file and a .login file should automatically be copied into the home directory, every time a user is created. The system will incorporate the shadow password file. The password should automatically have the default values for the following: passwd length should be at least 6 characters The password should be valid for 45 days (hint : look at the /etc/[login to view URL] file) **Option CS:** This time, user the **useradd** script to create users. The script will prompt the user for the filename, and the information will be read from the file. Your will create the password by using a combination of the username and the uid, just like before. Make sure that group names are assigned to any new group ids (gid) that you find in the information file. A .profile file and a .login file should automatically be copied into the home directory, every time a user is created. The system will incorporate the shadow password file. The password should automatically have the default values for the following: passwd length should be at least 6 characters The password should be 1) Complete and fully-functional working program(s) in executable form as well as complete source code of all work done. 2) Deliverables must be in ready-to-run condition, as follows (depending on the nature of the deliverables): a) For web sites or other server-side deliverables intended to only ever exist in one place in the Buyer's environment--Deliverables must be installed by the Seller in ready-to-run condition in the Buyer's environment. b) For all others including desktop software or software the buyer intends to distribute: A software installation package that will install the software in ready-to-run condition on the platform(s) specified in this bid request. 3) All deliverables will be considered "work made for hire" under U.S. Copyright law. Buyer will receive exclusive and complete copyrights to all work purchased. (No GPL, GNU, 3rd party components, etc. unless all copyright ramifications are explained AND AGREED TO by the buyer on the site per the coder's Seller Legal Agreement). ## Platform Must be using bourne shell.
ID Projek: 3139323

Tentang projek

1 cadangan
Projek jarak jauh
Aktif 20 tahun yang lalu

Ingin menjana wang?

Faedah membida di Freelancer

Tetapkan bajet dan garis masa anda
Dapatkan bayaran untuk kerja anda
Tuliskan cadangan anda
Ianya percuma untuk mendaftar dan membida pekerjaan
1 pekerja bebas membida secara purata $34 USD untuk pekerjaan ini
Avatar Pengguna
See private message.
$34 USD dalam 4 hari
5.0 (31 ulasan)
4.4
4.4

Tentang klien

Bendera UNITED STATES
United States
5.0
8
Ahli sejak Nov 10, 2003

Pengesahan Klien

Terima kasih! Kami telah menghantar pautan melalui e-mel kepada anda untuk menuntut kredit percuma anda.
Sesuatu telah berlaku semasa menghantar e-mel anda. Sila cuba lagi.
Pengguna Berdaftar Jumlah Pekerjaan Disiarkan
Freelancer ® is a registered Trademark of Freelancer Technology Pty Limited (ACN 142 189 759)
Copyright © 2024 Freelancer Technology Pty Limited (ACN 142 189 759)
Memuatkan pratonton
Kebenaran diberikan untuk Geolocation.
Sesi log masuk anda telah luput dan telah dilog keluar. Sila log masuk sekali lagi.