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

learn more… | top users | synonyms (1)

0
votes
2answers
2k views

Give user permissions for root folder [duplicate]

hi so I have installed xampp on my Ubuntu laptop and I want to give the user "John" full permissions on the folders /opt/* How can I do this? Right now you need to be root
1
vote
1answer
24 views

Diffrent sets of applications for each user

I want to try out some alternative desktops, see whats going on, but I have a annoying issue, when I install a desktop package I get all the applications and stuff that come with it just added to the ...
0
votes
1answer
95 views

Login automatically after PC goes to sleep

My user account's state is this: However, when my laptop falls asleep, it prompts me for a password when I awaken it up (by moving the mouse for example). How to avoid that?
4
votes
3answers
379 views

How can I log file access from users?

I have to give someone access to my computer, but I want to know afterwards which files he accessed... Can I create a log file for that? Is there an existing program for that? I know how to track ...
3
votes
1answer
252 views

Possible to run graphical sessions on multiple TTYs?

On a default Ubuntu (15.04) installation, We have 7 TTYs that we can switch with Ctrl+Alt+F1 (or F2 - F7), where TTY1-6 are terminals and TTY7 is the graphical X session. I would like to have more ...
0
votes
2answers
268 views

Run sudo commands from standard account

I've recently had an increased interest in how multiple users are handled in Ubuntu, and have hit an interesting problem: running commands as sudo from a standard account. If I run a GUI application ...
0
votes
1answer
132 views

PostgreSQL User Authorization/Configuration Issues

I've installed postgresql 9.3, but can't get any users authorized. I also can't use initdb or pg_ctl. I can't find pg_hba.conf either.
0
votes
1answer
66 views

Landscape is missing user information in web interface

We have a custom installation of Ubuntu Landscape 15.01 in our network (using the instructions from here: How do I install Landscape for personal use?), and installed several servers that connect to ...
3
votes
3answers
3k views

Command to list all users with their UID?

How can I list all users along with their UIDs? I want to do this from the terminal.
2
votes
1answer
724 views

Why I can't change my username in Terminal? [duplicate]

I started working recently with Ubuntu and changed my username. I changed the "v" tiny by capital "V", but in Terminal remains the same.
0
votes
0answers
45 views

Can I add another user to my main user group without side effects?

I'm trying to set up SSH access on my computer. I want only SFTP to be enabled, so rssh seems like an option. I have the following plan: (My default user is called sebastian) chmod -R go-w ...
2
votes
1answer
70 views

Use common data folders for two users instead of separate ones

I have a 15.04 machine with basically 2 user accounts, an admin and a restricted user. What I want is that both of them have separate home directories (for system/application settings etc.), but use ...
1
vote
0answers
99 views

Expired Account on Ubuntu 14.04

my admin account on my computer expired. I set the expiry date myself exploring different account modifications but apparently forgot to reset it. I would like to reactivate it or create a new user ...
4
votes
2answers
537 views

Clone user account but change privileges

I have a fully set up admin account on my system (15.04) I daily used. For security reasons (I know I should have done this long ago, but better now than never), I want to switch over to use a ...
0
votes
0answers
19 views

How do I add an existing ubuntu user to a new domain?

Our organization is making some changes in their security model and they have created a domain server with which each machine would be linked. For this, they have created a new user on my laptop which ...
1
vote
0answers
37 views

Approximately how many people uses Ubuntu and linux in general? [duplicate]

It really interest me one thing. Approximately how many people uses Ubuntu and linux in general? Since it has cc 1,50% market share. How much downloads Ubuntu has?
0
votes
1answer
395 views

User Groups Best Practices in Ubuntu Server

I reciently decided to manage my own web server (Ubuntu/Nginx) and as best practices I went and disabled the root user and created a new one with root privileges. When I created the new user I didn't ...
1
vote
0answers
19 views

Why does running awk on /etc/passwd gives nobody? [duplicate]

When I run the command awk -F: '$3>999 {print $1}' /etc/passwd I see this: nobody tim askubuntu Why is there a user called nobody? The only 2 user accounts I have are tim and askubuntu.
0
votes
1answer
38 views

I moved my home folder

I was trying to move my home folder to another account so hopefully my programs would have run faster on a new user. But apparently that did not work out well and I can not login to either accounts. ...
1
vote
2answers
140 views

how to create users on the fly

This is just a bad idea that I just had. Is there a way create users accounts on the fly? Say I have a Ubuntu vm created, and I want to give a bunch of people access. But for whatever reason I ...
3
votes
1answer
276 views

How to create a file in a specific location for every user?

I'm running an Ubuntu LTSP setup at a school with about 60 unique users. Occasionally, we need to share a document, create a directory or place a config file in every user's account. Obviously, it's ...
2
votes
1answer
39 views

Cannot get an access to one of my user accounts [duplicate]

I have two administrator and one guest user accounts on my computer. I have set password to one of my administrator accounts and forgot. Can I get back access to that account trough the second ...
0
votes
1answer
337 views

Allowing other users to use wine

I am using ubuntu 15.04. I have installed wine in the superuser account so that I can use MS office 2010. But I can't use it when I login the other normal user account. Is is possible to set the ...
1
vote
1answer
51 views

how to move home in ubuntu

I got a Ubuntu 15 VM and I am adding a second virtual disk for the home partition. I moved the old home to home.old. and have mounted the new home on the new disk. and the mount is successful. But ...
3
votes
1answer
103 views

Setting up Samba Shares with users that have different read/write permisions

I have just set up a Samba Server and setting up my shares, I have a Media Share that looks like this in the config file. [Media] comment = Media path = /Media browsable = yes read only = no ...
1
vote
1answer
191 views

Can't access my data due to low disk space

I was getting low disk space message for the past few days and so I tried to delete unwanted files and transferred many files to my external disk. My other drives(C: D: E: and F:) have around 10GB ...
2
votes
6answers
1k views

Import users from CSV file

Is it possible to import users by using CSV file? or something like a LDAP connection to import all users?
0
votes
2answers
45 views

New program development - need help

I would like to develop a new program for Ubuntu that will monitor the user's activity ,If user frequently uses a particular software "X" in certain time (like 8:00 A.M - 10:00 A.M ) ,when the time ...
0
votes
1answer
546 views

How to hide / remove “postgres” user in Ubuntu 14.04?

I recently installed postgresql. (I know very little about it, but may try it out at some point.) I noticed that a user named postgres (which I do not recall creating manually) is now listed both on ...
1
vote
0answers
469 views

How to access user's activity log

How can I get the log that says programs which are opened by user with time stamp . I would like to develop a system to monitor and give suggestions using this user activity log.
1
vote
1answer
519 views

Upstart error – cd: can't cd to /home/…

I have the following upstart code and it gives me the following error /proc/self/fd/9: 2: cd: can't cd to /home/sam/Website/ I tried putting outside the script block as per upstart service giving ...
1
vote
0answers
58 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
124 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
115 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
262 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 ...
4
votes
1answer
397 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
394 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 ...
0
votes
2answers
131 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
1answer
24 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
25 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
124 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
1
vote
4answers
241 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
604 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?
0
votes
2answers
40 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 ...
2
votes
0answers
406 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, ...
2
votes
1answer
80 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
151 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 ...
1
vote
1answer
4k 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
3answers
125 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
votes
1answer
75 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?