Debian :: Password Protecting A Directory ?
Dec 16, 2010
I need to make it so that someone who is using my computer, logged in with my user name, is prompted by a window in the GUI if they try to access a certain folder. Logging in with a different user name is not an option, so "chmod"ing, "chown"ing or encryption is out. I picture something similar to what happens when you try to access GParted, Synaptic Package Manager, etc. When you try to access those, a window pops up prompting you for the root password. The reason being is that my wife uses my computer, logged in as me. She doesn't ever log out and log in with the user name I set up for her because it's "inconvenient." She's also not computer savvy whatsoever. Also, my kids run around like maniacs and my 3 (almost 4) year old knows how to click on things and type without knowing what she's doing. This has resulted in some deleted/changed files such as spreadsheets with important financial data and or Cisco configs in them. I would like to leave my computer on without having to watch over it all the time. Ok, I know there are threads in various forums all over the place with people who have asked this question, but nobody ever seems to actually provide an adequate answer or solution to the original poster as far as I can tell. (I have been searching for two hours on Google with no results). I am running Debian Squeeze. I am not necessarily a "beginner" anymore, being that I can move around and do pretty much anything I used to be able to do when I used to run Windows (yuck), but this is definitely something that is a bit over my head.
There are a few requirements, however.
-No creating new users or having to log in as another user
-I do not want to simply "chmod -r", "chmod ###", or "chown" the directory
-I also understand you can encrypt directories, but that's not what I need.
View 14 Replies
ADVERTISEMENT
May 20, 2010
I have a LAMP box which runs on Ubuntu 8.10 on it. I am looking to password protect the web directory, so when a visitor accesses any site within they are prompted for a username/password. Is there a package available?
View 1 Replies
View Related
Jul 13, 2010
I would like to know how can I protect a file with a password in Ubuntu.
View 5 Replies
View Related
May 30, 2011
I want to make an upload directory, where people in the network can upload some files but i want to make sure that they cant delete the whole directory. Is this possible?
View 5 Replies
View Related
Jul 14, 2010
How to change the password of Directory Manager in RED HAT Directory Services through a ldapclient through command line or graphical.
View 1 Replies
View Related
Apr 19, 2010
In the organization where I work, we are working on a project written using PHP. It is a small project. Is there any software which will allow us to protect the code somehow? I am not a developer here so I have got not much idea about it and most of the developers are .Net developers and it allows protecting code and developers need something like that.
View 7 Replies
View Related
Mar 14, 2010
I occasionally have friends using my home computer. They just use my account.There are some files that I want to hide/protect from people using my computer. It's not that I need highly secure encryption, it's more like I want to make sure people don't accidentally see my porn collection if they borrow my computer to check their email.Is there a way to set up a folder such that it's required to enter a password (e.g. the admin password) to see it's content? Probably I could change the owner of the folder, so that I can't access it without password?How do you protect/hide your secret or intimate files?
View 7 Replies
View Related
Jan 8, 2011
It seems that AppArmor can't be effectively used to protect read access to files from users (including roots). It is possible to create a profile for, eg, 'cat', but then the users can use 'less'.Is this true? Should use SELinux instead for this?
View 5 Replies
View Related
Apr 12, 2010
How to protect my /var/www folder in Apache ? When I`m putting wrong url I see the content of /var/www . How to restricted it ? .htaccess ?
View 4 Replies
View Related
Jun 12, 2010
Intrepid Ibex (U8.10) is what I am using presently and I would like to know if there are measures that I can take to prevent my ISP from keeping data that flows between my PC and it.
I am living in Australia, I am wanting to keep the bastards (read: Australian Government) ignorant about what I use my PC for.
Its them storing any of my personal information that I am worried about, but if I can keep my history from them completely, even better...
View 9 Replies
View Related
Nov 26, 2010
Every developer in our organization has access to a single development server and all development ( other than basic experimentation ) is done on this server. This is primarily because there are several interdependent systems and having copies of these systems on each developers machine slows that machine down to the extent of making it completely unusable. All developers access this development server using ssh. Of course this implies that scp will also work as the sshd daemon is running making data vulnerable.
We are currently attempting to secure the code and data on this server from unauthorized copying and transfer.
Currently I am attempting to set up virtual machines on each developer machine that can then be used to connect to the development server. I have created a shell that does nothing but allow for the typing of one command that simply transfers ( ssh login ) the user onto the development server.
I am using virtualBox and ubuntu mini to achieve this.
Problems: The first question is if this is a reasonable way to achieve what I am attempting to. Is there a better way?
The others is more in terms of the set-up: I am attempting to resize the virtualBox console. I tried this by editing grub. Although I am able to resize the screen at start-up the entire screen goes back to ( what I believe is 800x600 ) after the Ubuntu splash screen.
The virualBox seems to have completely messed up the keyboard detection how can I rectify this?
The other is regarding the restricting of shell access I have currently done this by removing access to /bin/ for normal users. Is this secure enough or is there a better way?
View 1 Replies
View Related
Apr 1, 2010
I create music and usually gets sold world wide. I have some distributors that have been able to access a private server and get the new tunes I make to download via ftp. Well that server is getting full and I was trying to create another directory on my website itself.I created the directory. made the ".htaccess" file. Then I tried to make the htpasswd file but my server just keeps saying no command by that name.
View 8 Replies
View Related
Apr 10, 2010
Im running apache2 on a debian webserver and i was wondering how i can password protect a folder in my www directory when someone try to access it from the web.
View 1 Replies
View Related
Jul 20, 2010
Why do I always need to write "su" then my password to extract or copy any file in fedora 11. How to configure so that I always be in my root directory.
View 3 Replies
View Related
Apr 7, 2011
Is it possible to have a password protected ftp directory along with anonomus user access
i mean 2 say
when people visit my ftp link ie
ftp//server name
then can see all the directories like
text
stickers
word files
personal
They can acess all the directories and can see contents but when they go to my personal directory they should be prompted for a password.
View 9 Replies
View Related
Feb 23, 2011
I use ubuntu 10.04 as my OS. Im in the look for a good and simple application in order to password protect a folder or two on my portable hard drive. I really dont need high levels of encryptions but I wouldnt mind if the usage is not so complicated.
View 5 Replies
View Related
Feb 8, 2010
I'm looking for a way to limit:
-memory usage (mb/user)
-cpu usage
-processes (amount and no same process multiply)
-connections (amount of connections (to specific host))
-bandwidth (kbps/user and even owerall for regular users)
-disk usage
-available commands
For every other users than me/root.
View 1 Replies
View Related
Jul 7, 2011
I have a Windows domain with a proxy. I have an account that can use the proxy and the URL that points to the proxy.pac file. this might seem a stupid question but can anyone tell me how do I enter the username and password for my test Windows account so that Debian can authenticate it?
View 1 Replies
View Related
Jan 8, 2010
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 Related
Mar 10, 2010
Consider this stanza for a directory on my Apache server:
<Directory "/var/www/html/mine/wedding">
Options FollowSymLinks
Order allow,deny
Allow from all
AuthType Basic
AuthUserFile "/etc/httpd/htpasswd_file"
Require user username
</Directory>
View 4 Replies
View Related
Oct 26, 2010
I no longer have access to my root desktop. On a session I attempted to change the root username but i apparently assigned it a wrong directory that does not exist. When I rebooted with my new root username, i was instead recognised as a simple user (no root privileges). I tried the console to change to "old" root but root password is not accepted and there is no way to access to sudoer files. it seems that inserting a new username requires root privileges and i am back to square one. Simply logging with old root username and password after restart gives me a blank screen with nothing on it and cannot even reboot.
View 9 Replies
View Related
Apr 9, 2010
Is there anyway to protect or prevent other domains from being discovered from our server ?
I'm talking about those sites that can do a 'whois' lookup on your server and can find out all the other domains that are listed with the server. How do we protect & prevent that info from being leaked ?
I use Codero for hosting & ViaVerio for domain registration info.
View 6 Replies
View Related
Jun 17, 2010
Our Security Admin left the company and did not supply the Debian GUI passwords,o I cannot logon to the server using the GUI. However, I can log in using something like putty.How can I reset the gui passwords.
View 3 Replies
View Related
Jul 31, 2010
I need to compile "/usr/share/zoneinfo/" to a directory in /home/dir/ so I can use it in a program to find and assign a time zone to users (example: UTC +3 or similar) and I need all available cities and town in it. it seems I should be able to do that with "zic" but what I found and tried does not work. I needed examples and I found the only info giving examples comes from: [URL]... Trying the 2 first lines verbatim after creating the "test-tz" directory gives an error that was to be expected although I use the distro used in the example, this is because the directory "australasia" does not exist but directory "Australia" does.
[code]...
I should be able to extract the info mentioned above is correct?
View 1 Replies
View Related
Feb 21, 2011
By default, as far as I know, Debian hashes passwords using a single application of md5 and stores them in /etc/shadow. [EDIT: apparently true for at least some Debian 5.0.x Lenny installations. By default, Debian 6.0.x Squeeze apparently uses SHA-512 with a salt which is a publically known 8 char string. MD-5 is generally agreed to be much too weak to use for cryptographic purposes; SHA-512 is thought to be much stronger. Even better would be to iterate the SHA-512 "hashing" many times. See the last page for how to do this, and how to check that it is working.]
But the md5 digest/hash is said to be insecure; several years ago a double application of sha256 digest / hash was said to be much better. Is there a way to implement that in Debian Squeeze?
View 14 Replies
View Related
Jun 30, 2015
Code: Select all:~$ su
Password: #Typed user password
su: Authentication failure
~$ su
Password: #Typed root password
su: Authentication failure
:~$ sudo su
[Code] ....
The file does open but with a warning in red saying i could harm my system. Had almost got everything configured just as like it, tried adding a custom action (open as administrator) to Thunar and my house of cards collapsed around me.
Debian 8 xfce, single user account, passwords and user names are single characters so it's a given there's no typing error.
Code: Select all:~# cd ..
:/home# cd ..
:/# mkdir -p /root/.local/share/
:/# touch /root/.local/share/recently-used.xbel
:/# exit
exit
:~$ gksu mousepad /etc/apt/sources.list
Got another window prompting me for password, gave "Incorrect password...try again"
View 2 Replies
View Related
Dec 14, 2010
I guess this might sound strange, but, I want to be asked all the time for either my user password or root password. I have searched high and low and all I can find is people wanting to disable asking for password. My guess is a majority of those users are ex-Windows users. I prefer to be asked as I feel it an added security tool. how to enable the system to ask for the user/root password everytime?
View 8 Replies
View Related
May 4, 2011
Want to set root password.i don't have any idea as from where to get a root password. as I have freshly install Ubuntu10. Sudo cmd is working out.How to go in single user mode in Ubuntu.
View 5 Replies
View Related
Sep 21, 2015
I cannot log on. I don't know if this is related, I was setting up for remote desktop, setup a password for the remote session. After rebooting, my normal user and password do not work and my rdp password does not work.
View 13 Replies
View Related
Jun 17, 2010
I have forgot my root password. how to create new password before booting.
View 9 Replies
View Related