Episode #125 of the Stack Overflow podcast is here. We talk Tilde Club and mechanical keyboards. Listen now

Questions tagged [administration]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
4
votes
1answer
3k views

How does iptables recognize packet state?

Consider these two sets of rules: Set A -A INPUT -m conntrack --ctstate ESTABLISHED,RELATED -j ACCEPT -A INPUT -j REJECT -A OUTPUT -j ACCEPT Set B -A INPUT -m conntrack --ctstate ESTABLISHED,...
4
votes
1answer
350 views

What is a program I can use to mess up a GNU/Linux system in an automated way?

I once ran across a program that, when run on a GNU/Linux system, would automatically screw up something about the system. Maybe it would corrupt the users database. Maybe it would mess with the boot ...
4
votes
1answer
1k views

Package managers for local installations under home directory [duplicate]

Possible Duplicate: Non-Root Package Managers I work extensively on a remote system where I do not have admin rights. However, I am allowed to install my own binaries and programs under my home ...
4
votes
2answers
238 views

Simple Templating for Config Files

I need to manage a growing set of similar-but-different ASCII files. ( It so happens that they're Apache VirtualHosts, but that's not particularly relevant. ) For each production website, the ...
4
votes
2answers
1k views

Tool to watch other ttys for linux?

BSD systems have a neat watch tool for snooping other ttys : Have you ever had a user login to your box and then ask you for help? Or have you ever been curious as to what your users are doing on ...
4
votes
1answer
264 views

Distributing updates to VirtualBox images with bandwidth efficiency

I'm currently responsible for a lab of machines that all need to run the same virtual machines. I want to automate my current setup of distributing VirtualBox virtual machines via rsync (erasing any ...
3
votes
3answers
8k views

Pulling IP address from ping command with sed? [duplicate]

I have crafted a Bash tool that runs on a server. This tool will block certain IP addresses for a certain time range (i.e. from 5 A.M. to 3:30 P.M.). As of currently, the tool works fine, but I have ...
3
votes
3answers
1k views

How can I see which package manager is running?

I'm on Debian 6.0.5 (squeeze) and every now and then I see the following icon in the notifications area of the GNOME2 pannel: but black instead of red. It reads A package manager is working. Usually ...
3
votes
3answers
977 views

How to see what a user is doing in their ssh session

I logged into a server as root and did w, this let me see that a user was editing a file. someuser pts/5 10.117.0.53 14:03 3:25 1.20s 1.14s vi somefile.py Then I disconnected, and ...
3
votes
1answer
146 views

How do I give a user shell access that requires a key

This might be a stupid question, but what process should be taken to add a user to a system and provide them access when the system requires the use of a ssh keys? For example on a system that doesn'...
3
votes
4answers
3k views

Hardware and software inventorying

Objective Collect hardware and software information from lab computers, respecting students' privacy. Type of information to collect Examples: System memory Bash verion JVM version Operating ...
3
votes
1answer
3k views

how to install alpine on CentOS with Yum?

How do I update/refresh or add repos to Yum to install the alpine mail client? thufir@arrakis:~ $ thufir@arrakis:~ $ ll /etc/yum.repos.d/ total 20 -rw-r--r-- 1 root root 2139 Sep 28 2013 CentOS-...
3
votes
1answer
1k views

Is it possible to run a bash command from Windows via a samba connection?

Now, before you finish thinking "Dear God! why would you want to allow that?!?", I'm wondering if it's possible. What I'm trying to solve, could be solved in other ways, but this puts it in the ...
3
votes
1answer
51 views

Which programs configure the network based on the settings in /etc/network/interfaces?

I have installed Stretch and I find that NetworkManager gets in my way more often than not, and I would rather familiarize myself with network interface administration at a lower level based on the ...
3
votes
1answer
95 views

static IP address for remote administration of a distant home computer via ssh?

I've set up the PC of my grandmother with Debian and DHCP. I have to administer that PC, so the best option is obviously ssh. The problem with that is just DHCP changes obviously the IP address from ...
3
votes
1answer
133 views

Where is the appropriate place to deploy web apps?

I am a new sysadmin (by default). We have an ubuntu 14 server with two users. Both users need to deploy web apps to the (production) server. My plan is to create a folder off of root /apps/ and ...
3
votes
1answer
2k views

How can I set a directory maximum size?

Is there an easy way to cap the size of a directory? I don't think there is but just wanted to make sure. I would like to set max directory sizes for some user home dirs as well as some other dirs, ...
3
votes
1answer
2k views

Prevent scp from overwriting existing files?

Have been googling this for a while, and the problem is not so much of one where I trust my users to "do the right thing" and have them use rsync with various options to avoid overwriting files. I ...
3
votes
3answers
298 views

Creating recovarable disk image [closed]

Laptop I want to buy comes with preinstalled windows 10. I want to install linux on this laptop but I want to have option to recover windows (reset to factory settings). Because of that I want to make ...
3
votes
1answer
2k views

How do I add a local user to a box that uses LDAP authenticaiton?

I'm working with a box that uses LDAP for user authentication. However, I need to add a local user to run some services and I don't want non-person users junking up the LDAP directory. Does anyone ...
2
votes
3answers
27k views

Set a size limit to SAMBA shared directory remotely

I have been asked to set up a shared directory for a colleague on a server I manage. I created an account for him on that server, set up a Samba password with smbpasswd, created a directory and set it ...
2
votes
1answer
83 views

Manage another Linux installation on another partition in the same computer

How can I manage (install packages, manage packages, check for updates and the like) for another Linux installation on another partition in the same machine? I would be doing this from Ubuntu, and ...
2
votes
1answer
244 views

When is a port considered being used?

I am getting port in use cannot bind on process restarts. I am trying to find out when a port is considered being used? Is it only when in LISTEN mode? Can it also be if a connection is open to the ...
2
votes
2answers
501 views

Global Shell Variables?

As a system administrator with root access on a unix machine, is it possible to provide default shell variables to all users of a system? That is, as an individual unix user, I can define ...
2
votes
2answers
228 views

Any interface for building a server in Linux Xubuntu. (not desktop)

Is there any interface or program that I could install on my Linux Xubuntu that would help me set up a server using the terminal as little as possible?
2
votes
1answer
65 views

Disable accounts and print info message on attempted login

Other people log into my Raspberry Pi via SSH. It runs Ubuntu Mate 16.04 with OpenSSH. I want to disable some of the accounts but not delete them. Now, I could just delete the passwords (which ...
2
votes
2answers
49 views

Save a perfect configured desktop

I'm wondering how I can persist my perfect configured desktop system. I have - installed a fresh new debian - installed all my applications and tools I need (from vim to eclipse) - override my ...
2
votes
1answer
1k views

NIS and /etc/passwd

Shadow passwords are to be avoided in a NIS server, as suggested in this guide at paragraph 7.6. So: in a NIS server (a Unix or Unix-like system), should all the users be migrated to /etc/passwd from ...
2
votes
2answers
559 views

Is there a way to administrate multiple computers at the same time?

Let's say you have 24 computers. They all have the same Linux or Unix distro on them, with the exact same configuration, but with different users. Is there a way to be able to do the exact same thing ...
2
votes
1answer
717 views

Winbind / AD - changed user account issue

So here's an odd one. We've had a user for years who happens to have a user id by local convention that matches a system account. So of course, I changed the users user ID in AD to avoid issues and ...
2
votes
2answers
739 views

AT&T UNIX System V Release 4 - How do I create a new “Administrator” user?

I am running AT&T UNIX System V Release 4 Version 2.1 inside VirtualBox, and want to create a new "user account" for myself. At first, I simply created a new user with the useradd command, but ...
2
votes
1answer
669 views

Integrating LDAP and Kerberos V to add users via a useradd-like interface

I'm currently trying to set up an integrated Kerberos V/LDAP system for authentication/authorization. From what I have managed to gather, there are at least two ways to integrate Kerberos V with LDAP: ...
2
votes
2answers
52 views

Reassign users to a single group

Right now one of our server is setup such that all users are in their own group. Is it possible to reassign them to a single group and then allow each user READ only access to other user's directories?...
2
votes
1answer
34 views

How to limit access to websites for one user?

I need to limit all websites for certain user (not a root) but one website should be available for example www.allow-website.com and all subdomains too www.allow-website.com/*. This lock should work ...
2
votes
3answers
151 views

Are there any practical reasons for setting a maxlogins limit for users in limits.conf? What are the benefits?

Why should I set a maxlogins limit in /etc/security/limits.conf? In other words, are there any performance-related and security-related benefits to be gained? I have only three users on my machine, ...
2
votes
0answers
191 views

StickyBits NFSv4 ACL to stop user movement of folders

Backstory: Client has a mixed environment of POSIX and NFSv4. The POSIX blows away the underlying NFSv4 ACL every-time they touch it or do anything with it. They say that users are able to take a ...
2
votes
1answer
2k views

Managing cron jobs across multiple servers

We are facing a problem with managing cron jobs over multiple servers with dependencies. I hope there is an opensource central management project that I can be used to handle that and report the ...
2
votes
0answers
174 views

What is the command erepc? Is this malware?

I noticed that my system was running slower than normal so I ran a top command. Hogging a ton of my CPU was a process called erepc that I can find no information on. PID USER PR NI VIRT ...
2
votes
1answer
165 views

Remove ex-admin user account and grant privileges / permissions / ownership to another

I would like to find the simplest way to remove the old system admin's user and group from a Gentoo server and put them all under my name instead. He no longer works here and it would appear that a ...
2
votes
1answer
176 views

How to specify a daemon shutdown command with upstart?

In an upstart configuration how do I define what command should be used to shutdown a server. Lets say I have daemon that has two seperate processes. startup.sh - to start the server shutdown.sh - ...
1
vote
2answers
592 views

Does DM-Crypt partition look like random noise?

If I format partition with dm-crypt does its entry in partition table suggest somehow that this partition is encrypted or for someone from outside it looks like regular partition with random noise ...
1
vote
1answer
2k views

How to prevent users from renaming files while providing write permissions on Linux [closed]

For some special purpose, I want to prevent non-root users of the Linux Server from changing or renaming the filenames. However, they can modify and write to the contents of the file. How to do this ...
1
vote
5answers
1k views

change of Unix default directory structure [closed]

Is it possible to change the default Unix/Linux directory structure? I mean by configuration and without need to change the kernel. Or if the kernel has to be edited, how hard is such task? Is the ...
1
vote
2answers
166 views

Where to put computerdescription in linux/unix (like in windows “computer properties”)?

Question: Is there a place in linux (e.g. debian/ubuntu) to put the computer description? Meaning: are there directives or best practices (I didn't see it in the FHS)? (Maybe a file /etc/hostinfo?) ...
1
vote
3answers
6k views

Write access to NTFS drives

Never had this problem before. The drives will not give me write access Drives are ntfs. Fstab was set on default, now tried rw option and nothing. Using Manjaro. How can I get write access to drives?...
1
vote
1answer
5k views

Why can't I create a symbolic link in /usr/bin?

I'm trying to create a sym link in my /usr/bin directory as the command drush8 But every time I do it, it doesn't show up in /usr/bin but instead says it already exists. It's thinking that it exists ...
1
vote
2answers
129 views

Weird disk usage on Enterprise Linux

I'm little bit worried about this (note the 99% used space in the root): $ df -h File System Size Used Free Use% Mounted To /dev/mapper/scientific-root 50G 50G 735M 99%...
1
vote
3answers
259 views

How to clean up my desktop?

Now, I see that my desktop running rhel 5.6 has run out of space. Now I need to clean it up. There must be some unintentional files adding up. What I would like to be able to do is list the files in ...
1
vote
1answer
1k views

Use Yast with a administrator account instead of the root account

I am looking to disable my root account for security purposes only in witch I use sudo for anything I use on my system that I need the root account for. Witch works fine for if I need to do anything ...
1
vote
1answer
362 views

Where is the rpath utility, or how do I install it?

I installed an updated OpenSSL on Solaris 11.3 running on Intel hardware. OpenSSL needs its path adjusted because the gear was installed in /usr/local. According to Changing ELF Runpaths on the ...