New accounts now get uids from the EUCS uidlookup program and if returning staff or students need new account they should get the new uid and any existing files changed to new uid.
Exact syntax to follow.
Try om quotas restart full
# List users with role $1 whose homedirs are on disk partition $2
# e.g. roleondisk staff ptn050
# or roleondisk year-ug4 ptn010
roleondisk() {
ldapsearch -Q primaryRoles=cn=$1,ou=Roles,dc=inf,dc=ed,dc=ac,dc=uk homePartition uid | egrep -A 1 -B 1 ^homePartition.*cn=$2 | egrep ^uid | awk'{print $2}'}
export -f roleondisk
[ladybank]lmb: partsvr ptn110
Partition ptn110 is on server wyvern.inf
pegasus[disk] /home/neilb/bin/share/describe-disks.pl
soft space percentage
partition mountpoint quota free free
--------- ---------- ----- ----- ----------
d0 /disk/ptn018 Y 1.92G 15.08%
d1 /disk/ptn020 Y 220.09M 7.16%
d2 /disk/ptn021 Y 1000.2M 3.49%
d3 /disk/ptn028 N 1.15G 3.82%
d4 /disk/ptn029 N 15.53G 47.05%
d5 /disk/ptn032 N 12.35G 37.44%
d6 /disk/ptn040 N 5.27G 17.58%
d7 /disk/ptn041 N 477.19M 3.88%
d8 /disk/ptn046 N 3.90G 21.68%
d9 /disk/ptn049 N 5.24G 15.65%
d10 /disk/ptn052 Y 21.40G 42.79%
d11 /disk/ptn054 Y 32.69G 65.38%
d12 /disk/ptn055 Y 5.53G 11.07%
d13 /disk/ptn056 Y 2.26G 4.53%
d14 /disk/ptn050 Y 37.03G 59.73%
d15 /disk/ptn051 Y 11.29G 22.59%
d16 /disk/ptn053 Y 2.29G 4.57%
d36 NOT_MOUNTED N 7.23G 7.23%
d37 /disk/ptn083 N 8.67G 28.91%
d38 /disk/ptn084 N 7.23G 24.11%
d39 /disk/ptn085 N 10.58G 35.27%
d40 /disk/ptn086 N 13.27G 44.24%
d41 /disk/ptn087 N 18.69G 62.29%
d46 /disk/ptn123 N 13.11G 26.22%
d47 /disk/ptn124 N 26.75G 66.87%
d100 /disk/rmirror110 N 81.75G 54.50%
d101 /disk/rmirror111 N 11.60G 7.73%
d102 /disk/rmirror112 N 41.40G 27.60%
device partitions unallocated
name on device space
-------- ---------- -----------
c1t0d0s6 d0 25.81G
c1t1d0s6 d1,2 7.55G
c4t10d0s0 d5 926.78M
c4t8d0s0 d3 3.91G
c4t9d0s0 d4 926.78M
c6t10d0s0 d9 426.78M
c6t8d0s0 d6 3.91G
c6t9d0s0 d7,8 3.91G
c8t5000402001E8090Cd0s0 d10,11,12,13,14,15,16,36,37,38,39,4 251.62G
c8t5000402001E8090Cd10s0 d100,101,102 15.64G
If you create a file called
.mtoolsrc
with the following content:
drive d: file="/dev/sda1" exclusivethen you can access the stick directly as the d: drive using mtools.
mtools_skip_check=1
The stick still needs to be one that we know about.
-rw------- 1 root lcfg 846044 Jul 14 15:11 ardent.xmlyou can grep for resources like this
[ardent]root: grep jbryant ardent.xmland the xml should tell you exactly where to look for the resource definition
~ <localusers>
cfg:derivation="/etc/lcfg/inf.ed.ac.uk/include/inf/sitedefs.h:205
/etc/lcfg/inf.ed.ac.uk/profiles/ardent:58">lmb cc jbryant rwb carol
woodsar iainr @sysmans </localusers>
!kerberos.localusers mSET(lmb)The machine also has to have an entry in the dns/inf file of the form hostname-k or hostname-c depending on which wire it is on.
!localhome.users mSET(lmb)
mount /mnt/floppyPut rpm onto exam laptop:
cp /pkgs/master/rpms/rh9/dice/LPRng-conf-1.3.32-1.noarch.rpm /mnt/floppy
umount /mnt/floppy
mount /mnt/floppy
rpm -i /mnt/floppy/name_of_rpm.rpm
umount /mnt/floppy
user_pref("print.printer_list", "fh10 at8 fh4c bp2");
user_pref("print.printer_PostScript/fh4c.print_shrink_to_fit", true)
https://blob.inf.ed.ac.uk/wp-login.php
The administrator can then 'Add New User' to their blog making sure they use the correct email address that appears in the user's profile (default upon registration is is UUN@inf, however the user may have later updated contact info to a different address)
In order to be given permissions to edit a particular site/webpage, the user must first have logged in so they are registered with the site, e.g for student services they should visit the following link: https://www.inf.ed.ac.uk/student-services
https://publish.inf.ed.ac.uk/systems/
in Seamonkey. When it complains about the certificate, click the "yes I know" and tick the "add permanent exception". Quit Seamonkey and then restart it, use the browser to weblogin to the required page, then use the publisher to edit it.
gpg
Encryption software. sconf
Reconnect a laptop to network connections. xfig or dia
To draw diagrams. a2ps
To print landscape and lots of other things. xsane
To use scanner on revenge in 2501 JCMB. quanta
An HTML editor. k3b
To copy/create CDs/DVDs. meld
To compare two versions of a document side by side. [cornel]lmb: rpm -qa | grep aclYou can then find out details by:-
libacl-devel-2.2.3-1
acl-6.2-4
[cornel]lmb: rpm -qi acl-6.2-4If you are not sure of the name of the rpm you can:-
Name : acl Relocations: (not relocateable)
Version : 6.2 Vendor: School of Informatics, University of Edinburgh
Release : 4 Build Date: Wed Jan 7 18:29:34 2004
Install Date: Tue Oct 26 16:10:17 2004 Build Host: locke.inf.ed.ac.uk
Group : Development/Languages Source RPM: acl-6.2-4.src.rpm
Size : 235132051 License: 1985-2002, Franz Inc., Berkeley, CA, USA. All Rights Reserved.
Signature : (none)
Packager : Roger Burroughes roger@inf.ed.ac.uk
Summary : ACL binary distribution
Description :
Package of Allegro CL 6.2 Enterprise Edition binary distribution (CD).
RH9 downloaded patchers included.
Licence file included.
locate lisp | moreThis lists all the files which have "lisp" included. Pick one and run:-
/opt/acl62/alisp
cornel]lmb: rpm -qf /opt/acl62/alisp
acl-6.2-4
This will produce output like:-
[tumshie]lmb: rfe -xf kbnet/2421The switch network can be seen here.
1415-1.ports:port C5 2421a - H
1415-1.ports:port C6 2421b - AT1
1415-1.ports:port C7 2421c - C
1415-1.ports:port C8 2421d - H
[tumshie]lmb: rfe -xf kbnet/055
at5c.ports:port B1 AT5/055-spithersquoy - V
mhcn-1.ports:port B7 F/055 - D
smbclient -l smb.inf.ed.ac.uk (or admin.smb.inf.ed.ac.uk)
Printer Cartridge
FH1 4100DTN C8061X
FH2 4100DTN C8061X
FH3 4100DTN C8061X
FH4c 4500DN black C4191A
cyan C4192A
magenta C4193A
yellow C4194A
FH5 4000N C4127X
FH6 5M 92298X
FH7 4M+ 92298X
FH8 4050N C4127X
Printer Cartridge
AT1 4200DTN Q1338A
AT2 4050N C4127X
AT3 4200DTN Q1338A
AT4 4200DTN Q1338A
AT5 4200DTN Q1338A
AT6 4200DTN Q1338A
AT7 4200DTN Q1338A
AT8 4200DTN Q1338A
AT9c 4600DTN Black C9720A
Cyan C9721A
Yellow C9722A
Magenta C9723A
AT10c 4600DTN (as AT9c)
AT11 4200DTN Q1338A
AT12c Inkjet 2880TN ??????
Just restart the printer component on the print server which has the corrupted printer database:
om LPRng restart
Until kerberised printing has been set up in Forum, we can't determine real user/UUN from a print job submitted from a selfmanaged machine/laptop as we only see the name of their local account. We can establish which IP address they were connected to meaning we can then determine their location via netmon.
on infcups as root, grep for their 'Name' of file, 'User' or jobID in the following file:
/var/log/cups/page_log
which shows the following info, one line per page printed:
if213m0 joxley 374683 [22/Nov/2011:14:32:11 +0000] 1 1 - 129.215.24.26
The following guide gives advice on what software to use to remove malware from Windows machines:
Malware Removal Guide
If only first page of pdf prints out instead of full document:
Do file > print, go to advanced (left hand side) change the Font and
resource Policy to Send at Start. Then click ok.
If you delete a printer in windows 7 it doesn't not delete the port setting for that printer.
The following steps will tell you how to remove the port settings in
windows 7:
1. Open 'Devices and Printers'.
2. Click on the printer you wish to delete the port on.
3. At the top of the window click 'Printer server properties'.
4. Click the Ports tab.
5. Select the port and click 'Delete port'.
If it comes up with an error eg: 'The printer is currently in use', delete the printer and then select any printer
already configure and use the prevous steps to get to the port options, you will then be able to remove the port setting as it will still show
up there even after the printer has been deleted.
Informatics Forum, 10 Crichton Street, Edinburgh, EH8 9AB, Scotland, UK
Tel: +44 131 651 5661, Fax: +44 131 651 1426, E-mail: school-office@inf.ed.ac.uk Please contact our webadmin with any comments or corrections. Logging and Cookies Unless explicitly stated otherwise, all material is copyright © The University of Edinburgh |