Useful Tips


This page collects the most useful tips for users from ustc.

Setup CERN Kerberos On UI

Through Kerberos, you could connect to cern service with passwordless (like svn etc...)

  1. copy below config file,or get it from here:
    cp /lustre/AtlUser/lcq/Report/FileFromLxplus/krb5.conf ~/.ssh/
  2. add below information in ~/.ssh/config, change your_cern_account !!!
    Host *
     Protocol 2
     ForwardAgent no
     ForwardX11 yes
     GSSAPIAuthentication yes
     GSSAPIDelegateCredentials yes
     User your_cern_account
  3. set the environmant variable, change your_ui_account !!! everytime you want to use Kerberos in a fresh shell, don't forget this step.
    export KRB5_CONFIG=/home/your_ui_account/.ssh/krb5.conf 
  4. Have a test with the below commant. If everything goes well, you will get no return smile strongly recommend to start a fresh shell to perform this test.
  5. kinit your_cern_account@CERN.CH
  6. AFS+KRB5:

Generate the grid proxy

voms-proxy-init -voms atlas -hours 99 -vomslife 99:00

TagAndProbe SVN repository


Useful twiki link

HComb group

VHbb group


Give access to any of your directories to specific users (chenc)

eos attr set user.acl="u:chenc:rx" /eos/atlas/user/c/changqia/

Download sample on eos:

Rucio usage



cheating sheet

get the url of repository

git config --get remote.origin.url

untrack the file

git rm --cached -r .

Avoid being asked passphrase each time I push to Git

$ eval $(ssh-agent)
$ ssh-add

Afs access control:

#$1 - path
#$2 - userid
find ${1} -type d -exec fs setacl -dir {} -acl ${2} rl \;

Webpage for analysis:

Apply a personal Website

SM VHbb analysis




SM VHbb analysis fitting NEW


SM VHbb analysis fitting


Edit | Attach | Watch | Print version | History: r22 < r21 < r20 < r19 < r18 | Backlinks | Raw View | WYSIWYG | More topic actions
Topic revision: r22 - 2021-04-15 - ChangqiaoLi
    • Cern Search Icon Cern Search
    • TWiki Search Icon TWiki Search
    • Google Search Icon Google Search

    Sandbox All webs login

This site is powered by the TWiki collaboration platform Powered by PerlCopyright & 2008-2023 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
or Ideas, requests, problems regarding TWiki? use Discourse or Send feedback