For questions related to users, user accounts, user permissions or guest accounts.

learn more… | top users | synonyms (1)

1
vote
2answers
230 views

How can I disable the Terminal Emulator for certain users?

How to prevent specific users from using the terminal emulator?! I make a trick by writing a script in .bashrc which request a user to enter a password to be able to use the terminal emulator. But ...
0
votes
0answers
21 views

User account history showing incorrectly

I have found that in System Settings > User Accounts that if you select an account and then select the button called History (which is meant to show the login history for that account), it will ...
0
votes
1answer
8 views

How to set default account-expiration date for all new users?

How can I set a default account-expiration-date for all new users? I know we can do it for every new added user with the --expiredate, but I want that it is default and done for every new user! ...
0
votes
0answers
7 views

How can I rescue or restore parts of a user's X session or plasma config which was corrupted by a full disk?

What happened: I was downloading about 2GB of driver files when I ran out of disk space. My computer started running very slowly and eventually I had to hard reset. I'm running Kubuntu 15.04. / is ...
0
votes
1answer
17 views

Strange output when deleting user

I just added a new user to the system (Ubuntu 14.04 LTS server) using adduser --force-badname myNewUser After deleting it again with: deluser --remove-all-files myNewUser the system was ...
2
votes
0answers
42 views

How to add flags and/or arguments to a command in the 'sudoers' file

How would I add flags and/or arguments to allow users in the sudoers file to run certain parts of commands, such as only allowing a user to run sudo rm and not sudo rm -rf? I am using 14.04. # # ...
0
votes
1answer
26 views

Restore permission default of /usr folder [duplicate]

I ran a stupid command: sudo chown -R ngoclb:ngoclb /usr. Then I couldn't use sudo command and login to Ubuntu. To fix this issue, I using recovery mode to chown /usr to root (sudo chown -R root:root ...
8
votes
1answer
792 views

How to change file ownership when chown says “invalid user: ‘–R'”?

ubuntu64@ubuntu:/$ sudo chown –R hduser:hadoop mongodbdata chown: invalid user: ‘–R' When I try to change the ownership of the file, I am just getting invalid user: '-R' error.
2
votes
3answers
205 views

Lost user login on upgrade to Ubuntu 13.10

I just upgraded to 13.10 this weekend (I know 14.04 is out, I'm not doing that yet) and have lost my login. There used to be two user accounts I could choose to log in from on the startup page, mine ...
0
votes
0answers
32 views

Windows domain users cannot login Ubuntu 14.04

I have an assignment that requires windows domain users to be able log in with their designated username and password, but it's not working for me. And Yes, I have enabled and configured that file to ...
0
votes
2answers
32 views

I need to make a batch of users

I had written some code that would allow me to make a batch of users based on a file with usernames in it. But it eventually went from just a few lines to about 50, and I deleted it. There has got to ...
0
votes
0answers
21 views

Ubuntu admin user privileges error

When trying to change settings in the network toolbar dropdown, I get this error: Connection activation failed (32) Not authorized to control networking.` When trying to mount a USB drive: Unable ...
0
votes
1answer
16 views

defining which user untar and make the programs for files

I have untar and compiled the source files for the software. How I know whether I was in root or user while these process? directory name includes the source file:GAMIT path: /home/sorbilene/GAMIT
0
votes
1answer
20 views

Does a user creating text file need to be in a specific place?

I've got several scripts which wont work for me but work for others. Their purpose is to add users to the system, and then assign them to groups. I wrote it as a nano bash file; does it need to be ...
-1
votes
2answers
42 views

How do I print all the usernames that have same UID in `/etc/passwd` by using awk?

How do I print all the usernames that have same UID in /etc/passwd? This is my command $ awk -F: '{print $3, $1}' us.txt | sort 0 daemon 0 pepe 0 root 2 bin 2 jacinto 3 paco
0
votes
3answers
63 views

how to restrict time used for using computer in Ubuntu

I want to restrict the access to user accounts for employees to the working hour daily. Monday to Friday (8:00-17:00) Saturday (8:00-13:00) How to do this?! Command line and GUI apps are well ...
1
vote
4answers
108 views

bash shell script

How do I write a bash shell script that requests the user's name, verify that it exists and, if it does, show the following information: Username: xxxx User ID: xxxx Group ID: xxxx Shell: / bin / xxx ...
1
vote
3answers
146 views

How to list users with UIDs higher than 10?

What commands can I use to display all users who have an identifier (UID) that is greater than 10?
2
votes
1answer
25 views

Server - Run a program allowing it to write only on a specific directory

i'm a web developer and i need to run some third-party programs on my server. Since these programs are third-party and i'm not always 100% sure of their reliability, i would run these programs with ...
0
votes
2answers
17 views

Administrators can change passwords of other administrators

I seems that a user set as an "Administrator" can change passwords of not only "Standard" users, but also other administrators. Is there a way to make it so that administrators (there are multiple on ...
1
vote
1answer
3k views

sudo mysqldump : Permission denied

I am trying to run sudo mysqldump with user account but I get : Permission denied message If I switch to sudo su then it works. The question is why sudo gives permission denied? should i give ...
0
votes
2answers
3k views

Upgrade to 13.04, user picture shows up on lightdm. Can I change it?

So, I recently upgraded my Xubuntu to 13.04, and afterwards I noticed that there is now a picture of me on the lightdm login screen. I have no idea where this picture came from, I don't remember it ...
23
votes
4answers
34k views

Simple & easy way to jail users

I need a simple and easy way to jail users in their home directories in Oneiric. Do you have a simple configuration for jailing users, with full help, or some good web links? I would be offering an ...
2
votes
0answers
23 views

Creating a normal user without sudo access but with ability to switch to another admin user

User A - can't be part of sudo or admin group, ssh keys based identity setup for ssh login, can't be a guest account User B - no home folder, must have a password, can't have independent ssh login, ...
8
votes
2answers
11k views

How to run crontab as user:www-data?

My LAMP is setup to work as user:www-data and all files and folders are created with that permissions. I have setup for crontab as user@ubuntu. So i do crontab -e and use this command: */5 * * * * ...
30
votes
9answers
166k views

How do I kill processes in Ubuntu?

How do I kill all processes running by my own non-root account? I have some spinning smbd processes that I caused from my windows machine and so I telnetted into the linux server and I want to kill ...
2
votes
3answers
3k views

Problem with Winbind/Samba

I've been having an issue on my network that has completely vexed me. I have three workstations running Ubuntu 13.04, one Windows 7 workstation, and three servers on Ubuntu Server 12.04. One of the ...
1
vote
1answer
154 views

User Groups and Advanced Settings in 15.04

Ubuntu used to allow me to change user's groups and advanced settings within the "User Settings" GUI. These options are gone now in 15.04. Where do I go to find these settings? (Using the command ...
0
votes
0answers
29 views

Free Radius User Authentication

I have a question regarding Freeradius.As of right now I this is a sample of how my users are set up /etc/freeradius/users Test Cleartext-Password := "test123" Service-Type = ...
0
votes
2answers
35 views

how to delete a user from ubuntu with the same uid of myuser

There is an option to have more than one user on your linux box and use them for different task. So, basically, I used it sometime to have different instance of application for different projects. For ...
93
votes
19answers
25k views

Why is it bad to login as root?

I've often come across posts on forums or other websites where you see people joking in such a manner about running/logging in as root as if it's something awful and everyone ought to know about it. ...
8
votes
6answers
2k views

List all human users

How can I list all human users that I've created? I've tried cat /etc/passwd and it just lists a lot of stuff.
-1
votes
1answer
36 views

How do i login to an account from another computer like windows? [closed]

How do i log into a server computer from another computer like you can do on windows?
2
votes
1answer
41 views

Disable editing account info

I have a public desktop running ubuntu 14.04 with a public account (no guest account). People can change the full name of the user through the user accounts GUI. Is there any way to block this? I ...
0
votes
1answer
14 views

How can I get a Byobu split to reload users permissions?

Having updated a users group with usermod -G <grouplist> <user> in one Byobu split, I was hoping to be able to open a new split and have the permissions take effect there.. rather than ...
2
votes
1answer
197 views

Configuring logrotate without root access (per user log rotation)

How best can logrotate be configured, on a per-user basis, to rotate files in the home directory of the user, under control of a per-user crontab -e?
2
votes
1answer
562 views

Need help installing LibreOffice 4.4 on Ubuntu 15.04

From a new Ubuntu 15.04 install: When launching any application of the LibreOffice suite the LibreOffice splash screen starts with the following error box: LibreOffice 4.4 - Fatal Error The ...
4
votes
1answer
62 views

How do I allow a user to only run the apt-get update command with sudo?

I cannot figure out how to allow a user (in this case test) to only be able to run the apt-get update command with the sudoers file. When ever I try to add the user and then test it out it still does ...
1
vote
1answer
47 views

Root access stripped off my user [closed]

I think my user id has been stripped off its root access. I can't do anything on the GUI interface, can't mount drives, can't update softwares (only partial update allowed), can't add or delete users ...
3
votes
1answer
958 views

Restrict access to my home folder from another standard user account

I have made a new user on my machine to be used by my family. But when I logged in to the family account which is not an administrative account, I could access my home folder(which is an ...
16
votes
6answers
40k views

Can I set my user account to have no password?

If I attempt to change my password to nothing by opening "User Accounts", the "Change" button remains greyed out: How do I change my password to be empty? I know you can set Ubuntu to automatically ...
0
votes
0answers
34 views

Error while sharing a folder with domain admin account

I am using ubuntu and windows server 2008 in a virtual box. i added ubuntu in a windows domain. I have created a user account named user123 during installation of ubuntu. I can share a folder with ...
6
votes
1answer
36 views

How can I preset aliases for all users?

I have Ubuntu 14.04.2. I want to make it so all users automatically have a specific set of aliases. I have my aliases set in my personal .bashrc, but I don't want to have to manually copy them into ...
0
votes
0answers
43 views

Permission problem

I'm running a vsftpd FTP Server, where system users can login. An application that must be running with root rights, is writing files in the directory of the ftp users. I've created a new group ...
0
votes
1answer
38 views

How can I add more user?

Ubuntu 14.10 Desktop has been installed. An account and a guest are seen on my User Account. A button to add more user is deactivated. What should I do to do? HELLOVENUS Fantagio
4
votes
3answers
15k views

Proper way to add a user account via bash script

Here's the script code I'm using now: getent group $MYGROUP if [ $? -ne 0 ] ; then sudo su -c "groupadd $MYGROUP" fi sudo su -c "useradd mynewuser -p mypassword -m -g $PRIMARYGRP -G $MYGROUP" ...
3
votes
2answers
145 views

What is “root” and how can I become it? [duplicate]

When I ran a command, I got the following error: You need to be root to perform this command. What is root and how can I become it?
0
votes
1answer
39 views

problems with one user [duplicate]

I am an amateur. So there is nothing simple I should know. Basically, I installed Linux on a my PC as windows 7 kept freezing just to give something a try. It worked. So my brother made me make him ...
0
votes
0answers
7 views

Managing permission for multiuser manual installation in /opt [duplicate]

Similar questions have been asked but I can't seem to find a proper answer. Basically, I am installing several application manually e.g eclipse, android-sdk, android-adt, arduino etc. and have ...
0
votes
1answer
25 views

Dynamically set user groups for directories and files on a directory

I have made some vhosts which resides on my home folder, and i have given the group access to www-data user. This way the project (a web system) renders on the browser. This is a symfony based ...