Linux - SecurityThis forum is for all security related questions.
Questions, tips, system compromises, firewalls, etc. are all included here.
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
l've got a stupid but an inteligent question??? my question is this :
hoe do l place a password on a normal file in linux.??? cos' this is
simple in windows. please note am not talking about [.htaccess or
.htpasswd ] that are used for Apache. But am asking of how l can place a
password access on the scripts or configurazione files. e.g if l have a
script called "/usr/sbin/bobgodwinx" l would like to protect it with a
password so that when l do for example " vi /usr/sbin/bobgodwinx" l
should be asked a password
bobgodwinx: this may be simple in window, but it really doesn't do a damn thing, all it does is make it so windows doesn't let people that don't know the password use the file, but anyone can pop in a boot disk and go around windows all together (including the files password)
if its sensitive data, then encryption is best, if its lots of files, encrypt the disk partition (like to get encrypted directories)
please can some make an example on how to encrypt files or directories with a key or passwd thanks. e.g l would like to encrypt /etc/samba/smb.conf with the following password 123456
can some make a command example please it's very important cos' CHMOD can't give passwd access it only gives read write and excution access. thanks