General :: Temporarily Prevent FTP Uploads From Certain Accounts?

Feb 10, 2011

What is the least painful way to temporarily prevent uploads to an FTP server by certain accounts? they all only upload directly to their home directory setup in /etc/password

View 1 Replies


ADVERTISEMENT

Ubuntu :: Prevent Other Administrator Accounts From Viewing Files?

Mar 9, 2010

I just noticed that even if I remove read and write permission for my files, another user can access those files if they use 'sudo'. The ls -l for the folder containing my file (let's call is myfile') looks like this.

"
Code:
-rw------- 1 username groupname 43 2010-03-09 20:23 myfile
"

I logged into another account I have made for myself (which had admin privileges) and then did

Code:
sudo nano /username/home/myfile

and ... the file was opened and I was able to read it. So what's the point of having user permissions if someone can bypass them by using sudo?

View 9 Replies View Related

General :: Temporarily Broken Bash?

Jun 14, 2010

i was fiddling with some new commands i learned and typed something weird. Then bash broke on me for a while. here's the command i typed while in /bin bash > lessi believe i was in "sudo su" as the moment. i want to understand this because when I typed it bash didntork. i tried to type "ls" after and it didnt result in anything.but thats not all it didnt receive any commands.Was this a crash? and why/how did it fix itself after i logged off.

View 9 Replies View Related

General :: Removing / Disabling Firewall Happens Temporarily

Apr 16, 2011

I tried following the instructions in this link to disable and remove iptables firewall using commands:

# service iptables save
# service iptables stop
# chkconfig iptables off
# iptables -F
# iptables -X
# iptables -t nat -F
# iptables -t nat -X
# iptables -t mangle -F
# iptables -t mangle -X
# iptables -P INPUT ACCEPT
# iptables -P OUTPUT ACCEPT

Its seems to work temporarily and then the firewall gets enabled again by itself even without restarting.

View 1 Replies View Related

General :: Setting ACL For A Temporarily Mounted Directory?

Sep 8, 2011

I wanted to set ACL for a directory. For that it is important that the device should be mounted as acl on that directory.

But I do not want to add the acl mount in /etc/fstab. So I am tempoararily mounting the device to some temporary directory as acl and setting ACL and then unmounting it. Then, I'm mounting it to the original directory.

The code is below:

tmp="/tmp1/backup"
orig="/mnt1/backup"
dev="/dev/sda2"
mkdir -p $tmp

[Code]....

The group is being changed, but ACL is not set for the directory.

View 1 Replies View Related

General :: Fork: Resources Temporarily Unavalbale?

Apr 30, 2010

I am continuously getting fork: resources temporarily unavailable even when I am typing ls command.

View 1 Replies View Related

General :: Temporarily But Completely Uninstall Ubuntu 10.4?

May 24, 2010

How do I temporarily but completely uninstall Ubuntu 10.4? I can't locate it in my registry, either using RegEdit or Revo Uninstaller. This is temporary. I will re-install on a different computer of mine that has much greater memory.

View 4 Replies View Related

General :: Temporarily Disable Internet Connection On System

Jan 20, 2011

Is there any way to temporarily "switch off (and back on)" the internet connection on a system (that runs linux)? The following methods are not allowed:Turning off the router. That would lead to a lot of angry young individuals. This method must be particular to my workstation.Use root privileges (coz I do not have them).
Yank the ethernet cable from the system.Why: Sometimes the internet proves to be a distraction.I am using the following system: Fedora release 11 (Leonidas), linux kernel 2.6.30 and GNOME 2.26.3

View 1 Replies View Related

General :: Permissions - Temporarily Remove My Association With A Group?

Jan 21, 2010

I need to test linux group permissions on a repository. In one shell, how can I temporarily remove one of my group associations? e.g.If my groups are defined as:

% groups
foo bar baz

How can I make it so it only returns foo bar without baz?

View 2 Replies View Related

General :: Temporarily Throttle Internet Connection For Testing Purposes?

Mar 16, 2009

I would like to know if it is possible (and, if so, how I would go about doing so) to temporarily limit my Internet connection on a Linux box.

I am developing some new features for one of my Web sites, and I want to see how it performs when using a slower Internet connection. Although it's great for most aspects of my job to have a lightning-fast connection (around 25000-30000 kbps download and 20000-25000 kbps upload speeds), it really makes it difficult to know even what average users might experience when using some of the aspects of our Web site.

I have Linux Mint installed in VirtualBox on my computer, and I'd like to find some way to potentially temporarily "trick" that installation into using a much slower connection to the Internet for testing purposes.

View 3 Replies View Related

General :: Set Up Some Forwarding Accounts?

Aug 21, 2010

I'm using sendmail and I'm trying to set up some forwarding accounts. It seems simple enough but all the results I've gotten on Google so far are pretty unhelpful. Isn't there a straightforward tutorial somewhere?

View 4 Replies View Related

Debian Configuration :: Network Going Down During Uploads?

May 21, 2011

I have a server and I have a few computers connected to it via a Airport Extreme. Using network cable. So when Im uploading,(ftp) IE using a lot of the network "space" the other computers on the network gets kicked out. So what is going on? My Airport Extreme is doing fine, but my other clients just get kicked out. If I pause the upload, everything is okay again. The whole network is 1 gigabit, clients, everything.

[Code].....

View 4 Replies View Related

Debian :: Using 2 HDDs For User Uploads?

Nov 22, 2008

I have a site that users upload files on. Its on a dedicated server with 2 HDDs and the first HDD is 97% full, is it possible to use the other HDD for the files users upload? if so how?

View 1 Replies View Related

Server :: Email Alert For Ftp Uploads?

Sep 16, 2010

Can we create alert whenever a upload to ftp server happens. We have redhat 5

View 1 Replies View Related

General :: CPanel New Accounts Are 'unknown IP'

Apr 30, 2011

I will expain my setup :

SERVER 1 - SHARED ACCOUNTS
SERVER 2 - RESELLER ACCOUNTS

On server 2, all of a sudden my resellers are complaining that the accounts they create are not working, so I checked out.. and I realised that the accounts all have 'Unknown' as the IP.

So, steps I took so far...

1. Rebuilt Apache
2. Restarted the server

After each of these steps I have created new accounts, and still I have this error.

View 2 Replies View Related

Ubuntu :: Find Out Which Process Uploads A Lot Of Data

May 18, 2011

Sometimes I notice that there is high upload speeds for 10 minutes or so. At the time of the screenshot I was sitting in a public wireless place, only chromium was open and I don't see any reason why there should be sustained upload speeds.Is there a GUI or CLI so I can find out which process uses the internet?

View 1 Replies View Related

Ubuntu One :: One Re-uploads Songs Every Time One Is Played?

Jul 13, 2011

All my music is already synced, but every time a song finishes playing in Banshee, a notify OSD message appears letting me know that song is being uploaded to my Ubuntu One account. I'm running Ubuntu 11.04 32 bit.

View 2 Replies View Related

Networking :: Script That Downloads And Uploads Files From 1 Ftp To Another?

Apr 9, 2011

I have Debian and want to be able to connect to an ftp server, download some (or all) files, disconnect from this server, connect to another ftp server and upload everything on it. (And delete the temporary files on my PC). This should be done form the command line. I am no expert in linux (although I am acustomed with it). How to do this (or part of the solution ). In the end I would like to write a script, that mirrors my site from 1 place to another.

View 3 Replies View Related

Software :: Ftp Program That Allows For Multi-thread Ftp Uploads?

Feb 3, 2009

I upload picture files to an ftp server. I can't do much about my upload speed but I think that a multi-thread upload may yield the same kind of improvements that a multi-thread download yields.

View 4 Replies View Related

Programming :: Expandable File Tree For Uploads?

Aug 18, 2010

I am working on a PHP enabled webpage that will allow a user to select multiple files and directories to upload from a local machine to an ftp server. I am comfortable with uploading the files from the machine to the server. The problem is making it easy to select all the desired files. What I would like to do is create an expandable file tree that lists all the directories and files on the local filesystem. From there, the user should be able to select directories and files using checkboxes. Upon clicking submit, all of the selected files should be fed into an array of files that can be sequentially uploaded to the ftp server.

View 1 Replies View Related

General :: Creating New User Accounts / Security?

Feb 21, 2011

I am looking at creating two user accounts for "contract system admins"..These guys will be performing sys admin duties for a sever -- however, I am still concerned about security of data. For example, the server contains password information for our database, etc.Besides making them sign an NDA, etc. what other security mechanisms could I put in place to ensure that they don't just go buck wild. For example, when someone makes a sudo command, is this logged?

what are some recommendations for general security practices?

View 1 Replies View Related

General :: Adding User Accounts To Different Domains?

May 11, 2010

i'm configuring sendmail for a little office but i was requested for two domains e.g. [URL] and [URL] i've created this two domains but at the moment i create a user account how could i make the difference between wich domain the user belongs?

View 1 Replies View Related

General :: Ommand To Check Expired Accounts?

Sep 9, 2010

Is there a command to see what user accounts are set to expire or expired.(OS = Red Hat)

View 1 Replies View Related

Ubuntu Security :: Allowing Non-anonymous Uploads With Vsftpd?

Feb 2, 2010

Hope you can help me out. I'm trying to setup a "drop-box" on ubuntu 9.10 server with vsftpd. I'm able to login and land in the /home/user directory, however I cannot write anything.

View 5 Replies View Related

Ubuntu Servers :: LVM Read Slowdown During Torrent Uploads?

Jul 14, 2011

I've made a simple headless home server based on:

1. Motherboard Asus AT4NM10-I (Intel NM10, PCI)

2. CPU integrated Intel Atom D410

3. 2 Gb of RAM

4. Network Card D-Link DGE-528T 10/100/1000 Mbit/s

5. OS Ubuntu Server 10.04.2 (All installed packages are up to date)

Storage build under LVM based on:

1. Samsung HD103SI - 1 Tb, 5400/32 Mb.
2. Hitachi SATA 2000Gb Deskstar 7K3000 - 2 Tb, 7200/64 Mb.

So found one issue: When torrent upload speed reaches peak speed (160-200 Kbytes/s) huge read slowdown happens. Server becomes almost unreachable... It allows to connect via putty but it takes a lot of time.

Tested top stats during those lags (Deluge, Transmission) - 10-15% CPU usage.

So I think the problem is in LVM and not in CPU.

How is it possible to find weak place in system to avoid those lags... Cause if torrent is seeding it's impossible to watch movies through network form that server.

View 9 Replies View Related

Software :: Dynamic Bandwidth Throttling For SFTP-uploads?

Aug 20, 2010

I am uploading the incremental backups using duply/duplicity using the sftp-module. As the initial upload is pretty big and runs several days (more than 50GB over a 1Mbps-line) I am confronted with the problem that other users in the network experience slowdowns when I upload.

I would like to run a script every n minutes which pings a host in the internet (second hop of the traceroute for example). If the response time is less than a value (150ms), the script throttles the upload for one specific host and protocol. Traffic to the local net (Samba mainly) should be unaffected. I cannot use the QoS of the firewall/router. Also I would like the penalty to be removed if the ping is quicker (loess than 70ms for example) I looked at trickle, and some other out-of-the-box shaping tools but they do not give me the possibility to change the rate while the upload is running.

I would now write a script in perl which uses [URL]some wrapper for iptables combined with some ping module [URL] Also I was trying to get the proof of concept before I start coding: (I haven't verified if this works yet)

sudo tc qdisc add dev eth0 root handle 11: cbq bandwidth 100Mbit avpkt 1000 mpu 64
sudo tc class add dev eth0 parent 11:0 classid 11:1 cbq rate 100kbit allot 1514 prio 1 avpkt 1000 bounded
sudo tc filter add dev eth0 parent 11:0 protocol ip prio 16 u32 match ip dst MyserverIP flowid 1:1

View 2 Replies View Related

General :: Copy Thunderbird Accounts And Preferences From Mac / Windows

May 17, 2010

My Linux laptop has recently been hanging for no apparent reason, and so I have been using a Mac OS X laptop in the meantime. I just installed Thunderbird and wanted to copy all my preferences and account settings to the new laptop. All email accounts are IMAP based.Can I simply copy the data, or does Thunderbird for OS X store data in a different format from OS X? What about if I wanted to copy the preferences to Thunderbird under Windows? Finally, what files do I copy? I haven't powered up the Linux laptop yet but I'm guessing there's a ~/.thunderbird/ directory, can I just copy this to the Mac?

View 1 Replies View Related

General :: Symbolic Links Between User Accounts - Cannot Get To Work

Jan 7, 2011

I have been using a cron job to duplicate a folder into another users account every day and someone suggested using symbolic links instead although I cannot get them to work. In summary user GAMER generates log files that they want to access via HTTP, however I only have a web-server in the user account SERVER, in the past I would copy the logs folder from GAMERS account into SERVER/public_html/. and then chmod the files so the server could access them. Trying to use symbolic links I set up a link from root (as only root can access both accounts) I used: ln -s /home/GAMER/game/logs/ /home/SERVER/public_html/logs

However it seems that only root can use this link, I tried chmoding the link, all the files in the gamers /game/logs/*, /game/logs itself to 777 as well as changing chown and chgrp to server the files still cannot be read. When viewed from servers account my shell shows the link and where it is to hi-lighted in black with red text. /home/GAMER/game/ (chmod & chgrp) drwxrwxrwx 3 SERVER SERVER 4096 2011-01-07 15:46 logs
/home/SERVER/public_html (chmod -h & chgrp -h)

View 1 Replies View Related

General :: Obtain Local User Accounts Remotely?

Aug 17, 2010

I am trying to figure out a way to pull the user information from local users on a Linux server. I have approximately 40 servers running SUSE and Ubuntu that are using Microsoft Active Directory in order to authenticate. Our internal auditing group has made us disable root ssh ability, I was doing this with clusterssh, but I can login as me then su on the server to conduct root, admin, work. This is an ongoing request to get the local users and it is a painfully slow process since I have to login to each server to get the /etc/passwd file. Is there another way to get the local user information? They are now asking about seeing the last logon date or if the account is disabled, any thoughts there as well?Most of our auditors think Windows and I am trying to make my life easier but not sure what options I have. I need to get local accounts and if they are active or disabled plus last logon date. I'm sure there will be more but if I can get the basics adding more shouldn't be too difficult but I guess I'll cross that bride when I get there.

View 7 Replies View Related

General :: Creating Unique Users Accounts Using Count?

Mar 16, 2011

I am trying to create users accounts reading from a file. I can get it to show if the user already exists but I want it to instead of not creating the user account to create e.g. Scott1 etc.The code i have so far is :

#!/bin/bash
while read line
do

[code]...

View 4 Replies View Related







Copyrights 2005-15 www.BigResource.com, All rights reserved