-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1
Le mercredi 20 Octobre 2004 14:16, Matias Féliciano a écrit :
So, using /etc/security/console.perms seems the best way. Here is my purposal:
# device classes <serialport>=/dev/ttyS[0-9] <paralellport>=/dev/parport[0-7]
# permission definitions <console> 0600 <serialport> 0660 root.uucp <console> 0600 <paralellport> 0660 root.lp
Does it seem right for you?
How can I add/remove these lines via rpm (un)installation?
With Perl, sed ...
Hhmm, not really my cup of tea :-)
Personally, I don't like that third party package touch security files. Put some instructions in README or INSTALL file and let the administrator do his job :-)
Problem is: is "administrator" reading README or INSTALL files provided by a rpm package?
First, could you confirm that lines I want to put in the file are right?
I manually edit the file to try, logout, and try login but it fails. I am unable to login as a normal user (bigs problems with X), only login as root.
- -- Alain PORTAL -- Service Commun de Microscopie Électronique Université de Montpellier II -- Case Courrier 087 Place Eugène Bataillon -- 34095 Montpellier Cedex 05 Tél. : 04 67 14 37 35 -- Fax. : 04 67 14 37 37
NO WORD ATTACHMENTS: http://www.fsf.org/philosophy/no-word-attachments.fr.html http://www.giromini.org/usenet-fr/repondre.html