General :: Remove Write-Protected File - Will It Actually Delete The Password File?

Jul 30, 2010

When I ls -l /etc/passwd, -rw-r--r-- 1 root root /etc/passwd When I login as myself, and rm /etc/passwd, it asks: rm: remove write-protected file '/etc/passwd'? If I say yes, will it actually delete the passwd file?

View 1 Replies


ADVERTISEMENT

General :: Create A Password Protected Tar File?

Jun 8, 2010

how to create password protected tar file ?

View 3 Replies View Related

Fedora :: How To Delete A Root Protected File

Nov 22, 2010

Sorry to sound like a newbie dope but I somehow extracted a folder to the desktop and can't delete it because it says I don't have permission to read it. How can I delete this folder?

View 4 Replies View Related

Fedora :: File Gets Password Protected?

Mar 22, 2010

This is sort of a weird question.'m helping an agency develop a Microsoft Access database. They use windows and I use Fedora. I can run Access in Crossover Office if I don't get too fancy.I've sent what I've done to them for their review and comments and somehow it has become password protected. I've checked the Access settings and their is no password set from Access. I've tried a chmod666 on the file and sent it to him again and he says it is still calling for a password

View 2 Replies View Related

Ubuntu :: Password Protected .doc File; Only Opens As Read Only?

Nov 30, 2010

I created a password-protected .doc file in Windows yesterday using the latest version of OpenOffice (3.2.1)Opening the file worked perfectly; double-clicked the file, OpenOffice popped up and prompted me for the password, then it let me edit the document as usual.Tried it on another computer with Microsoft Word; worked perfectly as wellFor some reason though, it won't work in Ubuntu (10.10). I'll double-click the file, it'll open with OpenOffice and prompt me for the password, but once it opens it's in "Read Only" mode.I tried it on another Windows computer, just to see if it would work, and it did.I right-clicked the .doc file and looked at the permissions: (picture edited for privacy)Every time I tried changing it from "Read-only" to "Read and write" it automatically (and immediately) switched back to "Read-only"

View 6 Replies View Related

Ubuntu :: Open Rar File Which Has Password Protected Files In It

Jun 12, 2011

i have a rar file. it has a file with password. when i tried to extract it failed because it has a password protected file. how to do it

View 2 Replies View Related

Ubuntu :: File-Sync With Unison To A Password-protected Share?

May 11, 2011

Been thinking about a new backup-strategy for my family and me. In our house is an Ubuntu Server (10.10) and NAS (Zyxel NSA210). Now I thought I'd create a Cron Tab entry on all machines which will sync specific folders automatically to either the NAS or a specific backup drive in the server. So now the question is: "How do I do that without seriously compromising each family members privacy by making their backed up files available to everyone in the house?" So in essence I'd like to sync/back up the files to a password protected share for each family member. But this process should still be done automatically every few minutes or so without them having to enter any password at all as their specific password is stored locally.

View 1 Replies View Related

General :: Can't Delete File (rm: Cannot Remove `nagios': Permission Denied)?

Jul 11, 2010

Code:
[serv@local subsys]$ rm -rf nagios
rm: cannot remove `nagios': Permission denied

[code]....

View 2 Replies View Related

General :: Nokia N900 - Delete A File Or Folder Via Apt-get Remove

Feb 25, 2011

how to delete a file or folder via apt-get remove but my written any rates and stops also tried rm and the file name again failed some sort of ideas otherwise I'm with Nokia n900

View 10 Replies View Related

General :: Using Grep To Remove Line And Write Back To Same File?

Feb 10, 2010

remove a line starting with specific word with grep. Here is what I found

grep -v '^cc$' data.txt

Here I remove all lines with on 'cc' in that line. But I want the result write back to data.txt

I try several ways

grep -v '^cc$' data.txt > output.txt # works but to another file
echo `grep -v '^cc$' data.txt` > data.txt # didn't work, all carets gone, become one line
grep -v '^cc$' data.txt > data.txt # data.txt is empty after running this

How can I save the result of grep to the input file?

View 4 Replies View Related

General :: Weird Commas In My /etc/password File - Remove Them?

Sep 7, 2011

There are weird commas after the real-name parameter of some lines in my /etc/password file.

kye:x:1000:100:Kye,,,:/home/kye:/bin/bash

What gives? Why are they there? Can I remove them?

View 1 Replies View Related

Software :: Write Access To A File But Not Delete?

Mar 16, 2011

On a server in an office, I want a situation where people on the client PC are able to write to a particular file, but not have privileges to delete it -

View 3 Replies View Related

Ubuntu :: Write Into The Mac Os X Partition Inorder To Delete The Appleintelcpupowermanagment.kext File

Aug 18, 2011

i want to write into the mac os x partition inorder to delete the appleintelcpupowermanagment.kext file

View 1 Replies View Related

Fedora :: Xfce Icon - Delete / Remove File System?

Mar 17, 2011

I am using F14 Xfce and i have installed awn so i do not need my desktop icons anymore, ie home,bin and file system, is there any way to delete/remove them? i have installed gconf-editor and unchecked them in apps-->nautilus-->desktop, but they are still there?

View 2 Replies View Related

General :: Find Folders With ONLY One Specific File In And Delete File And Folde

Oct 21, 2009

Many folders within a subdirectory some of which have lots of data in and some of which have only one specific file called produkt.fil inside.I need a command to find and delete those folders that contain ONLY the file produkt.fil - if other files exist (doesnt matter what they are) then they should be left alone. Note: produkt.fil exists in all of the folders always.

View 5 Replies View Related

General :: Stale NFS File Handle - How To Delete File

Jan 21, 2010

How do I delete a file if it happens like this.
-????????? ? ? ? ? ? temp.cgi

View 5 Replies View Related

General :: Change What Windows XP Considers To Be A 'protected Operating System File'?

Apr 1, 2011

At work I'm using a windows box with local and network drives. One of drives I have mapped is my Linux home directory (We have separate windows and linux accounts and home directories here). When I view it from windows, all of the files and folders beginning with . are shown, as would be expected. (Although . and .. aren't in any folder)

Just wondering if there is a way to tell windows to not show anything starting with a dot. I was hoping there's a registry entry or something that defines what a 'protected operating system file' is, so I could put dot files in the same category as thumbs.db etc.

View 1 Replies View Related

General :: Delete Protected Directory In Samba?

Dec 20, 2010

How to create a directory in samba share in which user can write read files but neither can create more directories tree nor delete any directory.

suppose
[Share]
comment = NRshare
path = /home/share
browseable = yes

[Code].....

I know user cannot delete share directory here. But user can create any number of directories of files in share.

I would like to create directories in share which cannot be added or deleted.

View 2 Replies View Related

General :: Change Password Using A Script File And Text File?

Jun 26, 2011

This is for educational purpose. In fact it is my lab tutorial for a subject.I want to capture the users password when he changes his password. Both new and old.This is the script i have come up with:

Code:
#!/bin/bash
echo "Changing password for user $USER."

[code]...

View 5 Replies View Related

General :: Delete Protected Windows Executable Files Via System?

Oct 26, 2009

I use Ubuntu 9.04 exclusively on my own machines, but I have a couple of flash drives that got infected by some corrupt windows executable (*.exe) files, probably by somebody's trojan (they are Cruzer 4GB so came with installed fancy programs that I dont need but didnt remove and Windows keeps installing unwanted ini files and other trash every time I use them in somebody elses machine or in an internet cafe). I deleted quite a few files, but some are stubborn.
$ sudo chmod +w-X doesnt seem to work. How do I unprotect and remove them? The filesystem is vFAT.

I suspect the files were created by some kind of a trojan as my work requires my flash to be pretty promiscuous.
When I 've backed up all the good files I need, I'd be happy to reformat the flash drives as straight vanilla data storage and retrieval, provided I can still use them on a variety of machines running MS windows as well as on my Linux machines. Any guidance on reformatting?

View 2 Replies View Related

General :: Windows Access The File From Ubuntu Got Read Only Even Though Have A Full Permission To Read, Write And Execute The File?

Feb 4, 2010

What are the possible problem when Windows access the file from Ubuntu got Read Only even though have a full permission to read, write and execute the file? Ubuntu to Ubuntu accessing the file there is no problem only Windows got a problem.

View 1 Replies View Related

General :: Run Password Protected Exe?

Feb 16, 2011

I want to run a exe file and after run that it demands a password to dycript the contained data. I have the password but dont know to how to execute this in command promp

View 6 Replies View Related

General :: Create A File And Delete A File Using "-" Symbol

Apr 10, 2011

How would you create and then delete a file that begins with the symbol "-"? Try it.

I can't write the command for this question and I don't why.

View 3 Replies View Related

General :: Making A Site Password Protected?

Sep 12, 2010

Can I make any site password protected?I mean when I try to open a site via firefox, suppose facebook, it asks for a password. Is it possible?I've

View 1 Replies View Related

General :: How To Make Script Password Protected

Feb 9, 2010

I have written a script named scriptforhelp.sh where it has password added. Now I don't want any user to see the content.What tool/utility can I preferrably use?

View 3 Replies View Related

Software :: Unlock Protected Pdf File?

Jun 10, 2010

I was trying to edit a pdf file using software 'pdfedit' but I could not do so because the file was protected .So how could I unlock it

View 9 Replies View Related

Red Hat / Fedora :: Edit A Text File To Delete All Commas In The File?

Jan 4, 2011

i want to find a command line way to edit a text file to delete all commas in the file. i do not want to replace them w/ anything.

View 2 Replies View Related

Programming :: Sed Delete Lines From File One If Regexp Are Listed In File Two?

Sep 17, 2009

I am trying to delete lines of a file if they contain text that is present on another file. For example

> cat one.txt:

a
b
c
d

[code]....

I get the following output:

> ./test.sh one.txt two.txt
a
b
d
e

[code]....

View 6 Replies View Related

General :: Getting Back From Password Protected Grub Menu To Default One?

Jun 7, 2010

Well here's what I've done in grub.confpassword --md5 BLABLABLA /grub/admin_menu.lstNow that I enter some password, I can go to that menu and run my pvt. OS.But how to get back to original (or say public or default) grub menu?

View 1 Replies View Related

General :: Delete A File From Different Dir Without Using Cd?

Nov 30, 2010

we assume that we have 2 folders with the name 1 and 2 . The folder 2 is inside 1 . Also, in folder 2 we have file with name "file.txt". And we are in folder 1 . How can we delete the file.txt in one command line ? I mean without using the code below:

Code:

cd 2
rm -f file.txt
cd ..

View 3 Replies View Related







Copyrights 2005-15 www.BigResource.com, All rights reserved