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

learn more… | top users | synonyms (1)

0
votes
0answers
17 views

How do I make a folder or an entire drive accessible by all users, and permanently mounted?

I can not find an "All" user group, nor the "Everyone" owner.... I have read over 50 questions on the subject today of people not being able to read and write to their media weather internal or ...
0
votes
0answers
18 views

SSH users with single access directory and set commands?

I am looking for a way to have a user for instance root-1 to have access to the directory /root-1/* but not let him have access to anything before /root-1/* like /home/users/root-1/. And only have ...
0
votes
3answers
81 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 ...
4
votes
1answer
102 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
0answers
17 views

Just joind a machine to an AD domain and have seeminly lock myself out

Bit of a Linux NOOB, but followed the guide https://help.ubuntu.com/community/ActiveDirectoryWinbindHowto to add an Ubuntu 14.04 machine to a Microsoft Domain, which all went OK. However, I am now ...
0
votes
0answers
34 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 ...
2
votes
1answer
48 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
30 views

Now do I get super user privileges?

I am new to Linux so I need to find out how to get super user privileges so I can install Simplify3D? Thanks, Dave
2
votes
1answer
24 views

How to separate two user's home directory in to different partition

I have /home directory in the separate partition. But, I have two users in my system. I want to create a separate partition for one of these user. Like partition1 : /home partition2 : /home/user1 ...
3
votes
2answers
6k views

Authentication failed with the correct password and now I cannot use sudo anymore

Recently I installed Ubuntu 12.04 (first time on Ubuntu). I have my normal "administrator", and another Guest account. I was experimenting today with the user accounts, and set my "administrator" ...
1
vote
1answer
22 views

Granting write permissions to a group to www folder in Ubuntu 14.04

I am setting up a webserver with Ubuntu 14.04. I have created a group called webadmins and added relevant users to this group, I also included www-data user as member of this group. Now I need to ...
1
vote
1answer
4k 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 ...
3
votes
1answer
23 views

Owner of mounted folder changes when it is actually mounted

I have a folder /media/user/drive_name that is set in fstab to automount an NTFS drive /dev/sdc2 /media/user/drive_name ntfs auto The problem is that when the drive is mounted, it and all of it's ...
1
vote
1answer
31 views

What is Ubuntu's automatic UID generation behavior?

I'm interested in the case where a new user is generated and no UID is explicitly given, leaving Ubuntu to automatically assign a UID. I know that by default Ubuntu will generate a UID above 1000, ...
29
votes
1answer
575 views

Restore man user

For some dislexic reason (or haven't slept enough) I typed deluser man instead of the more common man deluser ... as you can imagine, I just deleted man user! Never happened before... How can I ...
4
votes
2answers
10k views

How can I prevent users accessing anything but their own home directory?

How can I prevent users accessing anything but their own home directory? For example, I have a NTFS partition mounted under /media/ntfs, so if the user logs in through ssh he can reach this ...
3
votes
1answer
3k views

How to give a specific user access only to a specific folder and its contents?

I used adduser <name> and created a new user, andrew. Now I want to give him read/write access only to /var/www/sitename.com and its contents. How am I supposed to do this? I tried sudo ...
0
votes
0answers
26 views

How to give permissions to a specific user for a folder

Well I have a very restricted folder but I want to give rwx permissions to a specific user. I already know chmod but those permissions are set to owner, group and others. Owner. Me Group. The other ...
1
vote
1answer
117 views

Settings LDAP Users Roles/Permissions at Application Level

I configured LDAP server on my Linux machine and create users/group accordingly as required. I have different groups like: admin/managers/executive/developers/users/clients. Now I have around 10 ...
1
vote
1answer
40 views

Admin Account Missing after 'shutdown now' Exit

So, I have been learning PostgreSQL and messing around with creating DB's, users, and switching between both with Konsole. Last night, I shut down the computer with the command 'shutdown now'. After a ...
4
votes
3answers
257 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 ...
0
votes
1answer
23 views

Deny a user the right to use udisksctl

I'm using a system based on Ubuntu 14.04 There are multiple partitions on /dev/sda. /dev/sda1 is where the system resides, /dev/sda2, ..., /dev/sdaX are NTFS partitions. There are two users admin and ...
9
votes
3answers
14k views

How to enable or disable a user?

I'm uing ubuntu 12.04 desktop. I have 3 users: user1(administrator), user2(standard) and guest. I wanted to disable user1 and enable user2 which auto logs on with no password but after I did that I ...
0
votes
0answers
24 views

apache is becoming the owner of my user's files

I've got a hosting account at Bluehost, and my own server at home. Recently I moved a couple of sites off of that Bluehost account and onto my server. I'm used to an environment where I have a ...
1
vote
1answer
19 views

About multi-user accounts, multiple programs in Ubuntu

I have just been using Ubuntu 14.04 for a few days... Could anybody tell me whether: If User A logs into the computer and installs an application, will then user B who logs into the same computer, ...
0
votes
2answers
39 views

using su for a user which does not have a password

I am creating a user using useradd command in Ubuntu which does not require that I set a password for the user. how ever when I try to use su command to login as that user, su requires me to enter a ...
52
votes
5answers
257k views

How to enable root login?

I would like to enable the root account on my Ubuntu installation. I realize the security implications of this.
6
votes
2answers
25k views

Granting a sftp user access to a /var/www directory

I've created a user and made his home directory /var/www/mysite/ftpdir I've also added a Match user entry for this user in sshd_config with a ChrootDirectory that points to /var/www/mysite I've ...
0
votes
0answers
10 views

How can I give koala access to /var/www/html?

I'm trying to use Koala (http://koala-app.com/) to compile sass in /var/www/html. When I try to add my style.scss file all of the files are greyed out. I've added my account to www-data. When I run it ...
0
votes
0answers
19 views

Power Management settings for all users

is there a way to set power-manager settings to all users? i.e. I don't want to create a new user and forget about disabling use-time-for-policy.
0
votes
0answers
64 views

Running Java as another user

I have a directory called Minecraft for Minecraft servers. I've set it's owner and group with chown to minecraft:minecraft. This user and group exists. /etc/passwd contains ...
1
vote
2answers
27 views

Is there a default folder for sharing files with other users?

For files that I want to share with all users on a system is there a folder where by default they have read access? If I have to create one, is there a best practice location for it?
1
vote
1answer
22 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 ...
24
votes
4answers
37k 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 ...
3
votes
2answers
140 views

Permissions, owner, group inheritance?

I don't understand restrictions in terms of directories nesting. For example, /var/www/folder/index.html directories. What permissions, owner, group should every directory and file have? Is there ...
0
votes
2answers
53 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
0
votes
1answer
24 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?
0
votes
1answer
35 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 ...
0
votes
2answers
33 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
40 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.
2
votes
2answers
267 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.
1
vote
1answer
39 views

Strange user accounts displayed

I was following this tutorial to manage my server's users & groups : I have one group aside from the default "admin" called "guest". I used the following commands to display the users & ...
2
votes
1answer
326 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
32 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 ...
102
votes
19answers
29k 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. ...
2
votes
1answer
23 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
26 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
142 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
15 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 ...
0
votes
1answer
98 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 ...