Questions tagged [administration]

230 questions
4
votes
2 answers

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 developers might want as many as four variant configs…
pboin
  • 1,500
4
votes
1 answer

Important scripts useful for a Linux system administrator

I am a Linux system administrator and constantly find myself doing the same chores again and again. I need some scripts to make life easier. What are the most important scripts needed by a Linux system administrator?
Ramesh
  • 39,297
4
votes
1 answer

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 files. You wouldn't know. (Obviously, it was…
strugee
  • 14,951
2
votes
2 answers

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? Any quick commands to do this for many users?
2
votes
2 answers

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 on all of them with one command? For example I'm…
2
votes
1 answer

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 the second could be Fedora or Debian. Is that a kind…
Quora Feans
  • 3,866
1
vote
0 answers

How to open a text file as administrator in Pop OS 20.04?

I have just installed Pop OS 20.04. Previously I used Ubuntu 18. I need to open a text file in root directory as administrator. In Ubuntu I could do it by installing nautilus-admin, then after right click to a file "Open as administrator" option…
0
votes
1 answer

How to auto-start my bash_profile?

When I open a new terminal, it doesn't execute auto-start my bash_profile. I need to do "source .bash_profile". When I use Screen, it happens again.
Gapry
  • 245
0
votes
1 answer

How do I force a user to log out?

Possible Duplicate: How do you kick a benign user off your system? I'm trying to remove a user account with the userdel -r command. However, it says that it is unable to remove the user because they are still signed in - even if I boot the…
user19082
0
votes
0 answers

Commands queueing across different users

I want to be able to queue commands across different users on one machine so calculation resources would be used in order and not simultaniously is there an util for that? I found tsp but I think it cannot work across different users. P.S. I'm…
0
votes
2 answers

How do I install a program as a different user?

To be very specific: Debian system: I want to install Linuxbrew, when logged in as root, as a specific user. Linuxbrew enjoys the niceness of being installed by the user, for the user's specific purposes. My goal is to, as root (definitely as root),…
NOP
  • 123