The tag has no wiki summary.

learn more… | top users | synonyms

8
votes
1answer
32 views

List Kerberos principals with valid TGTs

Is it possible to query my (MIT) Kerberos KDC to return a list of principals who have been issued TGTs that are currently valid? My use case is that I would like to find out which users are currently ...
0
votes
2answers
38 views

Redhat subscriptions - synchronise subscriptions

I have inherited a system admin role of a small cluster of redhat machines - most running rhel5 and one machine running rhel6. My sys admin skills are at the moment poor but I would like to improve ...
4
votes
2answers
154 views

Change user info on the command line

I have made a user in Mint 16 but want to change its first and last name without deleting it and starting from scratch. I know how to do it with a GUI but I want to know the terminal command ...
3
votes
1answer
49 views

Default files in home dir for each user

I'm using ubuntu server 14.04. I want to add some files and folders by default in each user's home directory, whenever a user account is created.
5
votes
3answers
787 views

Why is the 'sudo' password different than the 'su root' password

On my personal machine, I often type sudo in front of certain commands in order to accomplish administrative tasks. I had hoped to avoid doing this throughout the day, by typing su root and providing ...
0
votes
1answer
31 views

How can I tell if lack of memory is causing these crashes?

I have a tornado web server running a flask application that connects to a postgres 9.3 database on an ubuntu 12.04 box. The application has been crashing intermittently and I am trying to understand ...
2
votes
2answers
50 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?
1
vote
1answer
36 views

How can I administer a server if USB disabled?

I'm looking to disable USB via the kernel for a high-performance server. How can I effectively administer the server, if problems occurs if USB isn't enabled? Without USB, keyboards and mice ...
-1
votes
0answers
7 views

See the tracker url in deluge-console?

I'm currently using deluged (with deluge-console) on my server. I'd like to see the tracker it is using in the information of a torrent. How do I accomplish this? I already tried using info -v but ...
2
votes
1answer
58 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: ...
1
vote
1answer
21 views

How to provision software across multiple laptops [duplicate]

I've got a bunch of laptops for my classroom and I'm using Ubuntu. I want to be able to add/update/remove software across them as easily as possible and I'm not sure how to go about it. I was ...
0
votes
1answer
32 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 ...
7
votes
3answers
591 views

Linux Bulk/Remote Administration

Beside our internal IT infrastructure, we've got around 500 Linux machines hosting our services for the on-line world. They are grouped in a bunch of clusters like Database A-n, Product A-n, NFS, ...
21
votes
4answers
43k views

How to make Fedora user a sudoer?

I want to give a Fedora user sudo privileges. How do I do that?
27
votes
4answers
9k views

Is it possible to rename a Unix user account?

I installed Ubuntu on a computer that is now used by somebody else. I renamed the account with her name, but it only changes the fullname, not the user name, which is still displayed in the top right ...
1
vote
1answer
81 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
82 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 ...
0
votes
1answer
40 views

How to live a Pleskless life? [closed]

I have always used Linux with Plesk when hosting web projects. It's easy to host multiple websites and setup email accounts but I realized it's overkill sometimes. I think it uses a lot of resources ...
1
vote
2answers
64 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 ...
3
votes
4answers
6k views

CentOS 6 - nameserver entry in resolve.conf resetting after restarting network services?

In /etc/resolv.conf, I've changed the nameserver line to a new IP address. After saving and exiting, I run service network restart. I then go open /etc/resolve.conf again and see that the IP address ...
0
votes
1answer
430 views

What unix certifications are available? Are there any self-taught?

I have a friend who is a Red Hat Certified Engineer. I also know there is the Linux Professionals Institute LPIC-1, 2, & 3. Are there other popular ones? How do I pick one to start with?
6
votes
6answers
1k 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?? ...
0
votes
1answer
860 views

Important scripts useful for a Linux system administrator [closed]

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

Where Is MySQL installed on My Machine?

What is going on, everybody? Recently I have installed MySQL server on my Debian machine using Advanced Packaging Tool, and I am curious where it is installed and how I can find all the source files ...
0
votes
1answer
59 views

Unidentified network connections

I have an external-facing ftp/webserver (with virtual hosts) running Ubuntu 12.04LTS, and I have some concerns about some network traffic I'm seeing. Some background. I tried to be as preventive in ...
0
votes
1answer
45 views

How to issue a warning to administrator (when the administrator issues a system restart) when user has process running

Background I work on a development team and for each project we have a different server setup to emulate the environment of our customers. It can be hard to keep track of what I was doing on each ...
3
votes
1answer
90 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 ...
0
votes
3answers
57 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 ...
2
votes
1answer
51 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 ...
12
votes
11answers
1k views

Concern about logging in as root overrated?

For personal linux on my personal notebooks, I've usually set my environment to autologin as root even under X or lower runlevels. I've found my workflow is very pleasant and fast, without any ...
3
votes
1answer
70 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 ...
1
vote
2answers
166 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 ...
36
votes
4answers
15k views

How do I run a command as the system administrator (root)

I need to run a command with administrative privileges. Someone said I should run a command as root. How do I do this?
5
votes
0answers
96 views

Logging violations of rules in limits.conf [duplicate]

I'm trying to log the details of the programs that where failed due to the limit cap defined in the limits.conf. My initial plan was to do it using the audit system. The idea was to track the system ...
8
votes
5answers
5k 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: ...
0
votes
2answers
198 views

Debian [ Wheezy ] : Suricata : LibHTP outdated

While looking to test suricata from the Debian Wheezy repo I ran into an issue. cat /var/log/suricata/suricata-start.log 23/9/2013 -- 19:25:03 - <Info> - This is Suricata version 1.2.1 (rev ...
1
vote
1answer
316 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 ...
0
votes
1answer
73 views

How to auto-start my bash_profile? [duplicate]

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.
0
votes
5answers
138 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 ...
29
votes
7answers
18k 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 ...
7
votes
3answers
199 views

Linux/Unix variant for training system administrators

Is there a Linux/Unix based operating system used for training sysadmins? Some bugs would be deliberately included in the system and the training candidate is supposed to solve all of them. It should ...
1
vote
2answers
279 views

Vim: searching upward/downward in file from specific point/position

I want to search a word from my current cursor position in vim to upward in file. How to achieve this? Also how to do same for downward in file.
23
votes
2answers
805 views

Why did a new user inherit files from a deleted user?

So I had to do an exercise in a book as homework. First you had to create a user like: useradd -c "Steven Baxter" -s "/bin/sh" sbaxter Then you had to add some files to the /home/sbaxter directory: ...
3
votes
1answer
1k 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 ...
0
votes
1answer
250 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 ...
13
votes
4answers
903 views

Is it possible for a sysadmin to eavesdrop on his/her users' terminals?

When logged in to a machine, I can find out each user's pseudo-terminal device(s) from the output of w. Being a sysadmin, is it possible for me to eavesdrop on this terminal without the user being ...
0
votes
2answers
126 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 ...
0
votes
1answer
186 views

Which book of those two should i read to study networking for Unix/Linux administrator? [closed]

I'm quite a beginner to networking, I want to get the information that i need as a Linux/Unix admin. I have two books in hand right now: TCP/IP Illustrated, Volume 1: The Protocols UNIX and ...
7
votes
3answers
27k 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 ...
2
votes
1answer
295 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?