Fedora Servers :: Command Can Run In Terminal To Help Assign Permissions?
Jan 4, 2009
Im running samba on fedora core 7, im abit new to the server part of fedora, i set up samba and it runs well, only issue i have now is resolving permissions( User Rights)i have a shared folder which has alot of files and many subfolders in it, the files and folders in this shared foldr were copied from our old Novell Server through samba, i need to assign permissions to this folder where by a defined usergroup can have full read and write permissions to all the files and folders and sub-folders in the shared folder. i tried doing it in GUI but i realized there were over 1000 subfolders.is there a command i can run in the Terminal to help me assign the permissions?
View 1 Replies
ADVERTISEMENT
Jul 15, 2011
I have a directory '/usr/local/games/quake4'. I want permissions for the directory, along with everything in it set to:
Owner: Create and delete files
Group: Access files
Others: Access files
What would I type in terminal to make this happen?
View 14 Replies
View Related
Sep 10, 2010
I can print a specific line of a file with:$ sed -n '20p' myFileHow can I store it in a variable (in a shell script)?(I wasn't successful with "myVar=sed -n '20p' myFile" for example)
View 2 Replies
View Related
Feb 17, 2009
Just Installed Fedora 10 on Dell PowerEdge 2950. Installation went fine. Problem is I cannot Assign a Ip address to eth0. Service "NetworkManager " dies on its own "ifconfig eth0 192168.0.8/24" works though.
View 6 Replies
View Related
Jan 24, 2009
Is there a way to use dhcpd to assign vpn clients their IP and configuration?
I'd like to have dhcpd listen on br0 (already set as 10.0.0.1) so that devices conecting through eth1 and tap0 (should I be using tun?) will get the same address pool.
View 7 Replies
View Related
Apr 6, 2010
can assign permissions on a partition with ntfs as the file system. I am aware of editing fstab and setting some basic permissions. What I am clumsily dictating is can you edit permissions of individual folders for specific users in Linux. I have already tried chmod and such
etc something similar to this
Code:
[user@computername user]$ sudo chmod 600 directory
View 4 Replies
View Related
Feb 1, 2011
Now I have set up a terminal server at work, with Ubuntu 10.04LTS and Free NX terminal server. All works great, over all expectations. But I have some file permission problems. In the home folder I have mad a folder where files that all users should have full access to is put. The problem is that when a user puts a file there, only that user have full access to that file, other users only have read rights. How can I make it so that all files put in this folder have full rights for members in the group "staff"?
View 3 Replies
View Related
May 17, 2011
I need to run a script that I build to build a word list. Essentially what it does is run through a base list and expands that into billions of words. This way I can keep a small dictionary file and a script to expand it into a larger file (about 500 gigs). This script should take anywhere from 12-14 days to run and on my last day the power went out at my house. Is there anyway I can run this again with a fail over system? I know a battery back up is an ideal addition to my home server but if the power is out for an hour it wouldn't have made a difference. Also if I had the ability to pause the script do a reboot and resume it again that would be amazing.
View 5 Replies
View Related
Mar 10, 2010
I need a hand with a line of terminal commands. I need to be able to search a given .sh file in a given location for a string, and when found, add a "#" to the start of that string and save the file back to it's original location.
View 1 Replies
View Related
Sep 22, 2010
is there anyother way of creating an user without the support of graphical or command base. one more question is what is the syntax to assign using chmod to a directory consisting of n number of files at atime in one single syntax suppose i want to assign 775 to all the files using one command
View 2 Replies
View Related
Apr 2, 2011
This morning my NFS shares mount but permissions are all NOBODY NOBODY. If I ssh to the server to check the drive(s) permissions are all as they should be! Exports there are fine as is my local fstab. I hope I am just suffering and update glitch because they usually go-away in a subsequent update.
I just spent an hour and a half trying to track it down with no success - time to give up before I do real damage (to which I am prone ).
fc14 on both
View 14 Replies
View Related
Jul 28, 2011
I have a web server set up, and for a while I just let it show the default "test" page, but now I am wanting to actually show something of my own.
I downloaded a couple templates from the internet (free ones), and copied the first one to the /var/www/html folder (including subfolders for ./images and such), and it used an index.php file, but when viewing in my browser, it showed the actual text of the file, not the graphics and images and stuff.
So I deleted those files and "installed" the second template, which uses an index.html file instead.
I am once again getting the default "Apache is running but not configured" page again, even though I have verified multiple times that the index.html file is located in /var/www/html
if I include the index.html file in the path to my website, I get a 403 Forbidden, so I'm thinking it has to do with file ownership or permissions.
I placed the files there as "root", and have tried several combinations of possible permissions (root:root is the owner:group) without any luck.
View 5 Replies
View Related
Jan 13, 2011
I bought a Media-Teach NEMESIS USB headphones. They work really great except there's this one button that lunches Windows Media Player on Windows but on Linux... it doesn't seem to do anything... So my question is, how do I assign a different task for this button on Linux? For example I want it to go to a website address.I guess I need to get what signal it sends thru usb to my system and then somehow manipulate it? Can this be done with a shell script or perhaps there's a tool/program available on Linux for this
View 2 Replies
View Related
Mar 26, 2010
I am using internet in my home PC using Red Hat 9. To assign static IP to my linux machine I use "System Settings....> Network" and then double click on "eth0" to assign the static IP.Well these all settings by using GUI interface.Kindly guide me that if I use only command line interface "runlevel 1" then in that case which file should i edit and assign my static IP,Subnet Mask,Default Gateway DNS settings.2- 2nd thing is,is there any way that I may open web broswer in command line? or the administrator should only use internet on Run Level 5 ?
View 14 Replies
View Related
Jan 16, 2009
I'm rather new to Fedora server, but I'm attempting to run a music FTP server, where anonymous users can submit songs into one particular folder (so i can personally tag them), while other user accounts have full read-write. Here we go: I 2 directories, /music and /untagged
I want anonymous users to be able to read both directories, but only be able to upload to /untagged, and not be able to delete anything. I want users that I select to have full read-write-create-delete privileges. how would I go about this with vsftpd?
View 3 Replies
View Related
Oct 28, 2009
I installed apache and all is well until I had to add pages to /var/www/httpd and permissions are dinied.
View 1 Replies
View Related
Sep 3, 2010
How can I set permissions for users within the share?
Example: I have a share called Programming and some user can create folders within it most others can not, can read the documents.
How do I set permissions?
View 2 Replies
View Related
Nov 27, 2010
I have installed a ssh server on a computer (Ubuntu 10.04). This computer will be reboot many times, so the IP address is going to change. As a result, I couldn't connect with an other computer on this server via ssh. That's why I search a solution: either I assign a static IP on my server computer or I heard that I could use a dns name. I don't know if the latter solution is good so I hope to have some precisions. Also, I tried to have a static IP by editing the file : /etc/network/interfaces but it doesn't work.
View 5 Replies
View Related
Feb 1, 2009
I've created a mysql user and he can connect Joomla to mysqld when everyone has full permissions to the mysql homedir but I know this is bad from a security standpoint. If I set mysql user as the only one with permissions then I can't connect. I know Joomla support is not very help from past experience, wish I could dump it for something else but it does work great once it is configured so I need to keep it around, can anyone make a guess as to what permissions I need to have set on mysql's home dir so that joomla can still connect yet I am more secure than now?
View 11 Replies
View Related
Jul 1, 2010
Unix permissions 000 given to directories.I m testing Netatalk 2.0.5 on my fedora machine with afpfs-ng. I m using afpcmd command to access the volumes on the netatalk server. the directories that i m creating via afpcmd are being created with permissions 000. I cannot browse thru them.
View 3 Replies
View Related
Mar 16, 2010
I am new with Linux but really be interested in it. I would like to ask that if it is possible to make each VirtualHost only controllable by a specific and different user? If so, how to?
View 3 Replies
View Related
Jun 12, 2009
With F11 installed Apache is having permissions issues reading files out of the html directory. Only wants to work with permissions set to read for other. [Thu Jun 11 23:25:28 2009] [error] [client 127.0.0.1] (13)Permission denied: file permissions deny server access: /var/www/html/index.html Tracked down the permissions issue. Is there a good reason not to change the group to apache and remove world read?
View 1 Replies
View Related
Mar 22, 2011
When I was using Ubuntu to remove stuff left behind after uninstalling programs, like all of the dependency files, you go into your terminal and type sudo apt-get autoremove. That removes all of those files that you no longer needed, its sorta like a "Disk Cleanup" for Linux. How can I do that in Fedora? Is there a command for it in the terminal using YUM?
View 5 Replies
View Related
Feb 12, 2011
I'm trying to execute the following command within a bash script:
Code:
tac /var/log/system.log | head -1
The script I wrote is:
[code]...
View 1 Replies
View Related
Mar 20, 2010
my Apache2 was running fine for a while. Bur yeserday when I tried to start it again after a couple of weeks of vacation, I got the message:
* Starting web server apache2 [Sat Mar 20 10:48:12 2010] [warn] The Alias directive in /etc/phpmyadmin/apache.conf at line 3 will probably never match because it overlaps an earlier Alias.
[code]....
View 7 Replies
View Related
Feb 24, 2009
I've got my Samba shares up and running. I can stream files from the server, I can create files on the server, and I can copy files from the server.
Running a Windows program (from a Windows box) directly from the Samba server, however, is turning into a nightmare. I'm getting Access is Denied errors from the Windows box, yet I can copy/create/etc from the entire directory with no problems.
Are there any special permissions I need to run EXE files from a Windows box, located on a Samba share? I've already chmod'd everything to 777, and I show full access when ls -Z is used.
View 2 Replies
View Related
Mar 20, 2010
How do I use my SSH Terminal to get a file that is sittng on another server that I have.. As its like 500 megs or so but to download it to my computer then upload it it takes a long time..
So this is what i have done so far
1. Loged in to SSH Terminal
2. Went to my DIR that i want to put the FILE to
3. Typed in FTP
4. I"M LOST now as i'm trying to connect using my user on my ftp site (DIFFERN"T SERVER)
I relly need the key commands SHH Terminal for dummies
View 3 Replies
View Related
Jan 14, 2010
I was trying to assign the static IP address of my internet connection to my home server and managed to make a mess of it. I've configured the router to assign it the address every time but when I rebooted everything the server is cut off from the network completely (rather unfortunate with a headless server...). The only file I've edited on the server when trying to do this is /etc/network/interfaces, everything else network related is default. My intention in editing the file was to make the server accept the IP address assigned by the router since the router was already configured to assign the right one. I put in
Code: inet dhcp in the /etc/network/interfaces file, is that wrong? What is that line supposed to be?
View 9 Replies
View Related
Jan 29, 2009
Does anyone know if you switch networks Where you have your servers hosted on a Non-DHCP Network, and you switch your IP addresses, then do you have to switch change/assign your new gateway address? I'm not sure if its manually assigned? How do you do it? Also what about nameserver resolving?
View 2 Replies
View Related
Jul 22, 2010
I'm sure this answer is out there but I cannot find it. I thought there was a command you could put in the terminal to find out what version of Fedora you are running and also tell which architecture (either 32 bit or 64 bit) it is. Does anyone know what that command is?
View 2 Replies
View Related