You are not logged in.
Pages: 1
hi
I noticed that every file in the filesystem is readable by every user ...
this allow everybody to read some password keeping file (example wpa_supplicant.conf)
is thought to allow the read access only for root... is this easy to do? and there is any counter-indication?
thanks in advance for your replies
(edit: mispelling error)
Last edited by _Marco_ (2008-05-01 12:52:25)
Offline
Well, if you "chmod 400 <file>", then it can only be read by root. Not sure if that will screw up anything to do with wpa supplicant though...
Offline
thanks for the reply!
that is a possible problem... 'cause the file must be read by a not-root user to connect
it's not good have passwords in clear.. (and I know that aren't the Arch developers to "blame" for this)
consider that I'd like to do that "chmod 400" for all /
bye
Offline
chmod 400 makes the file read-only by the owner - if the owner happens to be root, then it's read-only by root.
My wpa_supplicant.conf is read/write by root i.e. chmod 600. This works for me, because netcfg has to be run as root anyway.
Offline
thanks tomk, do you know if it should work with NetworkManager too?
(never tried netcfg, I think I'm scared by the testing repo )
edit: I just noticed netcfg is in core ...
Last edited by _Marco_ (2008-05-01 16:06:18)
Offline
Pages: 1