Questions about managing the UNIX users, groups and permissions.

learn more… | top users | synonyms

1
vote
2answers
18 views

ubuntu 14.10 create new user password change button disabled

I did a fresh install of ubuntu 14.10 (AMD64) to my desktop this evening. Everything works fine as in the versions before. Now I started to create some more users. I can only activate them if I choose ...
0
votes
0answers
13 views

Ubuntu not booting up after user name change

I have ubuntu installed (dual boot with windows 7) on my system. It was working fine. Then I just wanted to change the username. So I googled and ran the commands given there. The list of command that ...
1
vote
1answer
33 views

a specific user can't mount usb sticks

I have the problem that a specific user can't use usb sticks any more. they are not mounted automatically any more. For some weird reason I changed the numeric userid and groupid of this user ...
0
votes
1answer
19 views

14:04: Usergroup / file permissions problems daemon proces

I'm trying to understand the file permissions in ubuntu, but after reading some material, I still don't understand why the following situation doesn't work: I have a folder ...
0
votes
0answers
37 views

How to add Jenkins to Apache Group?

I currently run an instance of Ubuntu 14.04 LTS. Apache2 is installed Jenkins is installed (along with the Jenkins linux user) The problem I have, is that my custom site is in ...
0
votes
1answer
58 views

Ubuntu 14.04 doesn't load after upgrade

I upgraded my Ubuntu from 12.04 to 14.04 and now it keep loading and never boots. sometimes the login page appears and after entering the correct password the page simply splashes and nothing ...
1
vote
3answers
55 views

How do you limit root to no more than 1 login at a time?

I took a practice test for a cert and one of the questions was "Limit root to no more 2 simultaneous logins, make this configuration persistent between restarts". I didn't even really know this was ...
0
votes
1answer
21 views

2nd harddrive, /var/lib/mysql ownder is nvidia-persistenced when mounted, mysql when booted?

I have a second HDD that was my old OS. When I boot it the /var/lib/mysql folder is mysql:mysql but when I mount it (LVM) in my new OS it is nvidia-persistenced:vboxusers. I want to do a cp -pr to ...
5
votes
2answers
267 views

Cannot add a new user

I am trying to add a new user to my ubuntu 14.04 os. I go System Settings -> User Accounts and try to click the [+] button, but nothing happens it is grayed out. The system did not ask me for ...
1
vote
1answer
24 views

How to remove unused or outdated folders?

I administrate a multi-user system that has had quite a lot of user turnover. The users who have left us still have a folder in the folder /home. I would like to remove the folders for the users that ...
0
votes
0answers
18 views

Can't alternate users, need to logoff to login other on ubuntu

I installed from scratch the Ubuntu 14.04 and configured it with a Samba share. There is a windows share RAID 1 drive (2 x 1 TB) with Mdadm, that Dropbox and more 2 backup solutions access (Acronis ...
7
votes
2answers
647 views

How can I allow a user to edit a specific system file normally restricted to root?

I am trying to write to /etc/network/interfaces with a user that does not have root privileges. The reason for wanting to write to this would be to allow the user to set a static IP since I am ...
0
votes
1answer
74 views

Setting up multiple Ubuntu computers to share files and users

I'm very new to the *nix world and only vaguely have heard of things like YP/NIS, LDAP, Kerberos, etc. If I have several machines that I want to toss Ubuntu on to and share users and files/mounts ...
1
vote
1answer
24 views

Setting up new user allowed actions

I made a new user but have been trying to research how to limit their ability to make changes to the system. I am basically looking for them to having the ability to change ifconfig settings. Beyond ...
1
vote
1answer
52 views

What is an easy way to add new user

I have read about the command sudo adduser newuser and sudo passwd -l but if I understood correct I have to grant every thing by terminal. I created easily a new user by Systems>User Accounts but it ...
0
votes
0answers
19 views

How uid and gid related to permission?

I want to know how uid and gid is related to permissions/owership? Is there any default/permanent id for root? what are standard values for uid and gid?
0
votes
2answers
64 views

Prevent a user using sudo [duplicate]

Can we restrict a user and do not let him to go to the root mode. For example, when he inter sudo su, The system tells him you can not access the root?
0
votes
1answer
43 views

Limiting file access for a huge number of users

The ubuntu is really great for it's user management, every service can use it's own system user: but should I use it for distribution? Let's say I have a service, that I host, with many customers who ...
4
votes
3answers
370 views

Why my newly created account is asking for a pasword if I didn't set one?

I tried to create a new user account from 'User Accounts' in the System Settings. First I pressed the Unlock button and the + button. Then I chose Standard account type and filled account name. ...
2
votes
3answers
447 views

How to know whether am the administrator of my Ubuntu?

Is there a way to know whether am the administrator of my Ubuntu 14.04 ? If not, how can I became the administrator ?
48
votes
7answers
8k views

Why is 777 assigned to chmod to permit everything on a file?

I was asked in an interview why it is that 777 is assigned to take all permissions for a file. Why not 555? He said that there is reason for everything. So, what is the reason for 777? Why not any ...
16
votes
3answers
2k views

What's the difference if I use Windows 7 as a Standard User vs if I use ubuntu?

Ubuntu is secure for various reasons, one of them, a major one I believe, is that when you try to install a software/app via terminal/store an authentication box pops up asking you for your password. ...
0
votes
1answer
37 views

Restricted User Account Creation

I was once given a shell account (for IRC) that allowed me read/write access to my home folder only. The first time I logged in, it forced me to change my password too. Say I wanted to create a new ...
1
vote
0answers
31 views

Most programs don't work after changing username [duplicate]

I changed my username using the following commands usermod -l new_name old_name usermod -d /home/new_name -m new_name* Everything was fine until I started to use some programs. Is there another ...
0
votes
1answer
49 views

Extra user at Users Account

I have installed this operating system my self and created one account as an owner and root. I do not know where " Me " account came from. However, I get many access permissions error, even-while, ...
0
votes
1answer
52 views

Accidently removed admin/sudo rights [duplicate]

I removed admin rights for the original admin account, in order to set up a new account with clear history. (Not 100% that was needed, I am still getting to grips with linux / Ubuntu 12.04 and I read ...
8
votes
4answers
2k views

How can I find my User ID (UID) from terminal?

The title says it all. What command I need to run from a terminal to find my user ID (UID)?
0
votes
0answers
60 views

How to achieve root access? Also a more simple breakdown of instructions

Need more simple breakdown of the instructions, yes I acknowledge the risks. All i need the access for is for external development(s) for android. Already have adb installed as well as fastboot plus ...
0
votes
0answers
313 views

Can't access User Accounts in ubuntu 14.04 LTS

I installed Ubuntu 14.04 LTS as a dualboot next to windows. Everything is working fine and i must say i like it. But i have one problem, I can't access the User Accounts. By clicking on User Accounts ...
1
vote
0answers
48 views

How to properly clone both root and user information with proper permissions?

I have been looking for a backup software for my Ubuntu boxes that works with the similar ease of EaseUs backup software for windows. I would like to be able to back up both user info and root info. ...
0
votes
0answers
42 views

User account not working

I created a user account "Family". I can see it on the login screen and in the user control setup once in Ubuntu. I have tried settings: no password, password, disabling, and enabling the account. ...
0
votes
0answers
29 views

Remote Desktop - Sub User fail

The problem is this... XRDP works just fine under 'root' user, and the desktop (lubuntu) connects fine... but I can not get other user accounts to connect (such as my freshly made 'admin' or 'dev' ...
3
votes
3answers
195 views

What is the difference between `groups $USER`and `groups` in a terminal?

When I run the the following command in a terminal I get different output. I try to find out if I am a member of the Wireshark group. groups $USER Does list wireshark groups Does not list ...
5
votes
3answers
525 views

My password can log me in, but nothing else (“user is not in the sudoers file” error when I try)

I recently got a new user account for Ubuntu 12.04 on Linux after becoming unable to log in to one of my earlier accounts. I can log in to this account easily enough, but when I try to use the ...
0
votes
1answer
249 views

How to create a user who can only access one directory?

I'm running Ubuntu Server 12.04. I was wondering how I can set up a user to only access one directory. For example, I want to create a user 'brad' and want him to only have access to /var/www/brad. ...
2
votes
0answers
41 views

It is possible to set multiple passwords to single login in ubuntu platform?

I tried with different ways, but not worked at all. Please any-one help me ? I've looked at this question: Set 2 passwords for one user? The referenced duplicate is not the same question. The ...
1
vote
1answer
30 views

Why are there guest-6lDH45Lx groups in /etc/group?

Found guest-6lDH45Lx:132: and guest-MTiNKr:x:127: groups in /etc/group. Can anybody explain what these are and why they're lurking in my configuration?
2
votes
1answer
23 views

Is there a way to switch into another user account from a script?

Let's say I have an account on a small network of machines that is set to auto-login. If one of the machines has a problem with the network or one of its services, I need to break out of the ...
0
votes
1answer
41 views

Predefined user groups

There are a lot of predefined groups on Ubuntu (and many other distros), but I can't seem to find any information about what each is for. Some seem obvious or are well-known: cdrom is for access to ...
2
votes
4answers
64 views

How to disable a passwordless account

I have set my nephew's account to login without a password, but sometimes I want to prevent that account from logging in. This is the process I followed: Set the account to login with no password, ...
0
votes
1answer
191 views

How to recover a deleted user account

I have deleted a user account using the command userdel -r george. It deleted that user with their files. I need to restore that user and their files, is it possible? How can I achieve it?
2
votes
0answers
57 views

How to create multiple users during installation?

Now these days I am working on a Ubuntu customization project. In which I want to add this feature that Customizes OS can be able to create 2 users automatically during the installation. User can be ...
3
votes
2answers
3k views

Can users passwords be cracked from etc/shadow file?

My question is if someone hacked privileges on /etc/shadow file , can he crack the passwords of the system users. If yes , how can i secure more my passwords and how to make it difficult on a ...
0
votes
4answers
534 views

Ubuntu desktop 12.04 Desktop Environment customization

I am a new Linux user, I want to accomplish the following settings of the followings no Dash icon no trash icon no workspace switcher icon In global menu bar, only show the current time, but can't ...
22
votes
9answers
6k views

Why can I create Users with the same UID?

My understanding of UIDs is that is a unique positive integer assigned by a Unix-like operating system to each user. Each user is identified to the system by its UID, and user names are generally used ...
9
votes
5answers
3k views

What are the default passwords of these users: nobody, daemon, uucp, etc.?

What are the default passwords of these users? root daemon bin sys sync games man lp mail news uucp nobody Can anyone log in through ssh or ftp as these users?
3
votes
2answers
446 views

what is “password aging limits”?

It seems like password aging limit is responsible for regular change of password.But my questions are, What exactly it is and which password does it change? How can I configure it to change the ...
0
votes
0answers
82 views

Can't use sudo after changing the user password

I am currently running Ubuntu 12.04 and I recently changed my account password. Before the password change, I was able to run commands via sudo when necessary while using my old password with no ...
1
vote
2answers
800 views

How to give different groups different permissions on a specific folder? [duplicate]

I have two groups "Group1" and "Group2" I have also folder "Folder" I want to give Group1 read and write permission , while Group2 only read . Any suggestion ?
3
votes
2answers
155 views

Separate system users and service users

We all know that we have system users and service users. I am looking for a way to separate them as system users and service user list. Is there any way ?