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

learn more… | top users | synonyms

9
votes
1answer
829 views

User permissions inside and outside of LXC containers?

I'm running some services inside of Docker LXC containers on my server and I'm beginning to actually do serious things with them. One thing I'm not clear on is how user permissions work inside and ...
0
votes
0answers
33 views

Is it possible to edit the '$' or '#' symbols for users? [duplicate]

What file needs to receive edits in order to make such adjustments?
1
vote
1answer
74 views

What is `plan` for users?

Sometimes, I use finger - and I can't help but notice that when I specify a user: finger admin - The last thing the output says is: No Plan. What does that mean? Where can I find out more about ...
0
votes
3answers
111 views

Switch user on terminal

I'm switching user using command: sudo su - userName On my terminal I always have: user@user directory $ (some command) But when I switch user I have only : $ (some commands) It is hard to ...
4
votes
2answers
99 views

Why are newly created users assigned to primary groups of their usernames?

I've noticed that on a number of linux distributions that whenever a new user is created, it is assigned to a primary group of its own name. eg. If i create a user called "testuser", by default it is ...
3
votes
1answer
163 views

Enable superuser when logged in with another user

Suppose that the machine has two users: Alice (admin) Bob (standard user) While Bob is logged in, how can Alice modify a root file (Bob does not have this permission even with sudo)? Alice tried: ...
0
votes
0answers
47 views

Tracking user CPU hours

I am looking to work out which users on our system are using the most CPU resources. to check this? So I would like to find out: CPU-hours this month, (and % of total) CPU hours this week, (and % ...
20
votes
1answer
3k views

What does adduser do that useradd doesn't?

In addition to the more widespread useradd, Debian based systems also contain an additional adduser command which provides a higher level interface for adding users and some related tasks. There are ...
1
vote
1answer
478 views

Switch User won't work in Xfce

I'm trying to do Switch User in action buttons but gets me following error : Unable to start new display GDBus.Error:org.freedesktop.DBus.Error.ServiceUnknown: The name ...
6
votes
4answers
368 views

How to only zip the files of a specific user?

I like zip, it's simple, but recently I came with the need of only zipping the file owned by one user in a directory. I read the manual and I can't find any option to for example do things like: ...
1
vote
2answers
340 views

I can not log into Ubuntu 12.04

by ignorance and error I renamed the user_name of the directory /home/, called frank_account (home/frank_account) to sixven(/home/sixven) (using gksudo nautilus). Restarting Ubuntu, I get 3 users: ...
2
votes
0answers
84 views

gnome “switch user” shortcut or command line

Is it possible to switch user of gnome desktop environment by single command or any shortcut key, in centos 6.0, or Can we create shortcut key? I found "fusa", but still unable to install it.
3
votes
1answer
275 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 ...
0
votes
3answers
33 views

Set the default permission

When I create a file, the permission is 644 (user rw, group r, other r). How can I make the default file generated to have permission as 664?
1
vote
0answers
152 views

How is a username determined and can I hide the domain component in a winbind username?

Someone asked a question on Server Fault about a problem which I'm also having but no one has answered it so I'm posing a slightly different question to try and figure it out myself. I've configured ...
0
votes
3answers
213 views

Can sudo to user but 'run command as' is denied?

I was wondering how to run a command as another user from a script without password. sudo -l return: (root) NOPASSWD: /bin/su - someuser There is no problem to sudo as someuser. Command sudo su - ...
-1
votes
1answer
42 views

How to enable someone to SSH to my server from Windows? [closed]

I want someone from windows to log in into my server using SSH, so he can edit files and install things. Is there a step to step how to do it? I need to: Create his user account. Configure it, ...
0
votes
2answers
1k 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. ...
2
votes
1answer
24 views

can't change user

I setup vsftp with my ftp users' home directory at /var/www but I realized, it wouldn't let em login by ftp, I tried to connect to 127.0.0.1. So then i wanted to "try out" my ftp user on the shell but ...
1
vote
1answer
78 views

super user group or user?

I am using the following command in Oracle Exadata: sudo su - odiadmin As sudo prompts for my own password, I am wondering if I upgrade myself to super user or do I switch to superuser ...
0
votes
0answers
23 views

How to allow user to only rsync/download only one directory through SSH [duplicate]

What I want to do is to give to user a simple script to run, that will sync some directory from my VPS to their machine, authentication would be done by using pubkey, and I would like to have control ...
4
votes
1answer
143 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, ...
1
vote
2answers
31 views

Backup server users creation

I have a RHEL server which acts as the web server for all the users (around 1000 users). Now, I have a backup script which backs up the data (all data inside /home folder) into an external HDD. This ...
0
votes
1answer
50 views

How do I change user to uid/gid 760?

I requested creation of new user (so that all processes by particular program could be owned by this user). Our admin told me that this new user has uid/gid 760. Please, how do I switch to this ...
0
votes
1answer
217 views

Is it possible to make a standard user that can gain NO access to root?

I'm a very new beginner learning how to use Linux. I have very little experience so far in different distros. I've set Kali Linux as the OS on a remote PC. Users will be connecting to it via SSH and I ...
4
votes
2answers
442 views

Allow user1 to “su - user2” without password

I need to allow user martin to switch to user martin-test without password su - martin-test I think this can be configured in /etc/pam.d/su. There are already some lines in that file which can be ...
1
vote
1answer
58 views

How do I identify the user that is attempting to create a file?

I have a PHP script that is attempting to create a file, but it can not because of permissions. I would like to identify which user the system sees as the one requesting to create the file. I would ...
1
vote
2answers
74 views

Creating a user valid for a given time period? [duplicate]

I wan to create a user on Ubuntu valid for 10 min. How can I do that if it's possible?
2
votes
1answer
65 views

tftpd runs as root, despite explicit option “--user tftp”

I start my tftp server with the option --user tftp so that it runs as user tftp instead of root. However, ps shows that the process still runs as root ps aux| grep tftp root 2542 0.0 0.0 ...
4
votes
2answers
2k views

How to change default shell to ZSH - chsh says “invalid shell”

I installed ZSH on a VM of mine, where I compiled it from source. The location of ZSH is /usr/local/bin/zsh when I run chsh -s /usr/local/bin/zsh it outputs chsh: /usr/local/bin/zsh is an invalid ...
2
votes
0answers
148 views

What are the default openSUSE 13.1 user groups?

I just installed openSUSE 13.1, and I can't even start X on boot. I have to switch to another tty and type startx (after I set suid for xorg). On top of this, I can barely do anything without root ...
0
votes
1answer
25 views

Are the crontabs of users linked?

Our Linux server has a community user that has a crontab for itself. The admins don't want me to schedule my scripts on their crontab because they don't want to take responsibility for my programming. ...
1
vote
1answer
12k views

How can I create an SFTP user in CentOS?

I'd like to give temporary SFTP access to a support guy. How do I create an SFTP user? And how can I delete it once the job is done? Also, how do I specify a home directory for them? Can I prevent ...
0
votes
0answers
24 views

Run Xdotool on multiple users at once

When running Xdotool on user one (cron): * * * * * export DISPLAY=:0 && xdotool mousemove 10 10 and I switch to user two for several hours, and back to user one, I find out Xdotool not ...
1
vote
1answer
600 views

Reverse id command, I want the User/Group Name from the uid or gid

I know some uid and gids that I dont know who they belong to and they are not in /etc/passwd (could be LDAP or from another system). How do I get Id info from only uid or gid preferably without using ...
1
vote
2answers
92 views

How to get the group that a user belongs to in SCO

I can see how to add a user, but is there a way to get information on a user, such as the group that it belongs to?
4
votes
2answers
234 views

How to control the time that users spend on

I need a solution that allows me to control the time that each user spend on the computer, excluding idle time (some kind of parental control). I've tried timekpr, but it doesn't work on Ubuntu 13.10. ...
0
votes
2answers
1k views

Samba shares - Cannot access with users

I have installed a Samba server on Ubuntu Server 12.04 so I can store files there from my desktop or laptop or whatever. /etc/samba/smb.conf: #======================= Global Settings ...
1
vote
5answers
970 views

Is there some default password for a new user in Linux

I am a Windows user gradually moving towards Linux. In windows we have an option of either having or not having some password for an user.Once we do not put a password we can directly log in to the ...
6
votes
1answer
169 views

How do daemons work?

If a user wants to execute a command, he has to first log in into a system. But some users in the system have /bin/false or /sbin/nologin set as a default shell in the /etc/password file. If I change ...
1
vote
1answer
470 views

The other users: avahi, root, syslog, messagebus,, nobody, ntp, rtkit and whoopsie

What are all these other users (found them with top) when running Ubuntu: avahi, root, syslog, messagebus, nobody, ntp, rtkit and whoopsie. I am aware that whoopsie, for example, is for reporting ...
3
votes
2answers
618 views

Listing users and usergroups in Raspbian

It surprised me no search has led me to a such simple question like this one. All I want is to get a list of users and usergroups (whatever the second thing actually is). I've found many text about ...
1
vote
1answer
555 views

How do I change login shell to nologin for an LDAP user RHEL 6?

yum install ypchsh and yum install ldapmodify both don't find a package. I only want to change the shell for certain ldap users on this one server. Someone please help, I can't seem to figure this ...
2
votes
2answers
99 views

Configure external HDD for use with multiple linux PCs

I've got an external drive, and I'd like to have a linux partition on it. I formatted everything correctly on one machine with Fedora20 (I have one ntfs and one ext4 partition), but when I plug it in ...
0
votes
1answer
166 views

Why can my gentoo systemd installation only execute files as root?

If I try to login as any other user, via su it says 'permission denied'. If I use su -l it says 'canot cd to /home/<user>'. Logging in via the tty just kicks anyone without a message out except ...
3
votes
1answer
333 views

How to properly setup user/groups/permissions for a web server?

I spent all day figuring this out, but without success, so hopefully I can get some help here: I have Ubuntu 13.10 VPS server with nginx, PHP 5 and MariaDB installed. I created custom system user ...
0
votes
1answer
161 views

How to make a Torrent client keep the same torrent data for multiple users?

I'm running Linux Mint with two user accounts. One account has admin priviliges while another is a normal account. If I start a torrent download in admin account I want that to continue even in the ...
5
votes
1answer
325 views

Whta does '\+::::::/bin/bash' in /etc/passwd mean?

Found the line \+::::::/bin/bash in my /etc/passwd, which looks strange to me. What does that mean? Has my computer been hacked?
3
votes
1answer
80 views

Gives access to root user for a period of time

I want to know if it's possible to give access to root user for one week or a month, for example. It's possible to increase the period of time before the defined period ends? Is it possible to give ...
1
vote
1answer
349 views

Granting permission for all users in a group to write to a directory and all its subdirectories

Trying out Linode for the first time, running an Arch Linux image, I successfully installed nginx as root. This, however, made /usr/share/nginx/html inaccessible to non-root users. Intuitively, I ...