Server :: Delete Users In Bulk?

Jan 18, 2011

Is there a way to remove users in bulk? Maybe by a range of user id numbers.

I help run a school server for our Linux class. I create temp accounts for tests and now I just want to delete them. I really should delete the old users too but the Professor likes to let them have access even after the class.

View 6 Replies


ADVERTISEMENT

Server :: Setting Disk Quota For Bulk Users?

Jun 10, 2009

In our organization there are around 1000+ users are using mails. The mailing system is implemented under RHEL using postfix and dovecot. For user based quotas i have implemented Disk Quota. But the problem when i want to edit quota for multiple users with similar limits i'm doing "edquota user" for every users. It seems very difficult. Now I wanna know:

1. Is there any way to edit quota value for multiple users at a single shot?

2. Also there is any method to send alerts mail to the end users on disk utilization?

View 3 Replies View Related

Ubuntu :: Write A Script To Go Through And Delete Bulk Duplicate Files?

Jul 7, 2010

I am using my Ubuntu machine to serve as a media server and network storage. The problem I have is iTunes on my desktop managed to make 2 copies of every song on the machine so instead of the 30GB I have its up to almost 100gb. I was wondering if there was a way to write a script to go through and delete the duplicates. The duplicates are the same filename as the original except a 1 or 2 following. Wasn't looking forward to deleting 12,000 files by hand.

View 1 Replies View Related

General :: Unable To Neither Add New Users Using Command Useradd Nor Delete Existing Users Using Command Userdel

Jun 30, 2010

Im not getting able to neither add new users using command useradd nor delete existing users using command userdel. And even Im not getting able to login into any existing users except root. It was ok before. Im having this problem very recently on my linux server. Im using RHEL5.

View 9 Replies View Related

General :: Copying Bulk Files From One Server To Another

Sep 30, 2010

I need to copy a large number of files, it comes to 1 lakh from one server to another. When I tried various commands using scp , ftp etc. It is saying "Arg list too long". In which way can we copy all the files. The Two servers are under Linux.

View 4 Replies View Related

General :: Need Bulk Record Creating For BIND Server

Oct 2, 2010

Need Bulk record creating for BIND DNS server. I have information in a file I need to crate a new zone and A-record. I have 10000 domains in a file. Is there any tool available to do this @ one go

View 4 Replies View Related

Server :: Getting Unsolicited Bulk Email (UBE) Errors When Using Mobile Phones

Mar 22, 2010

Recently if I have been getting Unsolicited Bulk Email (UBE) errors when using mobile phones to send. The ip in postfix is allowed to relay but I suspect that the mobile provider is using DHCP to issue address to the phone (though I have check the ip addresses are always allocated the same) I have checked via a fixed ip that is allowed in the relay and this does not generate the same error. Does anyone know what I can change in Amavis or Postfix to sort this out, because legal mail is being rejected via the mobile phones at the moment.

View 2 Replies View Related

Server :: Steps To Configure Postfix To Send Bulk Mail?

Apr 13, 2010

I want to configure Postfix mail server to send bulk mails to others domains only but they could not send to me. steps to configure Postfix to send bulk mails and what packages required for it.

View 2 Replies View Related

Ubuntu :: Skype Won't Delete Users

Dec 28, 2010

I allowed someone to access his Skype account on my computer (10.4).

Now I can't delete his Skype name from the login process, which is set to autofill the first alphabetical user and seems to be unchangeable in that area.

I tried deleting the software entirely, but that didn't do it. Somewhat bizarrely, the deleting the software itself did not delete any user data, and this raises security issues, ie, is the computer also holding other people's passwords?

how I can remove this guy from autofill when I turn Skype on, and how to turn autofill off on the Linux version of Skype so I don't have to refuse the next person to borrow my computer.

View 4 Replies View Related

Fedora :: Delete Restrictions For Users' Passwords

Dec 22, 2009

I have Fedora 10 installed. I want my users to be able to use any password they want. So I edited /etc/pam.d/system-auth, the password section.
Was:

Code:
password requisite pam_cracklib.so try_first_pass retry=3
password sufficient pam_unix.so md5 shadow nullok try_first_pass use_authtok
password required pam_deny.so
Become:

[Code].....

View 2 Replies View Related

Ubuntu :: Delete Specific Users Along With Their Files?

Jul 18, 2011

I am trying to delete specific users along with their files, these are the steps i am taking,

Quote:

sudo su -

Quote:

cat /etc/passwd

Quote:

userdel user1

userdel command not found.

I am not able to remove the specified user, Does anyone know how else to remove this user.

View 7 Replies View Related

General :: Delete Multiple Users From Samba?

Jan 25, 2011

i have 3 groups on a samba server with about 30 user per group.I would like to know how to delete all the user in a group before adding new users.

View 1 Replies View Related

General :: If Some Users Modify/delete/create Files/directories?

Oct 25, 2010

i've been wondering how do i know if some users create/modify/delete file/directory in linux, i've been using pyinotify in python script.this script like the example from the manual:

Code:
#!/usr/bin/python
import pyinotify, os, time

[code]...

View 10 Replies View Related

Server :: Script To Add A Secondary Group To All Users Except System Default Users?

Jun 28, 2009

script which can add a secondary group to all existing users except system users in linux.

View 5 Replies View Related

Ubuntu :: Permission To Upload / Delete / Edit All Files In / Home / Www / For Multiple Users?

Dec 16, 2010

I installed proftpd on my Ubuntu 10.10 install. I also run multiple websites that I want to allow ftp access to for 2 different users. The websites are located in /home/www/. This is where the guide I was following told me to put them. I also don't have a user named www.How can I give write permission to upload, delete, and edit all the files in /home/www/ for multiple users? They can connect to the ftp server and see the file, just not change them.

View 1 Replies View Related

Server :: All Users SSH - YES - All Users Console - NO

May 18, 2010

I have inherited a RedHat 5.4 server that is having an odd issue. Root and all of the user accounts can log in via SSH. Not a single account can log in via the console (sitting in front of the server). If I bring it up in single user made, I can log in with root all day long.

I want to say that this has something to do with PAM, but this is when I play my "Noob" card. Could anyone possibly steer me in the right direction to figure out what is going on?

View 2 Replies View Related

Server :: Apache - Free Access From Lan Users And Password Access To Wan Users ?

Jun 26, 2009

Im trying to config my intranet to be accessible from inside the network (lan) without need of password and ask for a passwd for those who are viewing from Wan ....

Today my intranet can only be accessed from Lan, external access give me an Unauthorized message, I took look around, try #irc and still can get the appropriated help, I hope that someone here could help me on that...

A piece of my config:

Code:

View 4 Replies View Related

Debian :: Changing Status Of Packages In Bulk

Jul 24, 2015

I am currently running Debian Jessie with the Xfce DE.

I recently decided to replace the Xfce window manager with i3. Running Code: Select allsudo apt-get remove xfcwm unfortunately caused a lot of very necessary software to be listed as "no longer required" because they were installed automatically with xfcwm; reinstalling xfcwm did not fix the issue.

I would like to know how I can list these packages as "required", or at least as not automatically installed. I tried using

Code: Select allsudo apt-mark unmarkauto

But this only seems to work one package at a time, and there are simply too many packages for this to be a convenient solution.

View 3 Replies View Related

Fedora :: Bulk Resize A Collection Of Images?

Aug 25, 2011

How do you bulk resize a collection of images?

View 8 Replies View Related

Ubuntu :: Bulk Rename From Context Menu?

Mar 16, 2010

Looking for a rename utility that I can start from the context menu. Would like to be able to highlight a bunch of dig-cam pix on my desktop, right click to the context menu and open a bunch rename utility.

View 5 Replies View Related

Ubuntu :: Bulk Find & Copy In Terminal?

Mar 29, 2010

I have found KRename to be very useful for bulk find and renames; however, I'd like to do a find a copy, which KRename doesn't appear to do.

For example, I'd like to (case insensitively) search all subdirectories for files called "cover.jpg", "cover.gif", or "cover.png" and create a copy of these called "thumb.xxx", in the same subdirectory the original is found, with the same extension as the original.

View 4 Replies View Related

Ubuntu :: Lost Thunar Bulk Renamer?

Jun 9, 2010

In a previous version of Ubuntu, when you installed Thunar you automatically got the Bulk Renamer as well.With the latest version not only does it not download automatically, but I can't find it in Synaptic at all. Has it not been updated to work with Ubuntu 10.04 or am I just being blind, and not seeing something obvious?

View 7 Replies View Related

Ubuntu Multimedia :: How To Convert Bulk In FFmpeg

Jun 20, 2010

I recently developed a taste for the Alac format and ffmpeg will oblige with this line of code
Code:
ffmpeg -i <input> -acodec alac <output>.m4a
and this worked beautifully one file at a time and
How does one do all the files in a given folder? Is there an asterisk one adds as in shntool.

View 2 Replies View Related

Server :: Copy/delete Files On Remote Server?

Jul 6, 2010

Allright, I made a simple script that tarballs my SQL databases weekly and saves them to a backup harddrive.If possible, I would like to have the backups uploaded to a remote server for storage. But, I must have the script delete the previous upload for size contraints.I can only use rsync, scp or sftp. Haven't used any of them really before... Here's my basic tarball-backup script:

Code:
#/bin/sh
# Dates the new tarballs of current builds.
DATE=`date +%m_%d_%Y`

View 8 Replies View Related

Fedora :: Bulk Rename Files In A List Via Terminal?

Nov 12, 2009

I've been spinning my wheels for a bit on this one not getting any traction. I have a list of pictures that have a bad extension that I would like to rename with the good extension. Here's a snippet of the list that I'm looking at:

listold
Code:
/Volumes/MyFiles/Pictures/2009/02 - February/Qeirstyn Playing Inside/._IMG_3347.JPG
/Volumes/MyFiles/Pictures/2009/02 - February/Qeirstyn Playing Inside/._IMG_3349.JPG
/Volumes/MyFiles/Pictures/2009/02 - February/Qeirstyn Playing Inside/._IMG_3350.JPG
/Volumes/MyFiles/Pictures/2009/02 - February/Qeirstyn Playing Inside/._IMG_3354.JPG

[Code]....

View 6 Replies View Related

Ubuntu Networking :: Bulk Renaming Files On A SMB Share?

Jan 23, 2011

I have a Netgear ReadyNAS NV in the basement, that I want to use to serve up video files over my network to a TV in the living room.

Now, I have a lot of files that HandBrake encoded and it gave the files an m4v suffix. Even when the files are in a codec that the TV can handle, it refuses to load them because of this suffix... so I want to rename them all.

This is fairly simple for files on a local filesystem. I can simply cd into the directory containing the files, and do something like the commands below.

Code:
$ for a in `ls`;
> do
> stem=`echo ${a} | cut -f1 -d"."` ;
> mv ${a} ${stem}.mpg ;

[Code]....

Although there are a few smb commands available (smbstatus, smbget, etc.), I've not found any commands like smbls or smbmv.

Are there any special commands or utilities around that can do the kind of thing I'm trying to do?

View 1 Replies View Related

General :: Bulk File Rename Not Working As Expected?

Jun 25, 2011

Y want to rename a bunch of files and directories to remove the space on the names, easy enough right?

Code:
for source in $(find ./); do target=$(echo "$source"|sed -e 's/ /_/g'); mv -f "$source" $target; done

Well, I thought that should have work but the problem is that $source comes up broken, when I run it with echo instead of mv I get the echo with broken names.

Code:
In this case "$source"="This is the file I want to rename"
$ echo "$source"

[Code]....

View 3 Replies View Related

General :: Bulk Music File Format Conversion (OGG)

Apr 4, 2010

I have thousands of audio files in all sorts of formats. Whenever I install a distro this means that I always have to download a ton of different audio stuff as well (and I really don't understand linux audio). Typically this means gstreamer good, bad and ugly, xine, GNOME Mplayer and god knows what else. If I could change the formats of all files into a simple FOSS format I would. Is there a program that can detect current formats and do a bulk convert, into ogg maybe?

View 9 Replies View Related

Server :: Collecting Email From Remote POP3 Server And Delivery To Local Users?

Jul 12, 2011

I am having problem to collecting email from remote POP3 (all the emails for a domain is stored here) and distribute it after collecting to several users defined to Linux server. I have install postfix in Linux server for email distribution.

View 3 Replies View Related

Server :: Merak Mail Server All The Users Should Be Able To Get That Content Automatically In Their Outgoing Mails?

Feb 22, 2010

I would like to set disclaimer like content in my meral mail server, so that all the users should be able to get that content automatically in their outgoing mails.

View 3 Replies View Related







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