Sponsored Content
Operating Systems OS X (Apple) Scripting User Account Removal Post 302606647 by panacea on Monday 12th of March 2012 10:15:28 AM
Old 03-12-2012
Computer Nirvana?

That find on the "remove after x days" was a sweet score! Smilie

I actually set it to 3 days to give the inevitable student that forgot to save to a flash drive the opportunity to save face. Though more often than not it's the Grad students that haven't learned this lesson yet and they lose months of work.

That did it. I've got it running on all our units without flaw. So now what?

Thanks so much for all the help [MA]Flying_Meat. And for the tips on what to read. I actually started teaching myself some Objective-C and even the little I've picked up so far in that helped me understand more some of the code you'd written.

I think the problem is finding and using on a regular basis practical uses for creating scripts. I'm not in an environment that requires much of it and being the only one doing it it makes it more of a challenge.

Any idea how scripting for Windows differs?
 

9 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

creatin user account

hi all, i m tryin to create a new account on the unix work station. do i use 'useradd' command? can u guyz advice on the usage of 'useradd' command as it can comes with 'useradd -D' or 'useradd -e' thanks :confused: (1 Reply)
Discussion started by: damian
1 Replies

2. Post Here to Contact Site Administrators and Moderators

user account

hi how to disable the useraccount in aix (should not remove). (1 Reply)
Discussion started by: chomca
1 Replies

3. UNIX for Dummies Questions & Answers

Difference between : Locked User Account & Disabled User Accounts in Linux ?

Thanks AVKlinux (3 Replies)
Discussion started by: avklinux
3 Replies

4. Shell Programming and Scripting

How to suspend a user account?

Hi, guys. I have two questions: I need to write a script, which can show all the non-suspended users on system, and suspend the selected user account. There are two things I am not sure: 1. How can I suspend user's account? What I think is: add a string to the encrypted password in shadow... (2 Replies)
Discussion started by: daikeyang
2 Replies

5. Red Hat

RPM Updation & Keeping User Change files during removal

Hi All, I have a RPM for an Java based application. Currently it works fine. But recently I want to implement that when newer packages gets installed over the older one, the rpm should only update the older files with the newer one (I know this could be done by rpm -Uvh xxx.rpm), but it... (0 Replies)
Discussion started by: jw_amp
0 Replies

6. Cybersecurity

Please help identify these user account

Please help me identify these user accounts.. bin, lp, nuucp, smbnull, mysql, tftp Can we remove these user or disable these users?We have to apply the security policy about the user identification.Since it was settup by our vendor long time ago. We do not have these informations about these... (3 Replies)
Discussion started by: rdstkg
3 Replies

7. Red Hat

User Account Sync

Hi All, I want to know is there any way where if i add a user in a centos machine the can be replicated to another centos automatically. As i have setup DRBD with heartbeat for apache webserver everything is working fine but the only thing im stuck in is about system account for ftp. Can any... (3 Replies)
Discussion started by: search4u2003
3 Replies

8. Linux

User Account Policy

Hi, i have the following config in the system-auth files auth required /lib/security/$ISA/pam_env.so auth sufficient /lib/security/$ISA/pam_unix.so likeauth nullok auth required /lib/security/$ISA/pam_deny.so account required ... (2 Replies)
Discussion started by: yprudent
2 Replies

9. HP-UX

User account

I need to check actual date a user was disabled on my HP-UX server. Audit is claiming the user account was active during the last audit exercise. (7 Replies)
Discussion started by: cyriac_N
7 Replies
AMC-ASSOCIATION-AU(1)					       Auto Multiple Choice					     AMC-ASSOCIATION-AU(1)

NAME
AMC-association-auto - automatic association between students and answer sheets for AMC multiple choice exams. SYNOPSIS
auto-multiple-choice association-auto --data project-data-dir --notes-id id --liste students-list.csv [--encodage-liste list-encoding] --liste-key key DESCRIPTION
The AMC-association-auto.pl command associates students with their answer sheet (when there are no errors from students when coding their student number and no error during data capture). See the section called "Identification of the students" from english user documentation for details. --data project-data-dir gives the directory where data files are (see for example AMC-prepare(1)). --notes-id id gives the identification string of the code provided for student numbers (command AMCcode in the LaTeX source file). --liste students-list.csv gives the students list. --encodage-liste list-encoding gives the students list file encoding (default is utf-8). --liste-key key gives the column name where to find the student number in the students list. --debug file.log gives a file to fill with debugging information. AUTHORS
Alexis Bienvenue <paamc@passoire.fr> Main author Jean Berard Translation from French Georges Khaznadar Translation from French COPYRIGHT
Copyright (C) 2008-2012 Alexis Bienvenue This document can be used according to the terms of the GNU General Public License, version 2 or later. Auto Multiple Choice 1.1.1 06/19/2012 AMC-ASSOCIATION-AU(1)
All times are GMT -4. The time now is 08:00 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy