4
votes
0answers
195 views

Is there a tool(!) to list assigned subuid and subgid values for users?

The question is basically in the title. usermod -v (--add-sub-uids) and usermod -w (--add-sub-gids) can be used to manipulate the subuid and subgid ranges for a user account, but there appears to be ...
20
votes
1answer
2k 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
2answers
252 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: ...
1
vote
2answers
66 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?
0
votes
0answers
21 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 ...
4
votes
2answers
208 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
584 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
443 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 ...
1
vote
1answer
337 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 ...
6
votes
3answers
145 views

Passwords for newly created users?

I am fairly new to Linux and I have question regarding users. When I use the useradd command I don't specify a password. I must use the passwd command afterwards. Does this mean that the user is ...
2
votes
1answer
2k views

Proper way of changing username in Ubuntu or any linux

I am using Ubuntu 12.04 and made some customization. I will also make it a new iso which is customized ubuntu. What I want to ask is how can I change my username. There are plenty much configuration ...
4
votes
2answers
254 views

How do I execute a command on login for a system user with no home folder and no personal .bashrc file?

I set these users' home folders through the /etc/passwd file, but when they log in I would like them to activate a python virtualenv. If they had a personal .bashrc file, I'd just include the activate ...
1
vote
1answer
175 views

Remove user space quota in Ubuntu 12.04?

I'm trying to install Unity3D but I only have 1.5GB (EDIT: I forgot to mention this is what the Unity3D installer says, but I have also had problems with downloading things of large sizes) free space ...
2
votes
2answers
7k 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
2answers
97 views

Creating a User-less Distro

One of the popular programs I use is GParted, and it has its own custom distro, that boots straight to the desktop, and starts the program. I couldn't find any information on creating such a distro. I ...
2
votes
2answers
265 views

How to open a program as another user inside a logged display?

I'm trying to open netbeans as a different user, but isn't working. I'm running a Kubuntu 12.04 LTS with KDE. And I tried the following: Open a terminal, type su - myotheruser, type the myotheruser ...
1
vote
0answers
39 views

Create a browser only session (Ubuntu) [duplicate]

I was recently in a Virgin media shop and was interested to see that they had laptops running Ubuntu for customers to browse the web on. The setup itself was interesting and I'm wondering if anyone ...
5
votes
2answers
8k views

Creating an user without a password

I'm trying to create user without password like this: sudo adduser \ --system \ --shell /bin/bash \ --gecos ‘User for managing of git version control’ \ --group \ --disabled-password \ ...
2
votes
1answer
969 views

How to change the username in Ubuntu 10.10?

I want to change a username. In the prompt, which says abhishek@hello$, I want to replace abhishek with alok (i.e. alok@hello$). Is it possible to do that without reinstalling Ubuntu?
3
votes
2answers
207 views

What is the proper solution to a web server trying to write to a directory?

So, I have a box with a "deploy" user. This deploy user owns a code repository and wordpress is running on this box... When wordpress attempts to do something like upload a plugin, it is using the ...
1
vote
2answers
416 views

Can't SSH/FTP into new user account in Ubuntu?

Created new user from shell script using following command: sudo useradd $1 -p $2 --home /var/www/$1 I'm not able to login to FTP or SSH as that user, do i need to add the user to some group for ...
2
votes
1answer
256 views

What user installs a .deb package?

I am experiencing a behavior in the installation of a .deb package that I don't really understand. I have a set of "things" in my computer that I deploy to remote computers using a .deb package. I ...
1
vote
0answers
294 views

Adding a second user to a system group? [closed]

I am trying to get around a permission issue I am having. The only reasonable option (other than ACL) is to add the user that needs access to the system group of the user that has access. Yes, the ...
8
votes
5answers
11k views

Can a linux user change their password without knowing the current password?

I'm setting up a few ubuntu boxes, and using opscode's chef as a configuration tool. It would be fairly easy to install public keys for each user on each of these servers, and disable password ...
6
votes
3answers
19k views

How can I look up a username by id in linux?

The command id can be used to look up a user's uid, for example: $ id -u ubuntu 1000 Is there a command to lookup up a username from a uid? I realize this can be done by looking at the /etc/passwd ...
2
votes
1answer
861 views

Ubuntu 11.10 Server: create user, home directory, sudo privileges: command line only

I have a rackspace server and I'm having problems with configuration. I need to lock it down and throw away the key, because right now I can only login with root to do anything substantial. I also am ...
11
votes
1answer
6k views

How do I set a user's default .bashrc file?

On Ubuntu 10.4 I have edited the /etc/bash.bashrc file to set some variables like the command history size (HISTSIZE=5000), however if I create a new users Ubuntu by default gives them a .bashrc file ...
1
vote
1answer
3k views

How to show and modify user info in Ubuntu server?

If I want to put some personal information (like Full Name) to an account, how can I check it again? And how can I modify it? On Ubuntu server. With command line only.
0
votes
2answers
196 views

Can't login into webmin on a VPS

I bought a VPS server, and I have installed webmin on it. When I want to login to webmin via: http://88.198.196.118:10000/ it will redirect me to: ...
4
votes
2answers
960 views

How to see who is logged on to many workstations?

Before I go to work creating my own I would like to find an existing system to do the following: Provide a concise list of users logged on to any of the workstations Show workstation host name, IP, ...
3
votes
1answer
4k views

smbpasswd failed for new Samba install on fresh Ubuntu 11.04

I've installed Samba on a fresh Ubuntu install. I run the command sudo smbpasswd -a someuser New SMB password: Retype new SMB password: Failed to add entry for user someuser. I've read that you ...
5
votes
1answer
4k views

What is hvc0? (appearing in “who” list)

I have an Ubuntu Server, and when I type who, to see who's connected, I can see that there's a user connected, and instead of being logged to a pts/x, he's connected to hvc0. Is there something to ...
5
votes
1answer
727 views

Why root's default shell is configured differently with other normal user account's default shell?

As I know, root's default shell is configured csh and normal user's default shell is sh in FreeBSD. And in Ubuntu, root is dash, normal user is bash. (refer: What's the Ubuntu's default shell?) Why ...