Ubuntu :: Put A Password On A File?
Dec 3, 2010Is there anyway to put a password on a file that is not the user password or the superuser password? If so, how?
View 1 RepliesIs there anyway to put a password on a file that is not the user password or the superuser password? If so, how?
View 1 RepliesI m Trying to get vsftpd usergroups to work i accidentally moved a file called passwd from /etc/vsftpd/ to /etc/, resulting in my root access is destroyed! how to restore the passwd file so i can keep working, or do i have to re-install the entire box?
View 4 Replies View RelatedWhen 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 View RelatedThis 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]...
hello i am trying to change my password, but when i type in the new password i get this:"The password is longer than 8 characters. On some systems, this can cause problems. You can truncate the password to 8 characters, or leave it as it is."my question is what kind of problem could i get and how can i change so i have to log in every time i start the computer?
View 9 Replies View RelatedI have set up an Ubuntu box at home as a server (though using the desktop version as I wanted a GUI - may at some point use it for plugging a TV into etc to play meda), but want to be able to remote access files on it when away from home.
I have set up with a DYNDNS account and know how to route web requests to the server machine, but want to know the best way to have it share files so that they are accessible (upload and download) via a web browser. Ideally, it would run some sort of file manager-like interface, but as long as I can upload and download files, it doesn't matter if it is a bit rough. I have a folder set up as a Samba share, and just want it to access that (and its subfolders).
The only other thing I would need from it would be that it requires a password before it lets someone do anything, as it will be open to the wild (while I probably won't use port 80, open is still open...)
file roller no gzip bz2 password supported?
View 2 Replies View Relatedtell me a way to password protect the HOSTS file in ubuntu so that when i block certain websites the other person cannot unblock them.
IMP: i donot want the HOSTS file to be protected by 'root' password as the other person knows it.
I have taken the plunge of trying Ubuntu after thinking about it for a while and I have to say I like what I see so far, it is fast and runs smooth. One thing I am having trouble with is updating drivers or software, I tried to run an app on facebook and I was told I would have to install flash. I have look and found a place to get the driver but I am having trouble downloading it. when click on the link at Adobe I get the following Adobe flash plugin Available from "maverick.partner" source Click on to use the source (which I did) and I am asked for a password? How do I get the password to download and install this file?
View 3 Replies View RelatedI just wanted to know if there is any possibility to decrypt a encrypted file with AES crypto without knowing the password.
View 1 Replies View RelatedWhat's the easiest way to make a given file/folder (or multiple files) require a password upon opening moving copying etc, without encrypting the file/archive. The password should at least be manually defined upon establishing it, and preferably it could be modified.
I'm aware of the community belief that this is redundant. I don't want to know how to start from scratch a different way, or why I should or shouldn't do this or that. Just how to password lock a file/folder regardless of your feelings on the matter lol.
I want to allow ssh only to user with rsa key file and also after authenticate the rsa key it will ask user login password, is it possible to add this type of duel security on linux box.
View 4 Replies View RelatedI'm new to Linux altogether. I installed World of Warcraft and have it running, but my framerates are low. I have it set to run in OpenGL already, so I figured I'd try to update my graphics driver. I downloaded the driver and it's a .run file. I have it set to run as an executable. When I run the file, I get a window that asks for my password. I input my password and press enter. Shortly, I get a window that says I need to run this file as super user. I tried to go into the command line and I typed "sudo home/nicholas/downloads/ati-driver-installer-10-8-x86.x86_64.run". I put in my password and Konsole tells me "run: command not found". How would I run this file in Konsole using super user?
View 2 Replies View RelatedI was wondering if it was possible within Ubuntu to:
a) Make a shared folder to the extent that people can view it but to access/open it requires a password.
b) Set that folder to have a set size (quota) so that people putting files onto the store/folder don't flood my computer with video/music.
I am currently at Loughborough University and am on their LAN as I type.So guys/gals are there any programs on the synaptic that do such a job or does Ubuntu already have an inbuilt way of doing that.
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 Relatedi 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 RelatedI remember that some time ago I found a guide on the Ubuntu website about adding samba shares to mount at boot via /etc/fstab. The guide also mentioned using a credentials file to store the username and password.
However, the password was encrypted (in md5 I think) and it could not be read directly, but it still worked with fstab mount. If I remember correctly, the file contents were similar to this:
Code:
useraname = user
password = --md5
where was replaced by the encoded password. All was done in terminal. Recently I changed computers, and re-installed Ubuntu, but I forgot to save that file so I am not sure about the contents. I would like to know how to do this again, but I can't find the guide anymore. Does anyone know how to do this? Storing the password in plain text in file readable only by root is not acceptable because it can be read by someone mounting the drive from other operating system, and the share cannot be mounted/unmounted by regular users (which is possible with the md5 encrypted password).
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 RelatedThis 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 RelatedI'm using a command in Linux which generates an eight character random password. the problem is when i execute the command, the generated password have shown and isn't store anywhere i can use.How can I store this password into a file or pipe the command to save the password into desired file directly?
[code]...
I get lpr from debian package center. I compile it ,and it works good on my computer but when transplantation it to my dev-board
i get this :
[root@loo:/]# lpd
lpd: 'lp' uid not in password file
[root@loo:/]# id lp
uid=4(lp) gid=7(lp) groups=7(lp)
[root@loo:/]# id root
uid=0(root) gid=0(root) groups=0(root)
but in the /etc/group, /etc/passwd, /etc/shadow which has lp
and /etc/group,/etc/passwd ,/etc/shadow was copied from my computer
Is there a program that allows me to password lock a single file or folder?
View 5 Replies View RelatedI have one of those ultra reliable Ubuntu servers in the corner that I never have to logon to because it never needs anything. I needed to check up on it today and my root password would not work. I am absolutely sure I did not forget my password and because I am the only Linux guy in the office I am sure some nimrod didn't get his fingers in the machine. I attempted to enter GRUB recovery mode but when I hit ESC it says something about no disk and goes into the booting process. I attempted to use a desktop version live CD, but the file structure is unreadable, I assume due to the security of the server system. Before I rebooted it the server worked fine, Apache and PHP were working away. Now the whole thing is a 50Lb boat anchor. How can I reset the password when I cannot enter GRUB menu or use a live CD?
View 9 Replies View RelatedHow to recover a lost password from a rar file?
View 1 Replies View RelatedI know there are permissions one can assign to certain files and folders, but this won't come in handy if you need quick access to a file -and as User I often do- and don't want to slow down getting root permissions. You know, just open-close-move on. Is there a way, as user, to assign a password to a file or a folder? It would make the job a lot easier and more efficient.
View 9 Replies View RelatedI run:
Linux 2.6.27.48-0.3-pae i686
openSUSE 11.1
KDE 3.5.10
When I attempt to determine who's in the samba database or enter a new member in the file I get the following: No builtin nor plugin backend for tbdsam found PANIC (pid 8201): pdb_get_methods_reload: failed to get pdb methods for backend tbdsam
[Code]....
I attempted to upgrade from the software.opensuse.org website with samba-3.60-10.1.i586.rpm. I get a message: Nothing provides cifs-utils needed by samba-client-3.60-10.1.i586.rpm. So I could not upgrade. There are other upgrades on the site but they are not available for some reason. What is an appropriate upgrade? Is upgrading the solution? If not then what?
I made a shell backup script that uses Rsync and I am trying to get rid of the password prompt because it will use a CRON to run. I have set my variable in my shell script at:
PASSWORD_FILE=rsync_password
And the password in that file only takes up 1 line.
However when I run (ignore $DESTINATION)
rsync -aRvz tmp $DESTINATION --password-file=$PASSWORD_FILE
It still gives me the prompt. How can I accomplish this? I cannot allow a prompt and I do not want to have to use keys.
So in an environment where I have 40+ sets of completely unique sets of logon credentials. The only way I've been able to manage this is by keeping them in a hidden and heavily encrypted text file in my home dir.Would like to hear alternatives to this approach if there are any, BTW. Right now I have a script that automates the process of un-encrypting the file, launching an editor and then clean-up with shred -u after editing and re-encrypting.
What bugs me is the interim where I have the file in an un-encrypted state on my drive. It doesn't seem necessary. I have a view script that allows me to see what's in the file without saving it to the drive.
how to create password protected tar file ?
View 3 Replies View RelatedToday i was going through some of security guides written on linux .Under shadow file security following points were mentioned.1)The encrypted password stored under /etc/shadow file should have more than 14-25 characters.2)Usernames in shadow file must satisfy to all the same rules as usernames in /etc/passwd.3)password for application Username should display * if username is not locked.4)If a user is locked it should be displayed as ! as the first character in second field of shadow file.
Confusion for point 1 and 2:Now i m confused as why the encrypted password should be more than 14-25 characters.Also what rules to satisfy How to check it?Confusion for point 3 and 4:There are lot of users with * as second field i guess they are not locked but according to 4th point there are lot of users with ! as first characters.How would i check whether they are actually locked or not.I m posting the output of /etc/shadow and /etc/passwd files for the account.