Contenu | Rechercher | Menus

Annonce

Si vous avez des soucis pour rester connecté, déconnectez-vous puis reconnectez-vous depuis ce lien en cochant la case
Me connecter automatiquement lors de mes prochaines visites.

À propos de l'équipe du forum.

#26 Le 03/10/2014, à 08:59

CRIMA

Re : Problèmes Samba sur serveur Trusty (en partie, résolu)

Bonjour et Merci de votre suivi.

J'ai fait ce que vous demandiez. J'ai ouvert uun terminal et modifié les rubriques indiquées.
MAIS, (car il y a un mais)  rien n'est enregistré et je retrouve toujours : adm :x:4:syslog,macri
Je supprime syslog mais comment faire pour que la modificaton soit enregistrée ? je n'ai rien vu de tel.
Sudo était bien comme vous le voulez :
[root:x:0:

adm:x:4:syslog,macri
sudo:x:27:macri]

Rien à faire pour enregistrer la modification.
Je ne peux toujours pas ouvrir "system-config-samba" même pour vérifier les parametres de samba.

Merci encore - A bientôt

Dernière modification par CRIMA (Le 03/10/2014, à 09:01)


Ordi HP Z200 - Processeur Intel I3 - chipset graphique IntelHD - 8 Go ram -

Hors ligne

#27 Le 03/10/2014, à 09:18

sinbad83

Re : Problèmes Samba sur serveur Trusty (en partie, résolu)

Si macri est listé dans adm et dans sudo, macri a les droits super-utilisateur. Logue-toi en macri et ouvre le fichier /etc/group pour te rajouter en adm et sudo. Pour cela, tu ajoutes en fin de ligne adm et sudo une virgule suivie de ton login.
Si tu n'as pas le mot de passe de macri, passe par le mode Rescue (ou Réparation) dans le Grub au démarrage. Doc sur http://www.coursinforev.org/doku.php/de … cuperation


La connaissance n'est pas une denrée rare, il faut la partager avec les autres.
Linux registered #484707
Site: www.coursinforev.org/doku.php
Desktop AMD Ryzen 5-3600, RAM 16GB, Ubuntu 20.10,   HP Pavillon G6 Ubuntu 20.10 et Ten, Serveur Ubuntu 18.04

Hors ligne

#28 Le 03/10/2014, à 10:56

CRIMA

Re : Problèmes Samba sur serveur Trusty (en partie, résolu)

Bonjour et toujours merci .
[Logue-toi en macri] : et voilà, c'est quoi cette commande ? Loguer jamais encore entendu parler de ce verbe.
Je l'ai dit sur d'autres posts; je butte vraiment avec ce vocabulaire, et vous prie d'accepter mes excuses.
Si voous pouviez m'indiquer le chemin exact, ce serait vraiment sympa.

Le mot de passe de macri, je le connais : je l'utilise pour toute opération (connexion, sortie de veille, utilisatioin logithèque, etc...)

D'autre part, dans "etc" je n'ai pas de fichier"group" (si je me suis bien exprimé) Dans " système de fichiers" j'ai bien un dossier "etc" mais si je l'ouvre, pas de fichier "group" pour continuer.

D'autre part, si je veux "purger" un programme (samba en l'occurence) voilà la réponse :

[E: Impossible d'ouvrir le fichier verrou /var/lib/dpkg/lock - open (13: Permission non accordée)
E: Impossible de verrouiller le répertoire d'administration (/var/lib/dpkg/). Avez-vous les privilèges du superutilisateur ?
macri@macri-IMEDIA-MC-9667-FR:~$ ]
Est-ce que çà peut aider ? je commence à désespérer de trouver une solution. Vais-je devoir réinstaller complètement Xubuntu ?

A bientôt

Dernière modification par CRIMA (Le 03/10/2014, à 13:24)


Ordi HP Z200 - Processeur Intel I3 - chipset graphique IntelHD - 8 Go ram -

Hors ligne

#29 Le 03/10/2014, à 17:09

sinbad83

Re : Problèmes Samba sur serveur Trusty (en partie, résolu)

Pour te loguer en macri, tu entres macri au lieu de ton identifiant personnel au démarrage Ubuntu. Mais tu peux aussi basculer sur macri alors que tu as démarré avec ton identifiant: clique en haut à droite de l'écran sur ton nom et par clic droit, tu sélectionnes macri pour ouvrir une session macri. Comme macri est super-utilisateur , profites-en pour te donner les bons droits, soit en graphique, par Utilisateurs et groupes, soit en ouvrant le fichier group

sudo nano /etc/group

Si tu ne trouves pas le fichier, mets-toi en macri et donne le retour de

ls -l /etc

Si tu reçois un message " Impossible d'ouvrir le fichier verrou /var/lib/dpkg/lock - open", cela prouve qu'un autre programme est ouvert qui interfère avec ce que tu as demandé (se rapportant à une installation ou une mise à jour), ferme l'application si tu sais l'identifier, sinon, supprime le fichier

sudo rm -fi /var/lib/dpkg/lock

Pas besoin de réinstaller.

Dernière modification par sinbad83 (Le 03/10/2014, à 17:12)


La connaissance n'est pas une denrée rare, il faut la partager avec les autres.
Linux registered #484707
Site: www.coursinforev.org/doku.php
Desktop AMD Ryzen 5-3600, RAM 16GB, Ubuntu 20.10,   HP Pavillon G6 Ubuntu 20.10 et Ten, Serveur Ubuntu 18.04

Hors ligne

#30 Le 03/10/2014, à 17:58

CRIMA

Re : Problèmes Samba sur serveur Trusty (en partie, résolu)

Re-Bonjour et toujours merci.

Je vous donne le retour de:

[macri@macri-IMEDIA-MC-9667-FR:~$ ls -l /etc
total 1204
drwxr-xr-x  3 root root     4096 avril 16 20:30 acpi
-rw-r--r--  1 root root     2981 avril 16 20:26 adduser.conf
drwxr-xr-x  2 root root     4096 oct.   3 10:26 alternatives
-rw-r--r--  1 root root      401 févr. 20  2014 anacrontab
-rw-r--r--  1 root root      112 janv. 10  2014 apg.conf
drwxr-xr-x  6 root root     4096 avril 16 20:28 apm
drwxr-xr-x  3 root root     4096 avril 16 20:30 apparmor
drwxr-xr-x  8 root root     4096 oct.   3 10:26 apparmor.d
drwxr-xr-x  5 root root     4096 oct.   3 13:40 apport
drwxr-xr-x  6 root root     4096 sept. 16 12:56 apt
drwxr-xr-x  2 root root     4096 avril 16 20:30 at-spi2
drwxr-xr-x  3 root root     4096 avril 16 20:30 avahi
-rw-r--r--  1 root root     2177 avril  9 03:03 bash.bashrc
-rw-r--r--  1 root root       45 mars  22  2014 bash_completion
drwxr-xr-x  2 root root     4096 oct.   3 13:40 bash_completion.d
-rw-r--r--  1 root root      356 janv.  1  2012 bindresvport.blacklist
-rw-r--r--  1 root root      321 avril 16 18:07 blkid.conf
lrwxrwxrwx  1 root root       15 juin   3 22:54 blkid.tab -> /dev/.blkid.tab
drwxr-xr-x  2 root root     4096 avril 16 20:30 bluetooth
-rw-r--r--  1 root root       33 avril 16 20:30 brlapi.key
drwxr-xr-x  2 root root    12288 avril 16 20:30 brltty
-rw-r--r--  1 root root    22478 mars  31  2014 brltty.conf
drwxr-xr-x  3 root root     4096 avril 16 20:28 ca-certificates
-rw-r--r--  1 root root     7464 avril 16 20:30 ca-certificates.conf
drwxr-xr-x  2 root root     4096 avril 16 20:29 calendar
drwxr-s---  2 root dip      4096 avril 16 20:30 chatscripts
drwxr-xr-x  4 root root     4096 sept. 25 10:23 chromium-browser
-rw-r--r--  1 root root     1332 janv. 16  2014 colord.conf
drwxr-xr-x  2 root root     4096 avril 16 20:26 console-setup
drwxr-xr-x  2 root root     4096 oct.   3 10:26 cracklib
drwxr-xr-x  2 root root     4096 avril 16 20:30 cron.d
drwxr-xr-x  2 root root     4096 oct.   3 13:40 cron.daily
drwxr-xr-x  2 root root     4096 avril 16 20:26 cron.hourly
drwxr-xr-x  2 root root     4096 avril 16 20:30 cron.monthly
-rw-r--r--  1 root root      722 févr.  9  2013 crontab
drwxr-xr-x  2 root root     4096 sept. 16 10:54 cron.weekly
drwxr-xr-x  5 root lp       4096 sept. 16 11:02 cups
drwxr-xr-x  2 root root     4096 sept. 16 11:06 cupshelpers
drwxr-xr-x  4 root root     4096 sept. 24 07:58 dbus-1
drwxr-xr-x  4 root root     4096 oct.   3 10:26 dconf
-rw-r--r--  1 root root     2969 févr. 23  2014 debconf.conf
-rw-r--r--  1 root root       11 févr. 20  2014 debian_version
drwxr-xr-x  3 root root     4096 oct.   3 13:40 default
-rw-r--r--  1 root root      604 nov.   7  2013 deluser.conf
drwxr-xr-x  2 root root     4096 avril 16 20:26 depmod.d
drwxr-xr-x  4 root root     4096 avril 16 20:26 dhcp
drwxr-xr-x  2 root root     4096 sept. 16 09:35 dictionaries-common
drwxr-xr-x  3 root root     4096 sept. 16 13:16 dkms
drwxr-xr-x  2 root root     4096 avril 16 20:31 dnsmasq.d
drwxr-xr-x  3 root root     4096 avril 16 20:28 doc-base
drwxr-xr-x  4 root root     4096 sept. 16 10:54 dpkg
-rw-r--r--  1 root root     3095 avril 14 09:10 drirc
drwxr-xr-x  3 root root     4096 avril 16 20:28 emacs
-rw-r--r--  1 root root       96 avril 16 20:26 environment
drwxr-xr-x  2 root root     4096 sept. 25 08:58 firefox
drwxr-xr-x  4 root root     4096 sept. 16 11:01 fonts
-rw-r--r--  1 root root      594 sept. 16 09:08 fstab
drwxr-xr-x  2 root root     4096 avril 16 18:07 fstab.d
-rw-r-----  1 root fuse      280 mai   24  2013 fuse.conf
drwxr-xr-x  2 root root     4096 oct.   2 17:49 gadmin-samba
-rw-r--r--  1 root root     2584 oct.  10  2012 gai.conf
drwxr-xr-x  5 root root     4096 avril 16 20:28 gconf
drwxr-xr-x  2 root root     4096 sept. 16 11:05 gdb
drwxr-xr-x  4 root root     4096 avril 16 20:28 ghostscript
drwxr-xr-x  3 root root     4096 avril 16 20:28 gimp
drwxr-xr-x  3 root root     4096 sept. 17 16:51 gnome
drwxr-xr-x  2 root root     4096 sept. 16 11:04 gnome-app-install
drwxr-xr-x  3 root root     4096 oct.   3 10:25 gnome-settings-daemon
drwxr-xr-x  2 root root     4096 avril 16 20:31 gnome-system-tools
drwxr-xr-x  3 root root     4096 sept. 16 15:13 gnome-vfs-2.0
drwxr-xr-x  2 root root     4096 avril 16 20:29 groff
-rw-r--r--  1 root root     1014 oct.   3 10:26 group
-rw-------  1 root root     1003 oct.   2 17:55 group-
-rw-r--r--  1 root root      995 oct.   3 08:05 group.save
-rw-r--r--  1 root root     1001 oct.   3 08:25 group.save.1
-rw-r--r--  1 root root      996 oct.   3 08:31 group.save.2
-rw-r--r--  1 root root      996 oct.   3 08:35 group.save.3
-rw-r--r--  1 root root      996 oct.   3 08:41 group.save.4
-rw-r--r--  1 root root      996 oct.   3 09:38 group.save.5
-rw-r--r--  1 root root      996 oct.   3 09:40 group.save.6
-rw-r--r--  1 root root      996 oct.   3 09:44 group.save.7
drwxr-xr-x  2 root root     4096 sept. 16 11:04 grub.d
-rw-r-----  1 root shadow    847 oct.   3 10:26 gshadow
-rw-------  1 root root      839 oct.   2 17:55 gshadow-
drwxr-xr-x  2 root root     4096 sept. 16 11:02 gtk-2.0
drwxr-xr-x  2 root root     4096 sept. 16 11:01 gtk-3.0
drwxr-xr-x  2 root root     4096 avril 16 20:30 gtkmathview
-rw-r--r--  1 root root     4781 nov.  15  2013 hdparm.conf
-rw-r--r--  1 root root       92 févr. 20  2014 host.conf
-rw-r--r--  1 root root       24 oct.   3 13:47 hostname
-rw-r--r--  1 root root      257 oct.   3 13:47 hosts
-rw-r--r--  1 root root      411 avril 16 20:30 hosts.allow
-rw-r--r--  1 root root      711 avril 16 20:30 hosts.deny
drwxr-xr-x  2 root root     4096 sept. 16 11:02 hp
drwxr-xr-x  3 root root     4096 avril 16 20:28 ifplugd
drwxr-xr-x  2 root root     4096 oct.   3 13:40 init
drwxr-xr-x  2 root root     4096 oct.   3 13:40 init.d
drwxr-xr-x  5 root root     4096 sept. 16 11:02 initramfs-tools
-rw-r--r--  1 root root     1721 mars  28  2014 inputrc
drwxr-xr-x  3 root root     4096 mai   19  2013 insserv
-rw-r--r--  1 root root      771 mai   19  2013 insserv.conf
drwxr-xr-x  2 root root     4096 mai   19  2013 insserv.conf.d
drwxr-xr-x  2 root root     4096 avril 16 20:26 iproute2
-rw-r--r--  1 root root       26 juil. 22 17:33 issue
-rw-r--r--  1 root root       19 juil. 22 17:33 issue.net
drwxr-xr-x  2 root root     4096 avril 16 20:26 kbd
drwxr-xr-x  6 root root     4096 sept. 16 13:16 kernel
-rw-r--r--  1 root root      110 sept. 16 09:36 kernel-img.conf
-rw-r--r--  1 root root     1311 avril  2  2014 kerneloops.conf
drwxr-xr-x  2 root root     4096 avril 16 20:29 ldap
-rw-r--r--  1 root root    98644 oct.   3 13:40 ld.so.cache
-rw-r--r--  1 root root       34 avril 16 20:26 ld.so.conf
drwxr-xr-x  2 root root     4096 oct.   3 13:37 ld.so.conf.d
-rw-r--r--  1 root root      267 févr. 20  2014 legal
-rw-r--r--  1 root root      191 déc.   4  2013 libaudit.conf
drwxr-xr-x  2 root root     4096 avril 16 20:30 libnl-3
drwxr-xr-x  2 root root     4096 déc.  11  2013 libpaper.d
-rw-r--r--  1 root root     2290 févr. 29  2012 libuser.conf
drwxr-xr-x  3 root root     4096 sept. 16 11:07 lightdm
-rw-r--r--  1 root root     1291 mars  29  2014 lintianrc
-rw-r--r--  1 root root     2570 août   5  2010 locale.alias
-rw-r--r--  1 root root     2945 sept. 16 10:54 localtime
drwxr-xr-x  4 root root     4096 oct.   3 10:25 logcheck
-rw-r--r--  1 root root    10551 févr. 17  2014 login.defs
-rw-r--r--  1 root root      703 janv. 22  2014 logrotate.conf
drwxr-xr-x  2 root root     4096 oct.   3 13:40 logrotate.d
-rw-r--r--  1 root root      105 juil. 22 17:23 lsb-release
-rw-r--r--  1 root root    14867 mars  20  2014 ltrace.conf
-rw-r--r--  1 root root      111 avril  3  2014 magic
-rw-r--r--  1 root root      111 avril  3  2014 magic.mime
-rw-r--r--  1 root root    28152 oct.   3 13:39 mailcap
-rw-r--r--  1 root root      449 mai   13  2013 mailcap.order
-rw-r--r--  1 root root     5173 avril 10 12:59 manpath.config
drwxr-xr-x  2 root root     4096 oct.   2 17:49 menu
drwxr-xr-x  2 root root     4096 oct.   2 17:49 menu-methods
-rw-r--r--  1 root root    23922 mai   13  2013 mime.types
-rw-r--r--  1 root root      956 févr. 19  2014 mke2fs.conf
drwxr-xr-x  2 root root     4096 oct.   3 13:40 modprobe.d
-rw-r--r--  1 root root      255 sept. 16 09:35 modules
drwxr-xr-x  2 root root     4096 sept. 16 11:02 modules-load.d
-rw-r--r--  1 root root      811 oct.   3 17:43 mtab
-rw-------  1 root lightdm     0 sept. 16 09:57 mtab.fuselock
-rw-r--r--  1 root root     8453 oct.   1  2012 nanorc
drwxr-xr-x  7 root root     4096 avril 16 20:26 network
drwxr-xr-x  6 root root     4096 avril 16 20:31 NetworkManager
-rw-r--r--  1 root root       91 févr. 20  2014 networks
drwxr-xr-x  2 root root     4096 avril 16 20:26 newt
-rw-r--r--  1 root root      507 avril 16 20:30 nsswitch.conf
-rw-r--r--  1 root root     1936 oct.   9  2013 ntp.conf
drwxr-xr-x  2 root root     4096 avril 16 20:30 obex-data-server
drwxr-xr-x  2 root root     4096 sept. 16 09:54 openal
drwxr-xr-x  3 root root     4096 sept. 16 13:16 OpenCL
drwxr-xr-x  2 root root     4096 avril 16 20:26 opt
-rw-r--r--  1 root root      249 juil. 22 17:33 os-release
-rw-r--r--  1 root root      552 janv. 31  2014 pam.conf
drwxr-xr-x  2 root root     4096 oct.   3 13:40 pam.d
-rw-r--r--  1 root root        3 sept. 16 09:35 papersize
-rw-r--r--  1 root root     1903 oct.   3 10:28 passwd
-rw-------  1 root root     1964 oct.   3 10:26 passwd-
drwxr-xr-x  2 root root     4096 avril 16 20:30 pcmcia
drwxr-xr-x  4 root root     4096 avril 16 20:26 perl
drwxr-xr-x  2 root root     4096 sept. 16 09:52 pki
drwxr-xr-x  5 root root     4096 avril 16 20:28 pm
-rw-r--r--  1 root root     7649 avril 16 20:30 pnm2ppa.conf
drwxr-xr-x  5 root root     4096 avril 16 20:28 polkit-1
-rw-r--r--  1 root root      350 sept. 16 09:35 popularity-contest.conf
drwxr-xr-x  8 root root     4096 avril 16 20:30 ppp
lrwxrwxrwx  1 root root       22 sept. 16 11:02 printcap -> /var/run/cups/printcap
-rw-r--r--  1 root root      665 févr. 20  2014 profile
drwxr-xr-x  2 root root     4096 avril 16 20:30 profile.d
-rw-r--r--  1 root root     2932 déc.  30  2013 protocols
drwxr-xr-x  2 root root     4096 avril 16 20:30 pulse
drwxr-xr-x  2 root root     4096 sept. 16 11:06 purple
drwxr-xr-x  2 root root     4096 avril 16 20:29 python
drwxr-xr-x  2 root root     4096 avril 16 20:29 python2.7
drwxr-xr-x  2 root root     4096 avril 16 20:26 python3
drwxr-xr-x  2 root root     4096 avril 16 20:26 python3.4
drwxr-xr-x  2 root root     4096 sept. 16 09:38 rc0.d
drwxr-xr-x  2 root root     4096 oct.   3 10:26 rc1.d
drwxr-xr-x  2 root root     4096 oct.   3 10:26 rc2.d
drwxr-xr-x  2 root root     4096 oct.   3 10:26 rc3.d
drwxr-xr-x  2 root root     4096 oct.   3 10:26 rc4.d
drwxr-xr-x  2 root root     4096 oct.   3 10:26 rc5.d
drwxr-xr-x  2 root root     4096 sept. 16 09:38 rc6.d
-rwxr-xr-x  1 root root      306 avril 16 20:26 rc.local
drwxr-xr-x  2 root root     4096 sept. 16 09:38 rcS.d
drwxr-xr-x  5 root root     4096 sept. 16 11:01 resolvconf
lrwxrwxrwx  1 root root       29 sept. 16 09:14 resolv.conf -> ../run/resolvconf/resolv.conf
-rwxr-xr-x  1 root root      268 févr.  4  2014 rmt
-rw-r--r--  1 root root      887 déc.  30  2013 rpc
-rw-r--r--  1 root root     1320 août  19 21:51 rsyslog.conf
drwxr-xr-x  2 root root     4096 avril 16 20:30 rsyslog.d
drwxr-xr-x  3 root root     4096 sept. 16 11:06 sane.d
-rw-r--r--  1 root root     4038 févr. 17  2014 securetty
drwxr-xr-x  4 root root     4096 oct.   3 10:26 security
drwxr-xr-x  2 root root     4096 avril 16 20:26 selinux
-rw-r--r--  1 root root    10344 janv. 15  2014 sensors3.conf
drwxr-xr-x  2 root root     4096 avril 16 20:30 sensors.d
-rw-r--r--  1 root root    19558 déc.  30  2013 services
drwxr-xr-x  3 root root     4096 sept. 16 13:43 sgml
-rw-r-----  1 root shadow   1096 oct.   3 10:28 shadow
-rw-------  1 root root     1126 oct.   3 10:26 shadow-
-rw-r--r--  1 root root       73 avril 16 20:26 shells
drwxr-xr-x  2 root root     4096 sept. 27 12:50 skel
drwxr-xr-x  4 root root     4096 avril 16 20:30 speech-dispatcher
drwxr-xr-x  2 root root     4096 sept. 16 11:04 ssh
drwxr-xr-x  4 root root     4096 sept. 16 11:04 ssl
-rw-r--r--  1 root root       19 oct.   3 10:28 subgid
-rw-------  1 root root       41 oct.   3 09:19 subgid-
-rw-r--r--  1 root root       19 oct.   3 10:28 subuid
-rw-------  1 root root       41 oct.   3 09:19 subuid-
-r--r-----  1 root root      745 févr. 10  2014 sudoers
drwxr-xr-x  2 root root     4096 avril 16 20:26 sudoers.d
-rw-r--r--  1 root root       19 mai    1  2011 su-to-rootrc
-rw-r--r--  1 root root     2084 avril  1  2013 sysctl.conf
drwxr-xr-x  2 root root     4096 avril 16 20:26 sysctl.d
drwxr-xr-x  3 root root     4096 oct.   3 13:40 systemd
drwxr-xr-x  2 root root     4096 avril 16 20:26 terminfo
drwxr-xr-x  2 root root     4096 sept. 25 08:58 thunderbird
-rw-r--r--  1 root root       13 sept. 16 10:54 timezone
drwxr-xr-x  2 root root     4096 sept. 16 09:54 timidity
-rw-r--r--  1 root root      645 janv. 21  2014 ts.conf
-rw-r--r--  1 root root     1260 juil.  1  2013 ucf.conf
drwxr-xr-x  4 root root     4096 oct.   3 13:40 udev
drwxr-xr-x  2 root root     4096 mars  10  2014 udisks2
drwxr-xr-x  3 root root     4096 avril 16 20:30 ufw
-rw-r--r--  1 root root      321 juin  20  2013 updatedb.conf
drwxr-xr-x  3 root root     4096 sept. 16 14:27 update-manager
drwxr-xr-x  2 root root     4096 sept. 16 14:27 update-motd.d
drwxr-xr-x  2 root root     4096 avril 10 00:09 update-notifier
drwxr-xr-x  2 root root     4096 avril 16 20:30 UPower
-rw-r--r--  1 root root      222 avril 11 23:54 upstart-xsessions
-rw-r--r--  1 root root      888 avril  9 03:08 usb_modeswitch.conf
drwxr-xr-x  2 root root     4096 avril  9 03:07 usb_modeswitch.d
-rw-r--r--  1 root root       51 août  16  2013 vdpau_wrapper.cfg
drwxr-xr-x  2 root root     4096 avril 16 20:26 vim
lrwxrwxrwx  1 root root       23 sept. 16 09:08 vtrgb -> /etc/alternatives/vtrgb
-rw-r--r--  1 root root     4812 févr.  7  2014 wgetrc
drwxr-xr-x  2 root root     4096 sept. 16 09:54 wildmidi
drwxr-xr-x  2 root root     4096 avril 16 20:30 wpa_supplicant
drwxr-xr-x 11 root root     4096 avril 16 20:30 X11
drwxr-xr-x 10 root root     4096 oct.   2 11:22 xdg
drwxr-xr-x  2 root root     4096 avril 16 20:30 xfce4
drwxr-xr-x  2 root root     4096 sept. 16 13:44 xml
drwxr-xr-x  2 root root     4096 sept. 16 11:07 xul-ext
-rw-r--r--  1 root root      349 juin  26  2012 zsh_command_not_found
macri@macri-IMEDIA-MC-9667-FR:~$ ]

Dans toute cette liste, celui-ci est en Rouge : [lrwxrwxrwx  1 root root       15 juin   3 22:54 blkid.tab -> /dev/.blkid.tab]   ((Je précise que le 15 Juin, XUBUNTU N'ÉTAIT PAS INSTALLÉ SUR CET ORDINATEUR)

Pour la dernière commande :

[macri@macri-IMEDIA-MC-9667-FR:~$ sudo rm -fi /var/lib/dpkg/lock
[sudo] password for macri:

rm : supprimer fichier vide «/var/lib/dpkg/lock» ? macri@macri-IMEDIA-MC-9667-FR:~$ ]

Je n'ai rien fait ! Comment peut-on le supprimer ? J'ai fait var/lib/dpkg/lock dans système de fichiers mais "lock" est muni d'un X et ne peut être ni déplacé ni supprimé.
J'ai encore besoin de vous, ne m'abandonnez pas . Merci.

Salutations



Suite :  Je viens à nouveau de tenter de supprimer "lock" mais le fichier n'est plus là. J'ai refait "sudo rm -fi /var/lib/dpkg/lock" mais la réponse est :

[macri@macri-IMEDIA-MC-9667-FR:~$ sudo rm -fi /var/lib/dpkg/lock
[sudo] password for macri:
rm: impossible de supprimer «/var/lib/dpkg/lock»: Aucun fichier ou dossier de ce type
macri@macri-IMEDIA-MC-9667-FR:~$ ]

Cà nous avance .... ou pas ? et maintenant ?

Merci - Salutations

Dernière modification par CRIMA (Le 03/10/2014, à 20:09)


Ordi HP Z200 - Processeur Intel I3 - chipset graphique IntelHD - 8 Go ram -

Hors ligne

#31 Le 03/10/2014, à 22:19

sinbad83

Re : Problèmes Samba sur serveur Trusty (en partie, résolu)

Quand Ubuntu te demande de confirmer la suppression

rm : supprimer fichier vide «/var/lib/dpkg/lock» ? 

Tu réponds "o" pour Oui.
Si le fichier a déjà été supprimé, il n'y a plus rien à faire. Tu continuesce qui avait été arrêté.
Quand tu envoies le retour d'une commande, sélectionne le texte (y compris la commande) et clique sur l'icône bleue au-dessus <> pour la mise en forme, cela facilite la lecture.


La connaissance n'est pas une denrée rare, il faut la partager avec les autres.
Linux registered #484707
Site: www.coursinforev.org/doku.php
Desktop AMD Ryzen 5-3600, RAM 16GB, Ubuntu 20.10,   HP Pavillon G6 Ubuntu 20.10 et Ten, Serveur Ubuntu 18.04

Hors ligne

#32 Le 04/10/2014, à 16:38

CRIMA

Re : Problèmes Samba sur serveur Trusty (en partie, résolu)

Bonjour/

J'ai bien vu votre message en son temps et vous remercie.
Cependant, suite aux differentes manipulations + c elles que j'ai faiites tout seul en cherchant suis aperççu que certains logiciels ouo programmes avaient disparu, et notamment la logithèque (pas facile pour installer ce qui manquait ).
J'ai donc décidé, d'un commun accord avec moi-même, de réinstaller depuis le DVD, sur la même partition.(D'ailleurs bon nombre de mes réglages antérieurs et personnalisations ont été conservées)
C'est pourquoi j'ai été long à vous répondre.

J'ai pu de ce fait configurer Samba et je peux accéder à mes fichiers Windows.

Mais : Si le PC  Windows est en veille, impossible d'y accéder, samba ne trouve pas le réseau (ou tout du moins ne s'y connecte pas en reveillant le PC Windows).
D'où ma question qui je l'espère pour vous qui m'aidez, sera la dernière : Est-ce normal ??.

Merci encore
Salutations


Ordi HP Z200 - Processeur Intel I3 - chipset graphique IntelHD - 8 Go ram -

Hors ligne

#33 Le 05/10/2014, à 00:24

sinbad83

Re : Problèmes Samba sur serveur Trusty (en partie, résolu)

Si un ordinateur est en veille, il répond au ping. De la même façon, on doit accéder aux partages, même si ce n'est pas immédiat. Je n'ai pas le temps de faire un essai pour vérifier.


La connaissance n'est pas une denrée rare, il faut la partager avec les autres.
Linux registered #484707
Site: www.coursinforev.org/doku.php
Desktop AMD Ryzen 5-3600, RAM 16GB, Ubuntu 20.10,   HP Pavillon G6 Ubuntu 20.10 et Ten, Serveur Ubuntu 18.04

Hors ligne

#34 Le 10/10/2014, à 13:58

CRIMA

Re : Problèmes Samba sur serveur Trusty (en partie, résolu)

Bonjour

Toujours le même problème :
1) mon PC Windows n'est plus reconnu par le PC Ubuntu en sortie veille !
2) si mon PC Windows est en veille quand je veux me connecter, plus de réseau non plus, et n'est pas reconnu.

A parcourir ce forum, la solution n'a pas l'air aussi simple qu'il n'y parait . Mais si quelqu'un à une solution je l'en remercie d'avance.

Pour la petite histoire, j'ai deux ordi connectés à la même livebox orange (PC WINDOWS en wi-fi et PC Ubuntu en filaire). Ces deux ordi ne sont pas
au même étage de la maison et c'est idiot de devoir monter sortir un PC de veille pour ensuite revenir se connecter avec l'autre PC pour accéder aux fichiers du PC que l'on vient de "réveiller".

Merci de vos lumières

Salutations à bientôt.


Ordi HP Z200 - Processeur Intel I3 - chipset graphique IntelHD - 8 Go ram -

Hors ligne