Ubuntu Servers :: Add Some Directorys For Private Use (to See How It Works)?
May 14, 2011
I would like to accomplish: 1. Users to have access to their own Share on the server, no one exept the user shall be able to browse, read/write. (sould the user directories be in /home/<username> folder or shall one use another structure?
2. There shall be a public are where all users can browse, read and write. no guests, only users who have accounts!
3. A GroupShare. Users who are members of group Staff many browse, read/write.
4. Add some directorys for private use (to see how it works)
So would this be correct: Create the Directory Structure on the server:
Code:
# mkdir /usr/smbroot
# mkdir /usr/smbroot/users
# mkdir /usr/smbroot/public
# mkdir /usr/smbroot/groups/staff
# mkdir /usr/smbroot/private/fredrik_extended
or shall one use the default user shares /usr/<username>/?
[Code]...
View 1 Replies
ADVERTISEMENT
Aug 18, 2010
i noticed that all files can be seen by another computer if the drive is accessed
can I stop this? can i set a private folder?
View 7 Replies
View Related
Jan 12, 2010
i followed this guide, [URL] a few days ago and set up an sftp server no problem. The user can only see what is in there home folder which is only the examples file which is empty. Today i went to set up a 2nd ftp account for my own private use. I have it set up and all, followed exactly what he said the 2nd time around and my 2nd user is not chroot'd. I can explor the contents of the whole drive.
My fist user that works fine is "ftpuser" and the group is "sftponly" just like in the guide. My 2nd user is named "ftptaylor". Now i did have an ftp server set up with vsftpd where i had the same ftpuser account in a different group, but it was jailed to /home/ftpuser. I cant tell you how i did it, i followed a number of guides untill one worked. But could it be that the guide above does not in face jail the users, but just that my user was already jail'd?
View 2 Replies
View Related
Mar 19, 2010
i want to make a webpage so that only people on my network can see it. how do i do this
View 9 Replies
View Related
Oct 15, 2010
I have installed Ubuntu enterprise cloud on two machines(Cluster and node)and trying to set up an image and test my internal website in private cloud. if there is any documentation or any steps?
View 1 Replies
View Related
Jan 26, 2010
I installed OpenSSH via tasksel and am using Webmin for administration. I'd like to be able to SSH externally and want to setup the necessary public/private keys to use in FileZilla. In Webmin, under Servers > SSH Server I can click 'Host Keys' and see an RSA key. Is this the public or private key for my server? Do I need to copy this into a text file to import it into FileZilla on my remote PC (that I want to connect from)? Is that all that needs to be done (aside from opening the port on my router/firewall)? Or, is there an automated way to set this up via Webmin?
View 1 Replies
View Related
Mar 26, 2010
At the moment we have one SSH server with the private key being on a usb flash drive, and the public key being on the server in authorized_keys2. Now that three more servers are coming online, should we generate new keys, so we have muliple private and public keys (one pair for each server), or use the same two keys to access all the servers
View 5 Replies
View Related
Sep 26, 2010
I have a virtual private server that I am trying to connect to using x11vnc. I ran this through ssh to setup gnome
sudo apt-get install gnome-core
sudo apt-get install gdm
sudo /etc/init.d/gdm start
sudo dpkg-reconfigure xserver-xorg
I later ran sudo apt-get install ubuntu-desktop to see if that would help.
Code:
#cat /etc/issue
Ubuntu 10.04.1 LTS
l
Code:
#sudo startx
Fatal server error:
xf860OpenConsole: Cannot open /dev/tty0 (No such file or directory)
I assume this is because it probably doesn't have a video card.
[Code]...
View 4 Replies
View Related
Aug 8, 2011
I'm a absolute "server- noob" but I've got some experienced with desktop linux and want to build my own file server to access my stuff over the internet. I'm using dropbox for a while now like a cloud drive by simply mounting the "private" folder (which I encrypted with encfs/BoxCrypt) in order to cross-platform use important files. The problem is that Dropbox only provides 2 GB for free and I don't know how secure my data is up there. Moreover I don't wanna always sync all files locally.
I got an intel atom machine standing around and so I want to build my own file server to provide the same or at least a similar service.
1. Which type of server application provides a "network drive" that computers (several users) from the internet can access?
2. What's the best way to encrypt my data and transmission in order to make the system absolutely unattackable/unreadable from outside?
3. Is there a service that can provide a dropbox-style sync mechanism?
4. Which distro should I use? I'd prefer a non-desktop enviroment solution but never had anything to do with it. Is that possible for an average linux user?
I'm aware that this solution won't be very fast because of the limited upload of a standard internet connection but that would be ok! It's more that I want to have the possibiltiy to access all my data as a thin-client anywhere, anytime on any machine and still be on the safe side. I know that this is some kind of contradiction but what would be the best compromise? I know some questions may sound stupid but I really never had anything to do with servers at all in the past...
View 3 Replies
View Related
Feb 8, 2011
Suppose that I am in a private network of computers (say each having ip addresses 192.168.. ). Some of the machines( we have no information regarding their ip, name and no physical access to the servers) in the network are connected to internet and they run an http proxy at some port say 3128. Is there a program which can be run on Windows or Linux which will give me the list of machines(ip addresses and ports if possible) acting as proxy servers?
View 1 Replies
View Related
Aug 17, 2010
i've set up a little mail server ob my private server, using getmail to get the mails from different pop accounts and to send it to maildirs of some virtual users, and i use dovecot as imap server to provide the mails to my clients which are mostly outook 2007. i run getmail as a cronjob which fetches my mails every 2 minutes, anyhow i'd like to run it on demand when a client pushes the send/receive button. is there a way to tell dovecot to run getmail on demand?
View 6 Replies
View Related
Jan 4, 2010
i need an application or shell script that can identify all the directories and files in a certain directory and can rename them to remove any spaces in the filenames.anyone know of anything that can do this?
View 9 Replies
View Related
Sep 4, 2011
I have created 2 users in Opensuse 11.4 but when logged on as either I can access the others directorys and files, how can I encrypted these so a user cannot access the others files.
View 2 Replies
View Related
Jun 17, 2010
A long time ago I came here with a query about comparing directory structures so that I could ensure I had 2 copies of all of my mp3's - 1 in high quality and 1 in portable quality. The original thread is here [url]
Now time has moved on I have begun to encode to flac, and I want to find and delete any mp3's that I now have as flac.
The problem is, the file names are not always identical AND the extensions are different, meaning the command in the previous thread doesn't get me very far.
The music is stored in the format of /home/music/mp3/Artist/Album/ and /home/music/flac/Artist/Album/ if I could just get a list of all the "album" subfolders which are duplicated I could work the rest by hand.
View 2 Replies
View Related
Mar 22, 2010
i have a lot off windows - thumbs.db files om my Debian Apache server.How to remove all (without define all directory's)Is there any way with RM?- or maybe some other smart solution to do it?
View 8 Replies
View Related
Mar 1, 2011
I just installed Apache2 for the first time, on Mint 10 (Ubuntu 10.10) and put PHProxy in /var/www/x
The php page works fine if I access it via www.domain.com/x, and it works both with and without the www when I access it via https.
But if I go to just http://domain.com/x, then it tries to download the php file.
View 2 Replies
View Related
Jun 15, 2011
My ISP provided me with a static IP and I went and bought a domain name with godaddy.com. The issue I'm having now is that I am getting a 403 forbidden error (You don't have permission to access / on this server). The strange part is that when I ssh into my server, and try to go to my website, everything works fine
View 5 Replies
View Related
Feb 22, 2010
I'm trying to setup a server at home so i can work in a LAMP based web app from a Windows 7 laptop. I downloaded Ubuntu Server 9.10 and installed it on one of my desktop PCs. I also installed phpmyadmin and everything seemed fine (tested with lynx) I started noticing the problem when I tried to connect from the laptop to the server in the same LAN. when i tried to access [URL] the browser kept loading forever and nothing appeared. The default [URL] it works" page display just fine I then created a testing.php file containing just <?php phpinfo() ?> in the /var/www directory and it works on the server, but from the laptop it displays the same hanging behaviour, any php code doesnt seem to be properly executed when apache serves other machines.Im guessing its some sort of php configuration causing this, and it might be obvious for ppl with more experience with server setups, but i've never setup a server before and Im having a hard time solving this.
View 1 Replies
View Related
Sep 11, 2010
I've been using curl in a script of mine for a while on Ubuntu 9.10, without problems.
Ubuntu 9.10 got the following curl installed through apt-get:
ii curl 7.19.5-1ubuntu2 Get a file from an HTTP, HTTPS or FTP server
[code]....
View 1 Replies
View Related
Feb 9, 2010
I am having an issue with my server I have setup. I have apache running and can access the files via all other computers on my network via the ip address i have it set to default to the /var/www folder with index.html as the main file. I am however having issues trying to access it from my other IP the one i found at what is my ip. I have even setup a no-ip address to it. I've forwarded port 20 and port 80 i've even given it the default dmz. I disabled the firewall on my router and I checked and my Ubuntu machine doesn't have a firewall whatsoever i can access my outside ip on the local machine and have access the problem i'm having is trying to access it from anywhere but home. [URL]
View 9 Replies
View Related
Aug 20, 2010
when I try to view my root directory of my website.if I go to URL... on my computer, it always loads the "It Works!" page. I deleted the original index.html page, and even replaced it - but if I go to URL... it KEEPS coming up.If I specify the page I want to view, ie.URl... it loads the right file.Is there a setting in the conf file that Im missing?
View 3 Replies
View Related
Jan 10, 2011
I'm having an issue with a BIND server. After a restart, (or randomly, I assume whenever a cache expires,) when I try to resolve any domain I get a "Host yahoo.com not found: 2(SERVFAIL)" Eventually it starts working and works fine till the cache expires again;
[Code]...
View 1 Replies
View Related
Apr 2, 2011
I'm following how to instruction by [url] I cannot get sites working.
View 7 Replies
View Related
May 3, 2010
I am running a website using a Fedora 9/ Apache 2 platform. I have added two new disks to the same server and installed Fedora 12 (I don't have both sets of disks in at the same time either the old ones with F9 or the new ones with F12). Having copied 'all' of the settings over to the new F12 installation it only serves pages on localhost not on the external IP as the F9 version does.
I have now installed F9 (got rid of F12) onto the new disks and copied the settings from the old installation onto the new disks and the server once again serves up pages. The only hardware changes are the disks being popped in and out between restarts as I swap between the old and new installations.
Hopefully there is some obvious (to someone) difference between F12 and F9 that would account for this.I have messed with settings for a while now and am almost at the point of paying for RHEL to see if that does the job.
View 4 Replies
View Related
May 24, 2010
I recently moved from Ubuntu Desktop to Ubuntu Server. I have a Dell D600 acting as a three prong firewall. I use a Netgear FA120 USB NIC for the third prong. After converting to Server, the NIC detects as Eth1. I'm able to configure an IP, but the NIC never sends or receives packets. The same NIC works great in Ubuntu Desktop. Dmesg never shows the NIC being ready.
View 3 Replies
View Related
Jul 10, 2010
when I connect to Webmin using [URL], I cannot get the File Manager Java applet to work. If I connect from within my LAN using [URL], the applet works.
View 9 Replies
View Related
Aug 24, 2010
I have a laptop and a Desktop both systems only used by myself behind a router. Ubuntu Lucid on both and 64 bit systems. I have installed NFS with the desktop as server and Laptop as client. The NFS only works with the firewalls (UFW) disabled on both machines. My current setup on the desktop ufw is
[Code]...
View 9 Replies
View Related
Sep 29, 2010
We are trying to migrate from a centos server to ubuntu server, but we have some problems with an application called Topincs [url].
The installation is quite simple and I did it several time (but with ubuntu it's the first time).
Probably there are some parameters to set that I don't know, but even if the installation works fine and I can see the home page, the application doesn't work because RewriteRules aren't applied.
First I tried to ensure that mod_rewrite works fine and I found a weird situation: rewriterules work if they are in .htaccess but don't work if they are directly in http.conf.
View 4 Replies
View Related
Apr 16, 2011
I have keys set up on ubuntu server 10.10 When I issue "It failes for publickey"
Code:
ssh -i ~/.ssh/id_rsa USERNAME@MYSITE -v
Code:
skip...
debug1: Authentications that can continue: publickey,password
debug1: Next authentication method: publickey
[Code]....
View 2 Replies
View Related
May 9, 2011
I have written a simple backup script, and added it to CronTab, but it doesnt execute at all. Here is my script: [URL]...And my CronTab entry: 0 */2 * * * root /home/server/Scripts/backup.sh
View 6 Replies
View Related