The tag has no usage guidance.

learn more… | top users | synonyms

3
votes
2answers
60 views

Create guest account in Gnome 3.18 on Arch Linux

I want a guest account just like in Ubuntu which has following features: It does not require password to login A new home folder (in /tmp if possible) is created with no data every time User data is ...
2
votes
4answers
90 views

Can a Linux user have multiple primary user groups?

How many primary groups can an individual Linux user have? If they can have more than one, how does one go about assigning multiple primary groups to a user?
1
vote
1answer
33 views

How can I add new user for GUI login?

I added a new user via terminal using the command useraddon Ubuntu: useradd -u 210 -g dba -s /bin/bash -d /home/oracle -m oracle I can login this new user via terminal. But I want login window for ...
3
votes
1answer
37 views

Creating new users via terminal does not assign correct permissions?

I am creating a new user for a Linux Debian distribution. I did use the command to create a new user via terminal, while I was logged in as root; tehn assigned the user to the sudo group, so I can ...
1
vote
1answer
105 views

How to set user account picture in fedora-22(KDE)

I am using fedora since 2 weeks and facing a problem with user account picture. I have checked in 'System Setting' but there is no option for this. I have also updated the system. Can I set account ...
1
vote
2answers
56 views

Shell showing weird characters for one user

Some time back I added an user on Debian X64 server, and instead of showing me the username when I ssh into the machine, it shows me weird characters as shown in screenshot below. Please note, it does ...
1
vote
3answers
67 views

Debian - Disable console access for specific user

I have a server with a git server running on it. I would like git users to be able to clone, push and pull using their linux username and password, but not to be able to login to linux console. If I ...
1
vote
1answer
30 views

Xfce 4: how to change keyboard shortcuts globally (for all user accounts)?

I changed some window manager shortcuts through Window Manager>>Keyboard and Keyboard>>Shortcuts. Now, as it happens these changes take effect only on the account where they were set (I'm using Xfce ...
4
votes
1answer
341 views

message to the user after the first login

is there any way to display a message to the user just after the first login? I want to show him that "this is the first time that you are logging with this account".
1
vote
1answer
80 views

Merge two different /home folders together with same user accounts, keeping newest files

This is a little bit tough. In order to reinstall/upgrade a Linux OS, and both keep the /home folder and contents, reformat the target partition, install the new OS, and merge the /home folder and ...
1
vote
0answers
165 views

Two users with the same 'home' folder but different '.profiles'

I would like to have at least two users signing in the same home folder, so them need to have full access to this folder, but with different 'profile' behavior. host-foo: user1 : /home/foo-folder ...
0
votes
0answers
29 views

How to configure a single user for non-interactive login [duplicate]

I'm studying for an exam and the one question asked about setting specific UID/GIDs, interactive/non-interactive shells, denying login for specific users. I'm good on everything except the ...
1
vote
1answer
107 views

Is there a common naming convention for daemon user accounts?

I'm from a windows background where I'm used to creating separate domain service accounts for running various services. I like to keep things need so I would name them DOMAIN\service.whatever I'm ...
0
votes
1answer
83 views

Change requirements for passwords on Oracle Solaris 11.2

Is it possible to change strict requirements for user passwords, including root, e.g. I'd like not include numbers in the password as required, since this is a home machine, and I'm the only user?
0
votes
0answers
182 views

Unable to delete a user: user test is currently used by process xxx

I'm trying to delete a user: pgrep -u test ps -fp $(pgrep -u test) killall -KILL -u test userdel -r test But the last command always returns userdel: user test is currently used by process xxx ...
0
votes
3answers
311 views

How to give root power to another user

How to Give all the powers Of Root account to another user account? thanks in advance with full command ad detail.
1
vote
1answer
284 views

Set a password on Damn Small Linux

I'm running Damn Small Linux. When you open the command prompt, you are automatically logged in as the default user called dsl and granted root privileges (with sudo). How can I set a password for the ...
1
vote
4answers
838 views

How to “cat /etc/shadow” on an HMC?

hscroot@hmcserver:~> grep root /etc/group root:x:0:hscroot,ccfw hscroot@hmcserver:~> hscroot@hmcserver:~> ls -la /etc/shadow -r-------- 1 root shadow 5252 2015-05-06 19:36 /etc/shadow ...
3
votes
2answers
383 views

How to loop over users?

How can I loop over all users in a shell script? I am writing a shell script to perform cleanup on a system. And if the script is run as root, I want to perform the requested actions in all users' ...
2
votes
1answer
685 views

Difference between adding sudo user with adduser or gpasswd

To add a new sudo user I believe I can call: # to create a new user sudo adduser newusername and to allow this user to use sudo I can do: sudo adduser newusername sudo or sudo gpasswd -a ...
2
votes
0answers
73 views

Notify user of account lockout at login (Solaris)

When logging into solaris, the user will normally get a username+password prompt. If the password entered is wrong the prompt just re-appears, and it will just keep going without providing any ...
9
votes
4answers
984 views

Why are there many accounts? I'm the only user

I am running an Ubuntu 12.04 desktop system. So far I have only installed some programs (I have sudo rights). When I check the list of users on the system, I see a long list, like more than 20 ...
1
vote
1answer
579 views

Change user account type from administrator to standard

In Fedora 21, I changed the user account type from standard to an administrator. Now, I want to change it back via UI but the option that I used before (Settings → Users → Account type) doesn't work ...
-3
votes
1answer
69 views

Why there is always a root account in any OS? [closed]

I have tried different OSes and found 'root' or 'Administrator' account in every system. Which is usually disabled by default. So what is purpose of this account? Why would we need this account? At ...
-1
votes
1answer
156 views

Show IP addresses of the last 20 users to login to my server

Show the IP address of the computer that the 20 users who logged in to the server, in UNIX? I used last -20 to show the last 20 user logins. Now I need to see the IP address for those users.
1
vote
2answers
144 views

how to list users in a group and their passwords

How do I view a list of users in a specific group and their passwords or attributes? I know to use cut -d: -f1 /etc/passwd But this only lists users.
2
votes
3answers
3k views

How to add group to a user without removing other group in suse linux with usermod?

I have one user, which has one primary group & one secondary group, like: [ testuser Welcome ~ ]$ id uid=2000(testuser) gid=2000(testuser) groups=2000(testuser),27(sudo),2001(testgroup) ...
1
vote
1answer
29 views

Correct way to add users to a Subversion repository

I want to make sure I don't corrupt my Subversion repository. If I need to add a new user to a repostiory, I would add them to the svnserve.conf under /conf for each repository correct? If this is ...
2
votes
2answers
618 views

Warn about password expiration without forcing change

It's pretty simple. I would like to figure out what combination of changes in /etc/login.defs and/or /etc/pam.d/system-auth-ac I would need to perform to allow the following behavior: I want a ...
2
votes
1answer
289 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
33 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
23 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
378 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
400 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
450 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
299 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 ...
6
votes
4answers
3k 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
113 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
446 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
55 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
93 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
312 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
274 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
363 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
725 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 ...
6
votes
4answers
7k 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
112 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 ...
5
votes
2answers
5k 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 ...
7
votes
3answers
129 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 ...
-23
votes
2answers
363 views

Which amongst the given option is TRUE about login shell?

Which amongst the given options 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 ...