Hello all,

I setup a new OpenAFS server and was adding a user using ussbulk.

I made a mistake in the script, some things got created, others didn't.

How can I make what was created "undone"

Here's what happened:

[EMAIL PROTECTED] classlists]# uss bulk -file 
../classlists/ussbulk_cowboy_add.add -te
mplate ../templates/uss.staff -admin admin 
Password for 'admin': 
uss: Warning: Id '1000' already in Protection DB
uss: Can't mount volume 'homestaff.cowboy' on 
'/afs/.csc.depauw.edu/home/cowboy': No such file or directory
LINE 1 FAIL add cowboy:Ron Croonenberg:ev438twL::afs-1:a::1000
Released volume root.cell successfully
LINE 2 SUCCESS exec vos release root.cell
Released volume root.afs successfully
LINE 3 SUCCESS exec vos release root.afs
fs: File '/afs/afs-1.depauw.edu/home/cowboy' doesn't exist
uss: Template file, line 1: Failed to run the 'fs setacl 
/afs/afs-1.depauw.edu/home/cowboy admin all
' command: Inappropriate ioctl for device
LINE 4 FAIL exec fs setacl /afs/afs-1.depauw.edu/home/cowboy admin all
cp: copying multiple files, but last argument 
`/afs/afs-1.depauw.edu/home/cowboy' is not a directory
Try `cp --help' for more information.
uss: Template file, line 1: Failed to run the 'cp /etc/skel/.bash* 
/afs/afs-1.depauw.edu/home/cowboy 
' command: Inappropriate ioctl for device
LINE 5 FAIL exec cp /etc/skel/.bash* /afs/afs-1.depauw.edu/home/cowboy 
cp: cannot stat `/etc/skel/.Xclient*': No such file or directory
uss: Template file, line 1: Failed to run the 'cp /etc/skel/.Xclient* 
/afs/afs-1.depauw.edu/home/cowboy 
' command: Inappropriate ioctl for device
LINE 6 FAIL exec cp /etc/skel/.Xclient* /afs/afs-1.depauw.edu/home/cowboy 
cp: cannot create directory `/afs/afs-1.depauw.edu/home/cowboy': No such file 
or directory
uss: Template file, line 1: Failed to run the 'cp -r /etc/skel/.kde 
/afs/afs-1.depauw.edu/home/cowboy 
' command: Inappropriate ioctl for device
LINE 7 FAIL exec cp -r /etc/skel/.kde /afs/afs-1.depauw.edu/home/cowboy 
chown: `cowboy.faculty': invalid user
uss: Template file, line 1: Failed to run the 'chown -R cowboy.faculty 
/afs/afs-1.depauw.edu/home/cowboy
' command: Inappropriate ioctl for device
LINE 8 FAIL exec chown -R cowboy.faculty /afs/afs-1.depauw.edu/home/cowboy

_______________________________________________
OpenAFS-info mailing list
[email protected]
https://lists.openafs.org/mailman/listinfo/openafs-info

Reply via email to