Anything related with user accounts and user management on Unix-like systems.

learn more… | top users | synonyms

0
votes
2answers
80 views

/Library: Operation not permitted when logged in as root user

Im trying to install Jekyll on El Capitan, however I do get permissions error, as you'll see from the screenshot. I am logged in as a root user. Any advice appreciated. UPDATE: After suggested ...
2
votes
0answers
16 views

Pipe audio to another user on the same computer (pulseaudio)

I am running two users at the same time because some games don't like compositing window managers, and you can't turn off compositing in Unity, my favored desktop. I don't want to run two TTYs of the ...
1
vote
0answers
41 views

Add user to other user's primary group

I have a user tom whose primary group is also tom. I'd like to add another user jerry to that group. Running $ sudo usermod -a -G tom jerry has no effect at all (also after logging out and back in ...
2
votes
1answer
25 views

“/usr/lib/passmgmt: Password file(s) busy. Try again later” in Solaris 11

I've been playing around with a Solaris 11 system, where I've made several user-accounts for myself. Anyway, I gave one of my unprivileged account the solaris.* auth, and then tried to give another ...
0
votes
2answers
56 views

Putty: Access denied

My user id kranthi has been created and added to sudoers group. I've made the following changes in /etc/ssh/sshd_config: PasswordAuthentication Yes AllowUsers kranthi In order to allow a user to ...
10
votes
2answers
509 views

How do I grant different permissions for each user?

So, I've been using Linux for a few years now, and I really should know this answer, but I'm having trouble finding it. Specifically I've been using Debian based distro's....mostly Ubuntu. If I have ...
5
votes
4answers
19k views

Restrict FTP user to a directory

Sorry if this is an obvious question, but I don't have a lot of knowledge about this sort of thing, and I've googled for hours, nothing worked. So on a Ubuntu 11.04 server, I want to restrict a user ...
2
votes
0answers
24 views

Ubuntu and web server permissions

I am going to ask a question that has already been posted many times but even though I have read many guides and posts, I still have doubts. I have a server with ubuntu 14.04 on which I have a user ...
1
vote
1answer
28 views

Command ran as wrong user on boot while explicitly being told to run as root

So I've installed Syncthing and I'm running in a lot of problems getting this program to run as root on boot. For some reason it always runs as the default user ( thom ), but I boot into root and tell ...
1
vote
1answer
23 views

login with apache user

I'm following this tutorial step by step,for Here we clone the repo into a chmodded /var/www/[site_dir] folder. Note that we switch to the www-data user before running the git clone command. ...
23
votes
1answer
31k views

Command to list PostgreSQL user accounts?

There are createuser & dropuser commands: createuser - define a new PostgreSQL user account dropuser - remove a PostgreSQL user account Is there a corresponding way to list the user accounts? ...
0
votes
1answer
55 views

How do I grant read access to all home directories of members in a group?

So I have 4 users on my redhat system. *P- primary group S- supplementary/secondary group* UserA - P: Teacher S: USA UserB - P: Teacher S: School UserX - P: Student S: School UserY - p: ...
21
votes
2answers
32k views

How to create a user with limited RAM usage?

So I have 4 GB RAM + 4GB swap. I want to create a user with limited ram and swap: 3 GB RAM and 1 GB swap. Is such thing possible? Is it possible to start applications with limited RAM and swap ...
5
votes
0answers
35 views

systemd user cannot get user group's ability

I added a non-root user in docker group, and an other service run as this non-root user connect to docker daemon. but the service can not work. I do a test example for this : root@# systemctl start ...
23
votes
6answers
23k views

How do I completely disable an account?

How do I completely disable an account? passwd -l will not allow anyone to log into an account using a password but you can still log in via private/public keys. How would I disable the account ...
-1
votes
0answers
12 views

Xubuntu: logout using dbus

I'm new with Xubuntu and I have question. I'm logged in as user A, create a process in the name of B, that process creates session(/etc/X11/Xsession default) for user B. I want to terminate a session ...
0
votes
2answers
46 views

Switch user using password from file

how can i switch user using su command and adding password from file ? i want to make a script which will automaticly switch the user, having the user and the password ,instead of manually typing the ...
1
vote
1answer
30 views

Run i3lock with another user's password

I am trying to run i3lock which relies on the USER variable for the password to unlock the computer. I am running this on Fedora 24. I need this to be in a shell script because it is being executed ...
0
votes
1answer
16 views

lxsession-logout vs lxde-logout

I'm new with lxde, I installed it on ubuntu 14.04 using sudo apt-get install lxde. But the problem I have is that I want to logout without a prompt. I've read some articles about this and they ...
3
votes
1answer
151 views

Access a file in PHP through a symbolic link from a user that normally doesn't have permission

I have this website, where if the user submits a form, a python script is executed through a php page, and the python script creates a zip file and should offer it to the user for download through a ...
-6
votes
1answer
49 views

How to determine current users who are logged in using a specific domain? | UNIX [closed]

I want to know How to determine current users who are logged in using a specific domain? For example, here is the question. Please tell according to it using the grep command and use of wc. ...
222
votes
8answers
821k views

How to switch between users on one terminal?

I'd like to log in as a different user without logging out of the current one (on the same terminal). How do I do that?
1
vote
2answers
12k views

vsftp user authentication problems

I configured my ftp user's home dir to /var/www and set a password but I cannot login with ftp 127.0.0.1, it keep giving me 530 Login incorrect. Why is this? I'm sure I have typed the password right. ...
1
vote
1answer
63 views

Cannot SSH into WD my book [closed]

The only two users on my NAS that I can SSH to are the defaults 'root' and 'admin'. Answers that I've come across so far are like this, where I set things in /etc/ssh/sshd_config like AllowUser ...
2
votes
1answer
5k views

Permission denied for user accessing mount

Using root I can mount another Linux share no problem. root@crunchbang:/mnt# mkdir javalib root@crunchbang:/mnt# mount -t cifs //10.1.3.7/javalib ./javalib -o username=guest Root can read/write to ...
1
vote
2answers
43 views

Which user does vi run commands as?

This maybe a weird question but please listen carefully Let's say I have a file as -rwxr-w--- user3 user2 4095 somefile Right now I'm in a user2's shell(? is this right to say) and if I execute ...
26
votes
2answers
95k 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
2answers
120 views

Specific user account for Apache in the /var/www directory

I will explain as best I can. On my previous server my friend set up a user called webslave. This user's home directory was /var/www. When I would use FISH protocol to transfer files (using Krusader)...
-1
votes
2answers
267 views

Passwordless login (from physical console and from others users)

How to configure an user (in debian) to login without password ? An user without password needs to login in physical terminals (ttys - not pty) either using su - user from another user, without ...
0
votes
1answer
30 views

problem of denied access using kvm

I would like to test kvm with opensuse tumbleweed. I successfully installed kvm, but I am stuck in creating my first VM. The trick is that I want to have the VM's directory in an external HDD. When ...
1
vote
1answer
49 views

Understanding unix user [closed]

Basically I want to know if my understanding of unix users is correct. 1) A unix user is basically a different set of permissions on some set of files and directories in a filesystem. For example a ...
4
votes
1answer
55 views

What's the meaning of a '#' character before owner?

What does the # character preceding the owner name mean? For example: me@server /dir/sub/sub-sub $ ll v* x* -rwxrwxr-x 1 #owner group 1176 Jun 25 2009 vfc.sh -rw-r----- 1 #owner ...
2
votes
1answer
96 views

Restrict local website to selected users

Suppose I have two local websites under /var/www/mysite1 and /var/www/mysite2 via apache I can access them via localhost/mysite1 and localhost/mysite2. The pages are for local use only and I have ...
0
votes
1answer
32 views

How do I add a user to a group

How do I add a user to a group. This is on a system with no root password and only a single user pi with sudo privileges. usermod seems to have been designed to make this as difficult as possible.
0
votes
1answer
25 views

How to give a particular use's privileges to another user in Debian?

Lets say in my Debian PC have 2 users called cat and dog. I want to use sudo setup to give dog's privileges to cat. So cat can do what dogs do. I'm new to sudo stuff but I tried below config. It ...
0
votes
1answer
108 views

Difference between sudo user and root user [closed]

The /etc/sudoers file lists which users can do what with the sudo command The root user creates and modifies the /etc/sudoers file. This concept is difficult for me to understand. If all users ...
0
votes
1answer
36 views

adding a sudoer in debian

After a long search on the web, trying everything I can find I came to ask you guys, how can I add an existing user to be a sudoer? I've tried usermod -a -G sudo user and also adduser user ...
2
votes
3answers
258 views

Hide ones command history from other users on a Linux server

When I log in via ssh on a Linux(Ubuntu) server, I notice that all the bash commands executed by other users on the server are saved in the command history. Is there a way that could allow me to hide ...
0
votes
1answer
111 views

Is AWS AMI 'apache' equivalent to Ubuntu 'www-data'?

I'm trying to convert a Chef script that's used in AWS OpsWorks for an Ubuntu system to a script I can use with my AWS OpsWorks setup for my Amazon Linux AMI installation. Their Ubuntu Setup: sudo ...
0
votes
0answers
29 views

Another El Capitan permissions issue

Been to the depths of the web trying to repair my Mac HD and Home folder permissions. I would like to get back to default setup without losing user data. Any and all help is appreciated. Can't run ...
0
votes
2answers
67 views

How to add users from data in a text file

I am a beginner in linux. I have a question about creating multiple users in linux, but I need a program to work on it. There is a new users txt file, the content is following: adams:5000:Adams, John ...
3
votes
1answer
38 views

Why are folders in home directory (Documents, Pictures, etc) created only after the first graphical login?

I am learning Red Hat Enterprise Linux 7. After creating users as root, if I login as the new user using "su - username", there are no directories in the user's home directory . Once I login as the ...
0
votes
0answers
13 views

What will be the result when USERGROUPS_ENAB is set to no in /etc/login.defs and no groupname is specified when using the commnd useradd

The default command when we add a user is: sudo adduser -m -g initial_group -G additional_group -s login_shell user_name In /etc/login.defs USERGROUPS_ENAB is set to yes by default This means ...
3
votes
1answer
41 views

Questions about sudo

I have a couple of questions on using sudo: Give Ben sudo access to the machine Give Tim sudo access to the following tool : iptables For (1) I just address Ben to the sudo group. So I did: ...
1
vote
0answers
18 views

Users in sshfs filesystem, or alternatives

I'm trying to use sshfs as a filesystem with encrypted communication. It mostly works, but I'm having some problems related to users/groups. Since I need any user to be able to access the whole ...
21
votes
11answers
7k views

How to create strong passwords in Linux?

I wonder how I can create strong passwords on Linux (for both normal and admin users) and if there are specific programs to do that.
2
votes
1answer
10k views

Trouble adding existing user to existing group in ubuntu

I was trying to add a user called bill to www group useradd -G www bill It gives me error UX: useradd: ERROR: bill is already in use. Choose another. I checked if this user already in the group ...
0
votes
1answer
40 views

Cleanest way to require the user to enter password to run a program?

What is the cleanest way to require the user to enter password in order to run a particular program without the use of third-party applications? For example, if I type firefox to launch it from the ...
2
votes
2answers
363 views

Delete every users from a group

I search a clean way to delete every users from the 'sudo' group. On several distributions the user created during the installation process has sudo rights, I don't want this. I search for an ...
1
vote
1answer
44 views

How to :Autorun scriptshell after user log-in

I am writing a program in java programming language on Raspberry pi. As you know Raspberry pi is working on Rasbian Unix based OS. I have created my java fx gui application and set it to myscript ...