adams_aderrine
New Member
CSV FILE FORMAT IS
GEORGE,CHADWICK,01/03/63,Year 1
DEREK,COLEMAN,08/08/75,Year 2
PETER,DAIGNEAULT,02/03/68,Year 1
How to create a bash script to perform the below steps
Students taking 1st year courses (100-level) should have user ids starting at 1000. So in the /etc/passwd file for user jstone something like eg: jstone:x:1028:1002:Stone,John:/home/jstone:/bin/bash
Students taking 2nd year courses (200-level) should have user ids starting at 2000
GEORGE,CHADWICK,01/03/63,Year 1
DEREK,COLEMAN,08/08/75,Year 2
PETER,DAIGNEAULT,02/03/68,Year 1
How to create a bash script to perform the below steps
Students taking 1st year courses (100-level) should have user ids starting at 1000. So in the /etc/passwd file for user jstone something like eg: jstone:x:1028:1002:Stone,John:/home/jstone:/bin/bash
Students taking 2nd year courses (200-level) should have user ids starting at 2000
Last edited: