Questions tagged [administration]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
1
vote
1answer
838 views

Add “domain admins” group in sudo users [duplicate]

I want to give access domain admins group to sudoers access. I have come across with many commands but nun of works for me. fname.lname ALL=(ALL) ALL With this command i can give access to a ...
1
vote
1answer
24 views

How to equalize byobu vertical split screen size

Note: I may be leaning on an XY Problem; feel free to steer me to a more ideal approach. I want to keep an eye on multiple remote log files in a small-yet-legible font, not so much analyzing ...
-1
votes
2answers
154 views

Change MAC address immediately after system activation

I have few computers each with same ethernet MAC address. I want to change ethernet MAC address on each computer as soon as network card is detected so I do not have any conflicts in the network. My ...
0
votes
1answer
1k views

telinit 1 and run a command there

I need to do some maintenance on a bunch of Debian (Wheezy) systems, and it has to happen at run level 1. But not all machines have a keyboard and a screen; some are even located somewhere else. So I ...
1
vote
0answers
32 views

How do you cleanup after deleting an LDAP user on RHEL 7?

We have a small network using 389 Directory Server for LDAP. We make LDAP users, those users log on to various machines in the network, and then sometimes we delete those users. However, after ...
0
votes
0answers
23 views

Getting a rolling release just right and then freezing it: a good idea?

I really like how rolling releases offer the latest versions of everything, because sometimes that is important. However, once I have things working well, I am not that anxious to keep updating to the ...
1
vote
2answers
1k views

Script to see if user has logged off

I have created this program to see if a user is logged on and it checks every minute. if [ "$#" -ne 1 ] then echo "Usage: mon user" exit 1 fi user="$1" until who | grep "^$user " > /dev/...
65
votes
10answers
88k views

How do you kick a benign user off your system?

I was googling this a bit ago and noticed a couple of ways, but I'm guessing that google doesn't know all. So how do you kick users off your Linux box? also how do you go about seeing they are logged ...
0
votes
2answers
1k views

Can't Change CUPS password

I am running CrunchBang based on Debian 6. I can't do anything printer related. It is saying I am unauthenticated. I have tried: family@familydesktop:~$ sudo lppasswd -a family Enter password: Enter ...
18
votes
6answers
104k views

Alternatives for “lsof” command?

In many cases "lsof" is not installed on the machines that with I have to work, but the "function" of lsof would be needed very much (ex. on AIX). :\ Are there any "lsof" like applications in the non-...
5
votes
4answers
17k views

Getting hard disk drive serial number at the terminal - not the WWN [duplicate]

WWN = world wide name Seagate Constellation ES, model ST3500514NS, a 500 GB 3.5" SATA drive It has "serial number", 9WJxxxxx which is eight characters. It has WWN 5000C5002E47xxxx which is a 16 ...
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 ...
1
vote
1answer
19 views

Why does the solaris-8 “scadm shownetwork” command show a different IP address that the one that is actually configured?

When I run the scadm command, the IP Address is different than the one I have configured on my server: 55 /usr/platform/SUNW,Sun-Fire-V210/sbin> uname -a SunOS UI1 5.8 Generic_108528-29 sun4u ...
0
votes
2answers
378 views

Unable to mount LV: “mount(2) system call failed: Structure needs cleaning,” but e2fsck says clean

I was trying to install an old optical drive into my system, which turned out to be having problems, so I pulled it out again, but upon rebooting back into Ubuntu 18.04, I'm unable to mount my 3-drive ...
46
votes
13answers
7k views

What is a fast command line way to switch between multiple directories for system administration?

What is a fast command line way to switch between multiple directories for system administration? I mean, I can use pushd . and popd to toggle, but what if I want to store multiples and cycle through ...
0
votes
1answer
31 views

tmux two seperate panes with some process

I am working with another developer on the same dedicated server. Currently we have one tmux session with one tmux window and multiple panes on that window. This allows us to have a nice workspace ...
73
votes
3answers
12k views

Server admin sent me a private key to use. Why?

I'm supposed to be accessing a server in order to link a company's staging and live servers into our deployment loop. An admin over on their side set up the two instances and then created a user on ...
0
votes
0answers
31 views

What is admin://<filepath>?

recently I've used the next command xed admin://<filepath> and not sudo xed <filepath>. I've tried to find some infos about the first command but I've do not found anything. I presume ...
0
votes
1answer
1k views

How do I safely perform the below changes to network parameters on Solaris 10?

I need to change and test some TCP/IP network parameters on a Oracle Solaris 10 as a possible workaround for a bug in 'Oracle Hyperion EPM 11.2.1.0' in the development environment. I am not a Solaris/...
1
vote
1answer
24 views

A single unified account for all users on a single machine, while preserving separate credentials

So this is more of a reverse-engineering question. We have this machine at work, where anyone can login using ssh. ssh johndoe@gateway01. However! Once logged in, the user the person is logged in as ...
13
votes
8answers
81k views

How do I add an entry to my crontab?

I am using crontab for the first time. Want to write a few very simple test cron tasks, and run them. $crontab * * * * * echo "Hi" doesn't produce anything. crontab */1 * * * * echo "hi" says */1:...
0
votes
1answer
30 views

How to find if partition is soft partition or not - Solaris 10

How to find if partition is soft partition or not in solaris 10?
1
vote
1answer
1k views

How do I check the uptime of the system with a certain number [duplicate]

I know how to check uptime of a system with the top or uptime commands. But what if I need to do this for a system with a specific id?
7
votes
2answers
2k views

Should I use useradd or adduser?

I am trying to add a new user to the system. I am confused though which command to run: useradd or adduser?
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
78 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 ...
0
votes
1answer
191 views

useradd with no options

When I create a user with useradd (no option) I can later add his passwd by using passwd new_user. How can I create his correct home directory (with Desktop and Templates inside) and all other ...
4
votes
1answer
262 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 ...
2
votes
3answers
109 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, ...
4
votes
4answers
618 views

Is it common to install zsh on production servers? [closed]

Question may be not clear and too broad, but any answer, however short or broad it may be, is very appreciated. Some time ago I've asked to install zsh on our production server. My admins companies ...
0
votes
1answer
2k views

Understanding output of ps -ef on linux

When I do ps -ef on my Linux box, I get: UID PID PPID C STIME TTY TIME CMD Please help me with meaning of C,TIME. is the TIME , the actual cpu time allocated to the process?
2
votes
3answers
7k 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 ...
0
votes
1answer
91 views

How to reset router through command line browser? [closed]

I need to reset router and I just get access with ssh to raspberry in local network with router. I'm trying with elinks and w3m browser but I can't see any option, maybe because the router's control ...
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-...
0
votes
1answer
191 views

How to make adduser add home sub directories without GUI login? Make user set password on first login?

I have a client that needs to connect to one of my machines through ssh (Debian stretch). When i create his account with the adduser command, he recieves a home directory but there are no ...
1
vote
2answers
151 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?) ...
3
votes
1answer
900 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 ...
1
vote
3answers
5k 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?...
3
votes
3answers
738 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 ...
0
votes
1answer
1k views

df not update result after lsof search and reboot

I m having a problem with df command, my / fs look like this: Size Used Avail Use% Mounted on /dev/mapper/rootvg-lv_root 945M 811M 69M 93% / ...
0
votes
3answers
867 views

Get contact information of system administrator from the terminal

Do any of the common Unix/Linux platforms provide a way to query the system administrator contact information from the command line. Obviously a system admin might not include this information when ...
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
0answers
1k views

User denied permission to read his own home directory

Note: Username modified for public post. I have a linux server on which I have root privileges. There is a user account "privuser" which can only be SSHed into using SSH keys. But, due to some user ...
0
votes
1answer
47 views

postfix configuration

I started to use postfix, and configured the /etc/postfix/main.cf file. After that I runed postfix with postfix start command, but got an error parameter mail_owner: unknown user name value. Please ...
9
votes
2answers
3k views

How to disable systemd agressive emergency shell behaviour?

By default systemd drops to an emergency shell at the slightest error. For example, if one of the mounts at fstab fails for some reason the system becomes unbootable immediately. I manage dozens of ...
0
votes
1answer
119 views

Run basic administrative commands on GoDaddy

I've logged into my GoDaddy server through PuTTY, I'm connected as ted67942 which is not the root user. I'm trying to run basic commands like sudo, dpkg, su, etc. but they all return the "command not ...
4
votes
2answers
725 views

What is the Debian counterpart of the admin group, and what group on Debian makes files accessible to only the owner and the administrators?

Debian vs Mac OS X regarding the admin group On Mac OS X, in order to make a file accessible to only the owner and the administrators, I set the group of the file to admin, and set the permission ...
0
votes
0answers
29 views

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 ...
2
votes
0answers
161 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 ...
0
votes
1answer
40 views

How to assign dirfferent allocation ratios to different swap files in linux?

I need two swap files, one on my ssd drive (the ssd-swap file), and the other one my hdd drive (the hdd-swap file). Since the read/write speed on my ssd is about 4 times as fast as my hdd, I need the ...