Les Partages de Memiks
Tag cloud
Picture wall
Daily
RSS Feed
  • RSS Feed
  • Daily Feed
  • Weekly Feed
  • Monthly Feed
Filters

Links per page

  • 20 links
  • 50 links
  • 100 links

Filters

Untagged links
2 results tagged sudo  ✕
14.04 - Proxy does not work using sudo - Ask Ubuntu https://askubuntu.com/questions/530547/proxy-does-not-work-using-sudo
Tue Jun 25 18:15:19 2019 archive.org
QRCode
thumbnail

In case anybody wonders:

The issue here, is that when sudoing, a newenvironment is loaded, meaning that http_proxy is no longer set.

To resolve this issue you can add Defaults env_keep += "http_proxy https_proxy" to your /etc/sudoers file in order to keep those variables when switching to the secure path.

Reference: https://help.ubuntu.com/community/EnvironmentVariables

sudo proxy issue
How can I mount LVM partition in ubuntu? http://www.linuxquestions.org/questions/fedora-35/how-can-i-mount-lvm-partition-in-ubuntu-569507/
Mon Mar 25 22:21:40 2013 archive.org
QRCode
thumbnail

Vous avez modifié votre sudoers et plus accès à votre "root" sous fedora ou ubuntu ? voici la marche à suivre:

1) Boot sur le liveCD.

2) Installer lvm2:
$ sudo apt-get install lvm2

3) charger le module LVM
$ sudo modprobe dm-mod

4) scanner vos volumes LVM
$ sudo vgscan

5) activer les group trouver (sous fedora c'est normalement "fedora" justement :x)
$ sudo vgchange -ay fedora

6) voir les partitions du volume
$ sudo lvs

7) créer une répertoire qui va contenir le montage de partition
$ sudo mkdir /mnt/fcroot

8) et enfin monter la partition
$ sudo mount /dev/fedora/root /mnt/fcroot -o rw,user

9) modifier les fichiers
sudo vi /mnt/fcroot/etc/sudoers

10) redémarrer et amusez vous ;)

fedora lvm partition sudo sudoers retrieve
4759 links, including 1673 private
Shaarli - The personal, minimalist, super-fast, database free, bookmarking service by the Shaarli community - Theme by kalvn