The tag has no wiki summary.

learn more… | top users | synonyms

2
votes
1answer
23 views

Linuxfoundation LFCS cert - Exam Topics Confusion

I am preparing to take the LFCS exam on linuxfoundation and I am stuck. In the exam objectives from the Cert Guide Manual they list the topics you need to be prepared for. But a confusion arised when ...
1
vote
1answer
17 views

Linux firewall techniques: MySql-Account

I'm having a discussion with a software developer in my nears. He is using MySql direct connections for a software. There is no PHP/SSH/whatever-Bridge involved for the communication, neither at ...
1
vote
0answers
16 views

Is there a way to run a script right after an account deactivated?

What I want to do is create a temporary user like this useradd -m -e 2009-12-01 -c "Temp Account" tempUser so that when the account expires (like this one would on December 1, 2009), the computer ...
2
votes
1answer
42 views

Single user for sharing vs. multiple users

In my lab, a group of people work each at one workstation, and they share a number of drives over NFS. They run shared software residing in one of those NFS drive and they run it on the NFS drives ...
4
votes
2answers
108 views

How to prevent schroot from overridding passwd file and others files already present on the chrooted system?

When I had to repair my Debian system, I tried to use schroot due the convenience of not having to mount bind several partitions. But, contrary to my expectations, schroot decided to override my ...
10
votes
1answer
247 views

Why does `postgres` require a shell?

In my Debian Wheezy systems, I noticed that the postgres user 'postgres', the "PostgreSQL administrator", uses /bin/bash as shell. However, I cannot figure out why this is needed. Changing this to ...
3
votes
1answer
33 views

How can I lock down a user account to the point that it can read/write/execute as little as possible?

I would like to lock down an Arch Linux user account to the maximum extent possible. The only functionality required for the account is to accept a non-terminal SSH session which allows the client to ...
5
votes
2answers
244 views

Reasons behind the default groups and users on Linux

Having a look at the default users & groups management on some usual Linux distributions (respectively ArchLinux and Debian), I'm wondering two things about it and about the consequences of ...
2
votes
1answer
45 views

How to extract a list of user accounts deleted from the system over a period of 1 year? [closed]

I'm auditing an AIX and a Linux system and I would like to know how many user accounts were created and deleted over a 1 year period. Is there some way of getting this data from the Unix system?
1
vote
2answers
100 views

new users can't log in via GUI

I have added 3 new users to the system via a terminal session and defined their password. However at the GUI logon screen when I click on their account and put in the password I get the spinning wheel ...
0
votes
1answer
36 views

Adding new users from terminal session

Is there a way to add a new user from the terminal AND have the system setup their user profile? ie, create their home DIR and add then to the sudoers file? I'd like to be able to do this without them ...
2
votes
1answer
67 views

Why is there a ! in the password hash?

In /etc/shadow, I have a line that begins: ubuntu:!$6$Pi4BKmX8$........................ Why is there a ! before the $6$ in the hash?
1
vote
0answers
96 views

OpenEmbedded: root account doesn't exist!

I'm using the current OpenEmbedded system from: http://git.openembedded.org/openembedded-core/tree/ (For what it's worth, I'm also pulling in layers from ...
6
votes
2answers
197 views

Is there any issue to put / as a home directory of root user from security point of view?

Is there any issue to put / as a home directory of root user from security point of view instead of /root
1
vote
2answers
75 views

Where is core group defined on coreos?

On CoreOS EC2 instance, I find the following: $ cat /etc/passwd root:x:0:0:root:/root:/bin/bash core:x:500:500:CoreOS Admin:/home/core:/bin/bash $ cat /etc/group wheel:x:10:root,core sudo:x:150: ...
2
votes
1answer
158 views

How to connect to ssh-server running on embedded linux without /etc/passwd?

After installing ssh server on my remote machine (which runs embedded Linux), I tried to connect to ssh server from host machine but it failed. This is because I could not specify user account when ...
4
votes
4answers
392 views

Log out a user and delete the account

I am having a problem on the server (CentOS 6, Plesk 11.5) where a particular user is using a mass mailer and is blacklisting our IP address. I have tried to delete this user using: /usr/sbin/userdel ...
3
votes
1answer
70 views

Configuration management, shared files, etc with a Laptop

I have a couple computers sitting around in my home network. They all run the same version of Ubuntu, and I would like to unify their configuration to some extent. At my university, you can log in to ...
4
votes
2answers
759 views

Local Account Creation Date

For compliance purposes there is the need to fetch information regarding local (user and non-user) accounts creation date on UNIX machines. Is there any way (even if it's not the most reliable or ...
6
votes
3answers
72 views

Can we configure different shells for different users on a single Linux/Unix distribution?

Well, this is not something that I want to do but I ask this question to know more about Shell configuration in Unix/Linux systems. So, the situation that I want an answer to is the following -: As ...
-19
votes
3answers
230 views

Which amongst the given option is TRUE about login shell?

Which amongst the given option is TRUE about the login shell? The login shell varies every time the user logs in. The kernel decides on the availability of the shell during login. The login shell ...
2
votes
3answers
167 views

Can sudo replace su?

There is much duplication of functionality on Linux-based systems, for example these do the same thing: sudo --login --user <user> sudo su - <user> The sudo-only approach looks more ...
0
votes
0answers
24 views

Permisison/Ownership issue with secondary FTP account

I have Centos 6.5 final. I have chroot setup and working properly and I also installed vsftpd. I now need to create a new user named extDeveloper and give this user access to a specific account. I ...
3
votes
2answers
1k views

Why Service accounts in Linux and Unix Systems? [duplicate]

I have a question regarding Linux and Unix non-user service accounts. We know there are user accounts in Linux , what are (non-user) service accounts such as daemon,news, bin, etc used for? $cat ...
3
votes
1answer
74 views

unnecessary accounts in linux

It is recommended in hardening that unnecessary accounts be removed. Do these accounts include process and daemon accounts? What security problems exist with unnecessary user accounts? Can attackers ...
1
vote
3answers
882 views

How to unlock admin account

By mistake I locked my admin account on Debian with passwd -l. I'm trying with live CD to unlock my account with no sucess. I've tried editing passwd file by removing x, but that didn't work. ...
3
votes
1answer
385 views

/home/user: change directory failed error

I just installed Arch reading from the Beginners' Guide on the Arch Wiki. Once I rebooted Arch, I logged into root then I added my own personal account: useradd fox then passwd fox and set my password ...
4
votes
1answer
144 views

How come each program or service has an account of its own in /etc/passwd?

I checked out the /etc/passwd file and I'm surprised to see that there are 35 different accounts, even though I'm the only user on this computer. I see that the accounts have names like mail, news, ...
2
votes
1answer
71 views

When is an account displayed on the Unity login screen?

What are the exact rules for an account to be offered for login on the Unity login screen? I figured out: Locked accounts are still displayed Without password are still displayed Marked as ...
3
votes
1answer
1k views

Mutt imap multiple account

My first question on this site, I come quickly. I'm a fan of command line tools and text-based application. I use tmux with a minimalist tiling wm is qtile, I can not change the environment. I'm a ...
6
votes
3answers
2k views

How can I create automatically expiring user accounts?

This is what I'd like to be able to do: After a user's account is created, they should be able to ssh-tunnel, but their account is automatically removed after 30 days unless the countdown is reset by ...
2
votes
1answer
1k views

How do find the LDAP connection details that the Solaris box uses to authenticate users?

The Solaris box is configured to use LDAP and has no local user accounts. This is the output of the nsswitch.conf file: bash-3.2$ less /etc/nsswitch.conf passwd: files [NOTFOUND=continue] ldap ...
4
votes
2answers
4k views

How to find out out WHEN an user account was locked

With passwd -S user_name one can find out, if an account is locked, but is there a way to find out when it was locked and who it locked? Further links: http://serverfault.com/a/485760/78439 Disable ...
2
votes
0answers
59 views

Empathy sets status to “offline” when I set it to “invisible”?

my system is Fedora 18 and my empathy version is 3.6.4, when I change the Empathy status to invisible, it changes to offline and contact lists disappear and my profile status changes to ...
7
votes
3answers
194 views

Setting up a unix powered network

I want to set up several computers on a LAN, all connecting to one unix server. The primary goal being that the user accounts should only exist on the server. So that any user could access his normal ...