Displaying 2 results from an estimated 2 matches for "accelgrp".
2001 Oct 22
7
Add User Script
I am trying to read in a list of users from a file and automatically create
users from that. Here is what I thought would work:
#!/bin/sh
cat /mnt/PDC1-UsrSync/user.diff | while read Foo; do useradd $Foo; done
Contents of the user.diff file:
dccut
dclam
dcprep
dcshp
But here is what I get when I run the script:
> sh test.sh useradd: invalid user name `dccut ' useradd: invalid user
2002 Mar 12
3
failsafe against "stupid" / careless users
I'm admin on a samba PDC with 150 users, and as normal users they are quit
"stupid". This means that they ofte deletes something that shouldnt have
been deleted. And I find it anoying to restore their files from tapebackup.
So would it be possible to get samba to "move" files instead of deleting
them? This way I could allocate a disk to store deleted files for a periode
of