Ubuntu Servers :: Setup A Server To Where It Does Not Give A Password Prompt To Access A Shared Folder
Nov 28, 2010How do I set up a server to where it does not give a password prompt to access a shared folder?
View 1 RepliesHow do I set up a server to where it does not give a password prompt to access a shared folder?
View 1 RepliesI have created a shared folder via nautilus. I can not access it, because it asks me for user name and password again and again. I'm sure both username and password are exactly right. But I can not access the folder. Only when I check "Allow guest user access" it will allow me to access my data, Which is not secure enough for me.
View 6 Replies View RelatedI set up a servber on my local machine, & also PHp - Both working fine.I'm trying to load up MYSQL i have installed it, & *can* start/stop the server. however if I do anything else with it, I get this error :-
Quote:
root@gordon-desktop:~# sudo mysqladmin -u root -h localhost password MYPASSWORD
mysqladmin: connect to server at 'localhost' failed
error: 'Access denied for user 'root'@'localhost' (using password: NO)'
Query :-
1) How do I know MYSQL is actually active ? (apart from the message it says that its statrted (or stopped).
2) Is there a way to
a) Find out the usernames that are recorded on the MYSQL server ?
b) set / RESET the 'root' username (I know MYSQL root user is different to PC root user)
c) anything else I can do on the PHP / website code to see if MYSQL is working
(as yet, no tables / databases etc have been set up - as I can't get past this error message - I get the same error when setting up a database.)
Ps I did allow my usermname (when logged in to ubuntu) to edit / create files in the /usr/www/ directory (but it is still OWNED by 'root' - that directory)
Heres what I have and what I am looking to do. I have a PC with a single core 2 Ghz Pentium processor and 1 gb of RAM. Its pretty limited in what it can do and run. It has two physical HDDs one a 250 GB SATA and the other a 160GB SATA. One the two hard drives I have the following partition structure:
160 GB HDD
28 GB Ubuntu OS Partition
2 GB Swap Partition
130 GB Free Partition (EXT4 but empty)
250 GB HDD
250 GB Free Partition (EXT4 but empty)
What I would like to do is the following:
1. Strip down Ubuntu 10.04 to where only the bare minimums run and system resources (Since they are so scarce on this system anyway) be readily available
2. Have the system run solely as a Samba File server for all other computers in the house to read and write to
3. Allow other "known" systems to access the shared folder without authentication, but any system with an unknown name, should have to authenticate first
4. Have the 130 GB from HDA and 250 GB from HDB, be presented as one network drive of 380 GB as opposed to two of 130 and 250 gb respectively
Are these things that are possible for a person of mid level understanding of Linux? How would one set about achieving all of the above goals?
I installed samba server in my external HDD. But it is not shown in system ----> Administration. Is there any problem. Then How to give permission to access home folder.
View 3 Replies View RelatedI want to give a mounted folder /mnt/folder access so that 'root and the group test have read write access' and all other users have read access I understand most of the chmod command, the users groups world etc but where in the 'command' do you specify which 'group' or 'user' you are giving the read / write access to? in all the tutorials i've seen no where do you specify the actual group or user.
View 3 Replies View RelatedI have been having off and on issues with my samba file shares. I am sharing a NTFS formated hard drive where the mount point is in my home directory, as well as a printer connected via USB. I am to the point where printing works (using it as an ipp print share, samba is configured for it, but I don't know if it works or not), and I can access the shared folder from Windows, but I can't access the shared folder from any Ubuntu machine. I get the error:
[Code]....
- I have ubuntu installed, and win7 is installed using vbox.
- I know how to set shared folder, so win7 can access the folder in ubuntu.
- I need to have an access to certain folder in win7 from ubuntu.
How can I do that?It is not about samba, right?
I've got folder /srv/www/site1 that's owned by www-data:www-data (Apache). Now I need to give FTPuser1:ftpusers r/w access to the same folder, but all my attempts are gone bad. How should I exactly do it?
View 1 Replies View RelatedI am attempting to make a shared folder for people that VPN into the network. This folder needs to be accessible to windows and mac machines. So far I have the VPN through ppptd working. I just don't know how to make a folder. I feel like this should be fairly easy. I am using Lucid Lynx server edition.
View 1 Replies View RelatedHow to give a permission to access any folder and file
View 2 Replies View RelatedI have created vsftp server with grop of users and they can access only to /home/ftp-folder file which i made for them..nw if i apply read rite privilages to this folder then these previlages get by users in the group obvious...bt wot i want z if i creat a folder in /home directory i.e /home/test and i want the particular user in the group can have 777 access and other users in the grop coud nt access that folder..
how to do it...
I'm a new user for oracle,tried to install oracle 10g on redhat linux 5 but gettinh the same error message. response/ runInstaller [oracle2@localhost database_10201]$ sh runInstaller_runInstaller: line 54: /tmp/database_10201/install/.oui: Permission denied_
how to give full set of permisions to an user in linux to access a folder?
What is the command I need to create a new user and give the user only permission to a single folder via ftp?
View 3 Replies View RelatedI installed ubuntu in a desktop pc and without configuring anything i had my network working: 1 windows 7 pc which is sharing a folder with other 3 windows pc and with my ubuntu pc. Yesterday as every day before i entered into win7 shared folder from ubuntu but it asked me for a password which was not set up in win7 pc.
View 5 Replies View Relatedis there a way to give an application (controlaula) write access to a folder /var/lib/monitorprofe and files on that folder.
View 3 Replies View RelatedI want to have /boot as an ext2 (I don't need journaling and I might want to undelete something) and all other partitions in an LVM.When the server starts it will prompt me for the LVM password. I would like to be able to contact the server using SSH (or using another secure method) and tell the password. Since /usr/sbin and all the other partitions are inside the LVM I guess I have a problem?
Is it possible to setup something like this? The SSH session for the LVM authentication does not have to be a daemon. It can be something which just sits and waits until I connect and input the password. And then the "real" SSH deamon kicks in.
I'm using vsftpd to setup an ftp server, but whenever i attempt to connect, it asks me for a user name ( which i enter and it accepts) but it then asks for a password, which i am clueless as to what it is. I'm certain that i havent specified a password in any config file. Is there a default password i should know about?
View 1 Replies View RelatedI have two computers running for daily use. One is called 'server' and it is powered by Ubuntu 10.04. The other one is called 'workstation' and it runs on Windows 7 professional. On workstation I have created a folder 'Share', which I made shared for 'everybody'. Also I have installed smbclient and smbfs. With the Google I found this link: [URL] But there are errors on that page that have undermined my confidence. How do I access this shared folder?
View 3 Replies View RelatedApache by defaults points to /var/www/eachdomain. I need to be able to give users ftp access to /var/www/specific domains.
It seems that if I change the owner of /var/www/specificdomains/ to the user in question, then www:data no longer owns the directory and Apache starts to have issues..
What's the best way to set this such that I can allow users to FTP into specific directories, and still have www:data own them? I'm currently using vsftp, but that can easily change.
Everything was working well between my Windows 7 shares and all three of my Ubuntu machines. I just replaced my buggy belkin router with a Netgear one and now none of the Ubuntu machines can open my windows box through Nautilus. All three (one 10.04, 2 10.10) can see the Windows box but when I click on it I get the never ending password prompts. My Mac can access the Windows 7 machine fine, and all three Ubuntu boxes can access the shares with CIFS/autofs. I just can't browse the available shares using Places->Network. I'm lead to believe something on Win 7 reset when I changed the router but after two days I'm at a loss as to what it could be.
View 3 Replies View RelatedBeen using Ubuntu now almost 1 year and love it but I'm still mostly lost so I need someone to explain in great detail how to be able to access the My Documents folder on my LAN XP machine. I've been up and working fine for 6 or 8 months but all of the sudden (maybe it was an update package?) I get the following error message, after a long delay, when trying to access the shared folder:
Could not open location 'smb://office/my%20documents/'Failed to mount Windows share.I have set an icon on the top panel mapped to the XP machine and launched by launcher.
I've set up a laptop with Ubuntu 10.04 32bit and shared specific folders on my Win7 PC. Everything should work okay as they both can see each other, but when I try on Ubuntu to access the Win7 shared folder it asks me for username and password. In Win7 I'm always logged in as Administrator with no password set and Ubuntu won't let me connect to it leaving the password blank. It just keeps asking for my username/password over and over again without any kind of error message. It doesn't come up with 'access denied' or anything, it just keeps refreshing the username/password login/connect gui so I can't say which side of the fence the problem is occurring on though I suspect it's on the Ubuntu side.
View 1 Replies View RelatedI have been reading guides for a while now and so far have not found an exact solution to my problem.
I want a linux user (dave) to be able to switch to another account (patrol) without a password prompt, but dave must still be denied access to root. Patrol must also be denied root access.
In the sudoers file
Code:
User_Alias Patrol=dave,john
root ALL=(ALL) ALL
Patrol ALL=(patrol) NOPSSWD: ALL
[Code].....
Installed Fedora 10 on my Downloader (just a name for the pc as its mainly used for torrent downloading) computer. But I cant access the fedora shared folder from my windows XP. Accessing XP shared folders from F10 is fine. I have another 2 computer where I have installed Ubuntu 8.10. I have no problem accessing either of the Ubuntu system from my XP computer. The F10 computer comes up fine on my Workgroup list of xp. I double click to go into the F10, a login window pops up and askes for username and password. I used the normal username and root / password to log in. But it keeps popping up for password again and again. BTW, Recently I Installed Win7 Beta on the Windows computer and Surprisingly I can access the Fedora 10 computer shared folder just fine from Win7. But I need to get it working under windows XP.
Here is my smb.conf file
Code:
# Global Settings
[global]
# Network Related Options
# workgroup = NT-Domain-Name or Workgroup-Name, e.g.: MIDEARTH
# server string is the equivalent of the NT Description field netbios name can be used to specify a server name not tied to the hostname. Interfaces lets you configure Samba to use multiple interfaces. If you have multiple network interfaces then you can list the ones. You want to listen on (never omit localhost). Hosts Allow/Hosts Deny lets you restrict who can connect, and you can specify it as a per share option as well
workgroup = THEMATRIX
server string = Samba Server Version %v
netbios name = MYSERVER
;interfaces = lo eth0 192.168.12.2/24 192.168.13.2/24
;hosts allow = 127. 192.168.12. 192.168.13 .....
I've installed Fedora 12 on my laptop and when I share any folder and try to access it over the network using smb://<ip-address/<folder> it says "file or folder smb://..... does not exist"
Now if I simply try to access - smb://<ip-address> on the file browser it shows me shared folders but when I double click I get the same error.
I've SELinux disable, Firewall disable but I'm still not able to access these folders.
I did the exactly same samba configuration on openSUSE and I'm able to access the folder but not with Fedora 12.
I'm Using CentOS5.4 and I don't know how to access a windows shared folder over the network
View 1 Replies View RelatedI've a question about a connection to a shared folder on a pc behind an ubuntu 10.04 server. The Ubuntu machine itself is behind a Cisco router. Cisco router has a nat 1-to-1 to Ubuntu machine with the static public ip x.y.x.z The Ubuntu machine has one only interfaces eth0 bridged with a virtual tap0 in the virtual br0 interface. This because on the Ubuntu machine is running OpenVPN in bridged mode. I want to reach a private share on the host 192.168.100.2 using the x.y.w.z static IP. Is that possibile? Ubuntu machine has no firewall running (I was not able to run shorewall firewall for now).
View 1 Replies View RelatedI want to set up moodle and need to give my computer some capability to act as a server. I am following the steps at [URL] although my question is not really related to moodle. Here is the problem: setting everything up to make my computer accessible from outside has worked so far. I got myself a static IP address using a dynamic dns server and can ssh into my computer from any other computer connected to the www. So,
[Code]....
I have a Linux Box running Fedora 13, it has Samba installed, and I have configured it, I also have a Windoze 7 PC, I want to be able to access the Windoze PC's files from my Linux Box, and vice versa, but when I try to open the Windoze PC in the network on my Linux Box, it asks for my Username and Password, I enter them, the box goes away then pops back up asking for them again... and on the Windoze PC, I find my Linux on the network, open it, it asks for my username and password, I enter them, and it lets me in, but then when I try opening my shared folder, it gives me: "You do not have permission to access \LINUX Shared Folder. Contact your network administrator to request access".
View 1 Replies View Related