Linux: how to edit certain system files in a secured way: vipw, vigr, visudo

https://manpages.debian.org/unstable/passwd/vipw.8.en.html https://manpages.debian.org/unstable/passwd/vigr.8.en.html https://manpages.debian.org/unstable/sudo/visudo.8.en.html vipw and vigr are actually the same utility. You still have to also apply sudo on your command in order to gain the necessary privileges: Under certain circumstances you have to tell the utility, which (visual) editor to use: CAVEAT: the following article tells you something incorrect regarding “-s” / “–shadow” (read… Continue reading Linux: how to edit certain system files in a secured way: vipw, vigr, visudo

Linux: how to grant “sudo” privileges to an account: “usermod”

https://manpages.debian.org/unstable/passwd/usermod.8.en.html CAVEAT: Do not edit any file for gaining the required effect, instead: use the following command line! Actually it adds (“–append”) ACCOUNT to a user group by the name of sudo. That works because of this entry in the file /etc/sudoers (what is the group sudo allowed to do?): In other Linux distributions the group… Continue reading Linux: how to grant “sudo” privileges to an account: “usermod”

managing APT repositories: reprepro

wiki.debian.org: https://wiki.debian.org/DebianRepository/Setup#reprepro https://wiki.debian.org/DebianRepository/SetupWithReprepro wikitech.wikimedia.org: https://wikitech.wikimedia.org/wiki/Reprepro https://wikitech.wikimedia.org/wiki/APT_repository https://tools.wmflabs.org/apt-browser/ misc: https://debian-administration.org/article/286/Setting_up_your_own_APT_repository_with_upload_support https://blog.packagecloud.io/eng/2017/03/23/create-debian-repository-reprepro/ https://www.porcheron.info/setup-your-debianubuntu-repository-with-reprepro/

Continuous Integration / Delivery for Debian packages – jenkins-debian-glue.org

https://jenkins-debian-glue.org https://jenkins-debian-glue.org/contact/ I do have Jenkins running on Debian, creating Debian packages as deployables – I plan to deploy to a Debian repository. https://wiki.jenkins.io/display/JENKINS/Debian+Pbuilder+Plugin https://blog.packagecloud.io/eng/2017/03/23/create-debian-repository-reprepro/ Automatic handling of repositorieswithout manual interaction: reprepro: https://wikitech.wikimedia.org/wiki/Reprepro freight: https://salsa.debian.org/debian/freight – the fork https://github.com/rcrowley/freight – the original https://www.systutorials.com/docs/linux/man/1-freight-cache http://midactstech.blogspot.com/2014/05/install-freight.html  – maybe that only works with the original

managing APT repositories

using your own Debian package repository is there a CLI interface? is there a human oriented web interface? sources available? searching for “debian package repository”: https://www.debian.org/distrib/packages https://packages.debian.org https://wiki.debian.org/DebianRepository/Setup https://wiki.debian.org/DebianRepository/Setup#debify https://debian-handbook.info/browse/stable/sect.setup-apt-package-repository.html … searching for “ubuntu package repository”: https://packages.ubuntu.com https://www.maketecheasier.com/setup-local-repository-ubuntu/ … – also describes 2 different (simplistic?) web server approaches: https://askubuntu.com/questions/170348/how-to-create-a-local-apt-repository …