Software :: Deleting The Same User In Differents Servers At The Same Time?

Feb 25, 2011

I'm out of ideas and I want to know if someone can answer me this question:I have 15 linux servers, with the same OS, on my network and I have to delete a user (the same in all the servers) but I don't have time to do it one by one.Some know a way to do this task

View 3 Replies


ADVERTISEMENT

General :: Deleting Another User's Diretories From Own?

Apr 12, 2010

I am a non-root user, and have made a directory into which other users in my group can write. The directory is setgid, so files and directories within it have the same group.I can delete files placed into this directory, but if a user creates a subdirectory with files in it, I can't seem to delete those. Is there something special I can do (other than, say, bothering the user in question or the sysadmin about it) to get rid of this subdirectory?

EDIT: Inevitably, of course, someone asks "why?"The shared folder in question is a mercurial repository. We can't use a shared-account ssh-key-based server for this like mercurial-server, and we can't just host it externally for various reasons. But that part works fine.We use Redmine for project management, but it does not yet read the repo index for file contents - it reads the working directory. So the working directory must be kept up-to-datecrontab has been disabled by the sysadmin, so that's out. So I naïvely put a changeset hook in the shared repo that performed an "hg update". This seemed to work fine initially, until, of course, someone pushed a commit with a new directory. While I had vague thoughts of trying to make a setuid script for the hook, I'll probably just consider safer avenues.

View 1 Replies View Related

Debian Multimedia :: Sound Is Disappear When Swich Differents Video Files

Jun 3, 2011

I have a: debian squeeze(with last updates),sound system(Bose companion 5 USB) and Alsa Version 1.0.21. Sound system is work(good work) in:Ubuntu 9.10,Suse 11 and Windows But in Debian i have a starange problem:periodic sound is disappear(simply so or when i'm switch differents video files). It's not a problem with video players. /etc/init.d/alsa-utils restart(stop|start) not help. Remain only restart all system, but it's not always help.Sometime it's help only 3 or 5 restart time. Mother board audio card is disabled(in BIOS). Detailed about strangeness:

1 Variant: sound is disappear when i'm swich differents video files(simply video or online video).

2 Varian:When Debian is starting:sound eat in logins form(sound a drop),but at once sound is disappear.

[Code]....

View 3 Replies View Related

General :: A Script For Deleting User , If He Has No Login Shell?

Nov 25, 2010

I want to create a script to delete user if he has no login shell.

View 4 Replies View Related

Software :: Prevent User From Deleting Files On Pureftpd?

Feb 20, 2010

Code:- '-K': Allow users to resume and upload files, but *NOT* to delete or renamethemDirectories can be removed, but only if they are empty. However,overwriting existing files is still allowed (to support upload resume) . Ifyou want to disable this too, add -r (--autorename) .This is pretty much what I want to do, but I only want this done to ONE user on the server. I have many user accounts, but only one of them I want to prevent users from issuing the "delete" command and deleting everything.

View 2 Replies View Related

General :: Get The Values For The User Time And System Time For A Process?

Aug 4, 2009

get the values for the user time and system time for a process.i have tried getrusage to get values of ru_utime and ru_stimebut these don't seem to be correct

View 3 Replies View Related

Ubuntu Servers :: Setup Real-time (or Near Real-time) Folder Synchronization Among 2+ Servers

Mar 23, 2010

what the recommended way to set up real-time (or near real-time) folder synchronization among 2+ servers. I looked a rsync but that doesn't sound real-time and it looks like its something that you might put in a cron once an hour.

View 1 Replies View Related

Ubuntu :: Why The User Created At Installation Time Is A Custom User Instead Of An Administrator

Oct 31, 2010

why the user created at installation time is a Custom User instead of an Administrator.

View 4 Replies View Related

Ubuntu Servers :: Get Notices That There Are Updates For The Server Software From Time To Time?

Mar 29, 2010

I have several file servers in our offices and I am relatively new to Ubuntu / Linux. I get notices that there are updates for the server software from time to time. Is it typical to update everything when available or should I follow "If it ain't broke, don't fix it..." mentality?I would hate for everything to be working fine and then have an update throw me a curve.

View 9 Replies View Related

Ubuntu Servers :: System Time Runs Slow Hareware Time Run Right?

Apr 11, 2011

I am running my Ubuntu 32 bit server on top of Windows 7 64 bit with VirualBox. It's a 2 core Atom. It's been working good for about half a year. But the last about 6 weeks the system time only in Ubuntu is going slow. About -8 per 24 hours! I can only guess because I have more things running in my Windows 7 and Ubuntu.

I can set it right by coping the hareware time to system time with this command:

Code:
hwclock --hctosys

I want to run a crontab to have that command run every minute. But it don't seem to run.

[Code]...

View 9 Replies View Related

Ubuntu Servers :: Deleting Files That Meet Certain Criteria?

Jun 21, 2011

I'm here of course because I would like to know what would be the SSH command to issue if I need to delete certain files that meet certain criteria. For instance, in this case, I simply have files that almost bear the same name but still have some very minor differences.

Let me give you an example:
L0619000.log
L0619001.log
L0619002.log
L0619003.log
L0619004.log

Those in bold are those I'd like to have removed, while the "L0619004.log" is obviously to be left intact.

View 3 Replies View Related

Ubuntu Servers :: Deleting From / Boot After Removing Kernels

Jul 25, 2011

I received an alarm on a server stating that the /boot partition was 90% used. The partition contains several old kernels so I removed all but the current and previous 2 known stable versions using apt. This did not purge the files from the /boot partition.The /boot partition still contains the kernel files for 12 old versions. Is it safe to delete these files after the kernel has been removed using apt? Below is the output of the /boot partition.

View 3 Replies View Related

General :: Measure Kernel Space Time And User Space Time?

Nov 28, 2010

measure kernel space time and user space time?

View 1 Replies View Related

Ubuntu Servers :: User Quotas - Limit - One User Should Be Able To Use 1900 GB And The Other 600 GB

Oct 29, 2010

Im trying to limit the diskspace users on the system may consume, and i found quotas (im a total linux noob). But when i try to set it, no matter what i set it to the maximus is 2 GB. Now... i need quite a lot more than that. One user should be able to use 1900 GB and the other 600 GB. How can i fix this? Im using ubuntu server 10.04.

View 9 Replies View Related

Fedora Servers :: Run 2 Servers At The Same Time?

Mar 6, 2011

Is it possible to run 2 web sites on the same server at the same time? I want to test MediaWiki on the box that currently hosts my MoinMoin web site but I don't want to disable MoinMoin.MoinMoin is public. MediaWiki would be accessed strictly from inside my home network. No public access.

View 14 Replies View Related

Red Hat :: Create Multiple User At A Time In Rhel?

Feb 21, 2011

How can i create multiple users at a time in rhel?

View 2 Replies View Related

Ubuntu Servers :: Restrict User Session Numbers And Allow Resuming Previous User Session?

Jun 30, 2010

I am currently in a project to set up an LTSP server with 10 thin clients. I am using Ubuntu 9.10 (Karmic).

Installing server and booting clients are working fine. Now, according to the need, I have to restrict user session numbers and allow resuming previous user session.

I have achieved to do the first one, but still could not able to setup the second one. As per requirement, if some thin can have power failure, the same session should be restored back. I am confused here, if I need to focus on saving xsessions or saving gnome sessions. I am looking for a concrete solution as I am running out of time.

View 1 Replies View Related

General :: First Time User / Wireless Connection Not Working

Nov 28, 2010

Okay so I am a total newb to linux. I installed Ubuntu using Wubi and am trying to figure out how to get my wireless connection working. It occurred to me I may not have the right driver for use with Ubuntu for the wireless connection at my house. I couldn't find anything on the web to help..it appears I have a realtek RTL8102E wireless card in my laptop. I have absolutely no idea how to resolve this situation..I've looked on the web, but everythings pretty confusing. If I could get the wireless working it would be a good first step.

View 3 Replies View Related

General :: Sum Of System And User Time Greater Or Smaller

Apr 7, 2011

1. How sum of system time and user time can be greater than real time ?
2. Even though my program is not waiting for any I/O the real time is smaller than system time as shown

root@chaitu:/home/chaitu/Desktop/Chk# time ./new
real0m0.001s
user0m0.000s
sys0m0.004s

View 4 Replies View Related

Server :: First Time Squid User Gets Some Error On Webmin

Apr 11, 2010

I installed webmin on Debian apt-get install webmin. After installation following message came.
Code:
Setting up webmin (1.510-2) ...
Webmin install complete. You can now login to https://IP:10000/
as root with your root password, or as any user who can use sudo to run commands as root. So I infer that the installation was successful.

But when I do
Code:
http://IP:10000

I get following error
Code:
Error 111 (net::ERR_TUNNEL_CONNECTION_FAILED): Unknown error.

View 1 Replies View Related

Software :: How To Modify System Time As Non Root User

Nov 18, 2010

I have developed an application, in C language, that should received the EPOCH time (6 bytes) at about every 30 min. What function should I use as a non root user to modify the System Time.? The idea is that the same application could update the System Time. I am using Ubuntu.

View 1 Replies View Related

Programming :: Get Real Time Information About How Many User Are Logged In And Their Ips

Jan 20, 2009

I use tomcat as my server platform in Ubuntu for a war file. I know in order to get real time information about how many user are logged in, we can count how many active sessions exist by a SessionCounter code. However, I have to permit HttpSessionListener in web.xml of tomcat. From other users' experiences, the configuration is complexed and has some errors.

Here's the link:

[URL]

In order to get users'ip, in jsp, use request.getremotehost() or request.getremoteaddress() by editing the jsp file. I wonder if there's some open source software to use for these two purposes.

View 1 Replies View Related

Fedora :: Rakarrack Real Time Audio User Group?

Mar 23, 2011

I'm using a fedora install mainly for audio work and have everything working well out of the box. My setup is simple:

-Direct cable from Guitar 1/4" > Sound Card input>Rakarrack Guitar Effects>Ardour>System Out
(Occasionally I put a synth/plugin like Zynaddsubfx or jackrack before or after rakarrack depending on what sound I'm going for)

-Jack for all audio transport with synthesizers

I have real time support with Jack and all other programs except Rakarrack. When I launch Rakarrack in the terminal, I get this message:

Code:

rakarrack 0.6.1 - Copyright (c) Josep Andreu - Ryan Billing - Douglas McClendon - Arnout Engelen
Try 'rakarrack --help' for command-line options.
Cannot lock down memory area (Cannot allocate memory)
Cannot use real-time scheduling (RR/15)(1: Operation not permitted)
AcquireRealTime error

However, running rakarrack in root does not display this output, and I assume it has no problem getting real-time scheduling in that case. I did some google searches but the only similar issues that I find are that people can't get RT support in jack except in my instance, I do have RT scheduling with jack, but for some reason I can't get it in rakarrack unless I'm root.

[Edit] I actually have to run jackd and rakarrack in root to get rakarrack to use real time scheduling. But, it isn't necessary for any other jack compatible program that I know of. I'm actually not getting any real time scheduling with any jack application, even though Jack is reporting to be running in Real Time. However, running everything in root fixes the issue even though I would prefer to not have to run as root.

View 2 Replies View Related

General :: Unable To Change System Time As Non-Root User

May 6, 2011

I need to edit the system time as a not-root user. I am carrying out the following actions in my program.

1. Read the User Id of the process. User_ID= getuid()
2. Printing Capabilities(Permitted, Efffective, Inheritable)of the process
3. Setting UID = 0, using setuid(0)
4. Calling the prctl(), function to keep capabilities
5.Switching the UID from root to User_ID of the process
6. What we have now is a process with root capabilities as a non root user
7. On printing Permitted, Effective, Inheritable capabilities, I get the following
--> Permitted = 0xfffffeff = Effective
Inheritable = 0x0; with UID = 1001;
8. I then try and set the system time with --> system("date -s 10:00");
9. I get an error: date: cannot set date: Operation not permitted
10. I am unable to understand as to why I cannot set the time even thought the capability bit CAP_SYS_TIME in the Permitted and Effective sets are SET.

View 3 Replies View Related

Server :: Vsftpd Chroot Mode When User Logon First Time ?

Jun 22, 2011

I've config vsftpd chroot mode follow:

Code:

Code:

View 4 Replies View Related

CentOS 5 :: Real-time File Replication For User Accounts?

Nov 22, 2009

this idea to me right now seems stupid and impractical so I'm also looking for solutions outside of this one. I'm creating a set of highly available servers. They currently utilize pacemaker to manage a shared IP address, apache management, mysql management and also drbd handling. They currently replicate, properly failover and run fine. However, this is a shared web hosting setup and everytime a new user is added to the system a username and password is created and the httpd.conf file is updated for their site. I need a way to replicate those changes to the other server. For httpd.conf I'm pretty sure I can just stick it on the apache drbd resource and create a symbolic link. However, for the passwd and shadow files that is not a realistic solution.

View 1 Replies View Related

General :: How To Get Time From Power On System To Show User Login View

May 16, 2011

I want to get the time from power on system to showing user login view in Linux, how to do? Can it work only with shell?

View 2 Replies View Related

Ubuntu :: Standby / Suspend: Fails 2nd Time On 'Freezing User Processes'

Feb 11, 2010

I have what I think is a somewhat different failure of standby than I've seen listed on other threads, and I'm stumped.The system hangs on this for a while, then comes back to the login screen without going into standby. This ONLY HAPPENS on a SECOND standby attempt--the first standby after booting ALWAYS succeeds.The standby log doesn't indicate any failures.I had made other changes previously that temporarily got standby working consistently:/etc/default/grub: GRUB_CMDLINE_LINUX_DEFAULT="quiet splash usbcore.autosuspend=-1"

View 1 Replies View Related

Ubuntu :: Setting Up User-callback Option In Back In Time Application?

Jan 22, 2011

I am trying to understand these two examples for setting up user-callback option in back in time application. I am trying to modify this to suit my needs, Back in time homepage has some basic info, but very terse, same with the man page. The following two examples are the only references I could find. first one from here - [URL] I don't want email to be sent, just an update to the log file will be fine.

[Code]....

View 1 Replies View Related

Software :: Default Creation Time User Home Directory Permissions.

Jan 8, 2011

When I am creating a user (say sandy) on my FC14 system, I find that the default permissions for her home directory (/home/sandy) are 700.Can I somehow set up my system so that these permissions are 711 in place of 700.

View 3 Replies View Related







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