The tag has no usage guidance.

learn more… | top users | synonyms

2
votes
2answers
23 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 ...
0
votes
0answers
18 views

Fastest way to perform Redis data migration?

I have several Redis 3.0 instances running in AOF persistence mode. Sometimes, I have to perform data migration from one instance to another. Data migration process currently goes like this: BGSAVE ...
0
votes
1answer
29 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 ...
4
votes
2answers
56 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 ...
0
votes
0answers
15 views

What does 'addgroup' do compared to 'groupadd' [duplicate]

I am new to Linux and have started using Ubuntu. One thing I am having issues with is adding users due to the lack of easy to find information on the subject. I have noticed that there are two ...
1
vote
0answers
30 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 ...
0
votes
1answer
26 views

What's the difference between lpasswd and passwd commands?

Studying the CentOS/RHEL sysadmin manual, I can't understand if there are or what are the differences between these commands.
1
vote
0answers
24 views

How does shutting down require sudo except when done through a GUI? [duplicate]

If I want to shut down my machine programmatically or on the terminal, I must do sudo poweroff or sudo shutdown. If I want to shut down my machine through my window manager and desktop environment, I ...
13
votes
4answers
55k 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 ...
1
vote
0answers
132 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 ...
1
vote
1answer
24 views

Share files/directories by setgid

To allow write access to a specific group, shared files/folders can be made writeable by default for everyone in this group and the owning group can be automatically fixed to the group which owns ...
6
votes
4answers
27k 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 ...
0
votes
2answers
88 views

Unable to read file even though in same group

I created new symbolic link to one file(located in another user home directory) for the user. But unable to read even though the user in same group and the file permissions are 755. ...
5
votes
1answer
633 views

Implications creating System Accounts “useradd -r” Linux Fedora/RHEL/CentOS

I want to know what are the implications of create an account using -r option? # useradd -r ... The help says: -r, --system Create a system account. System users will be created with no aging ...
4
votes
2answers
2k views

How to disable root account on openSUSE?

Is there a way to disable the root account completely on openSUSE so you can administer your system like the way you would do in Ubuntu?
0
votes
1answer
31 views

How to avoid receiving warning message from a mount system

I asked similar question in superuser, no satisfying answer. Re-post here with some update. I mount a remote host to my system during debug because the source code is on that host, but after I do the ...
2
votes
1answer
49 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 ...
-1
votes
2answers
56 views

How to keep a development environment clean? [closed]

Working as a hobby developer on Debian/Jessie64 mostly C++ but also assembly, python, java, c, c# like compiling programs on my own like looking into other's source it results into many ...
2
votes
1answer
34 views

static ip adress for remote administrating distant home computer via ssh?

i've set up the pc of my grandmother with debian and dhcp. I have to administrate that pc, so the best option is obviously ssh. The problem with that is just dhcp changes obviously the ip adress from ...
1
vote
1answer
777 views

How can I learn some advanced logrotate techniques? [closed]

The logrotate section in the Linux administrator's handbook is very brief. The man page is ok but lacks examples. Where can I find some more comprehensive information, examples, and best-practice ...
1
vote
2answers
55 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 ...
0
votes
1answer
48 views

Cannot edit visudo

I have to give my user permission to run sudo. I am using CentOs # uname -a Linux lab-hv1-centos1 3.10.0-229.el7.x86_64 #1 SMP Fri Mar 6 11:36:42 UTC 2015 x86_64 x86_64 x86_64 GNU/Linux and have ...
0
votes
2answers
44 views

Compare Linux configuration with default

My system fails to upgrade. I suspect it was breached. Is there a way to compare system configuration to default version that should be at this date and kernel version? My current system is Debian, ...
15
votes
2answers
13k views

How to know reason of a process going to sleep state and wake it up?

When I do 'top' , I see my perl script process in 'S' state. Is there a way to know, what is making this perl process go in sleep state and ways to wake it up? Any way to debug to give more insights ...
2
votes
1answer
90 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 ...
-1
votes
2answers
129 views

How do I install a program as a different user? [duplicate]

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 ...
0
votes
0answers
54 views

How can I run a “check-up” on my Ubuntu installation?

I would like to know if there is some kind of script or utility to check for problems in my Ubuntu installation. I am new to Linux and I had some trouble setting up my system, specifically trying to ...
1
vote
2answers
46 views

Are basic system administrator utilities such as useradd or adduser standardized?

Are basic system administrator utilities such as useradd or adduser standardized? If so, where can I find the specs? (POSIX doesn't seem to encompass those, but I might need to take a better look).
12
votes
8answers
10k views

How to know if /dev/sdX is a connected USB or HDD?

How can I know if /dev/sdX is a local HDD or usb key ? best doing this without root privileges. OK , udevadm helped a lot: For local HDD: udevadm info --query=all --name=sdb | grep ID_BUS E: ...
6
votes
2answers
17k views

How to see complete list of processes in top

When I do 'top', I learn that there are many processes running out of which many are in sleep state. I need to see complete snapshot of all processes at that point. the 'top' is able to show listing ...
0
votes
1answer
47 views

Owners and groups of everything inside /var are changed mistakenly [duplicate]

I have recursively changed owner and group of /var to root:root. I have mistakenly ran following command while standing in /var. I thought I was in /var/www, sudo chown root:root . R Now many ...
2
votes
3answers
523 views

Do I need a computer science degree to have a successful career in Linux? [closed]

I recently got a bachelor's in hospitality management, for 4 years I basically lied to myself thinking thats what I want to study while neglecting my interest in computer science. I've been getting to ...
0
votes
0answers
143 views

transmission-remote error 301 moved permanently

I have a debian server running the bitorrent client transmission and I want to access transmission via command line. The transmission deamon runs on port 9092, for now I just want to get a list of ...
0
votes
0answers
71 views

Tasksel vs metapackages

Some debian applications are installed via tasksel, rather than the traditional apt tool. What is the benefits/differences between the methods, when we already have the option of meta-packages?
29
votes
3answers
72k views

How to make Fedora user a sudoer?

I want to give a Fedora user sudo privileges. How do I do that?
2
votes
2answers
422 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 ...
23
votes
2answers
89k views

How can I change a user's default group in Linux?

Being new to Linux administration, I'm a little confused about the following commands: useradd usermod groupadd groupmod I've just finished reading the user administration book in the Linux/Unix ...
1
vote
3answers
6k 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
0answers
113 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 ...
2
votes
1answer
212 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 ...
0
votes
3answers
640 views

/etc/passwd permissions and GECOS field

The default permissions on Ubuntu (or even some BSD) distributions for the /etc/passwd file are 644. It is pointed out in questions like this that /etc/passwd is a sort of user database and it is ...
7
votes
7answers
2k views

How to prevent a mistaken rm -rf for specific folders?

I think pretty much people here mistakenly 'rm -rf'ed the wrong directory, and hopefully it did not cause a huge damage.. Is there any way to prevent users from doing a similar unix horror story?? ...
7
votes
1answer
6k views

How to get Oracle java 7 to work with setcap cap_net_bind_service+ep

I am trying to grant the java executable the right to open ports below 1024 on Linux. Here is the setup /home/test/java contains the Oracle Server JRE 7.0.25 CentOS 6.4 Here is what getcap ...
1
vote
1answer
115 views

Unable to get last connection info for SSH users (locked, no shell, public key) is there an alternative?

I have several remote systems connecting to my server via SSH to establish tunnels. They authenticate using a public key, their user is locked and their shell is set to /usr/sbin/nologin It all ...
-2
votes
1answer
134 views

How to add StartUp application in Arch Linux [closed]

I am using Arch Linux, I want to add a start-up program in Arch Linux. How to add start-up program which will execute after login after every boot ? Note: I am not system administrator, I am just a ...
1
vote
1answer
532 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 " > ...
2
votes
2answers
88 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
1answer
100 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 ...
38
votes
7answers
37k 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
3answers
159 views

How do I get a list of all enabled media in Mageia via CLI?

I have read URPMI from Mageia wiki but there seems to be no mention of how I can check the currently enabled media using urpmi command. There is urpmi.addmedia and urmpi.removemedia. So I tried doing ...