Linked Questions

-1 votes
2 answers
13k views

How do you add user using the terminal? [duplicate]

How do you add a user in ubuntu using the terminal
Code Oga's user avatar
617 votes
10 answers
612k views

What is the difference between adduser and useradd?

What is the difference between the commands adduser and useradd on Ubuntu?
Joe Cabezas's user avatar
  • 6,323
145 votes
9 answers
578k views

How can I find out my user name?

How do I know my username? I've installed Ubuntu, but I don't know my username, only my password. I can't access my laptop and it can't be opened.
Jayharte's user avatar
  • 1,469
147 votes
9 answers
481k views

How could I list all super users?

I want a command to list all users who have root privileges i.e. sudo ? Suppose I'm a sudoer user. How could I know all other sudoer users?
Maythux's user avatar
  • 84.2k
18 votes
3 answers
13k views

Why is syslog a user?

When I check the /var/log, I find something very strange me@me:~$ ls -lt /var/log |head -6 ' total 160368 -rw-r----- 1 syslog adm 19919118 Jan 15 16:55 auth.log -rw-r----- ...
Alice's user avatar
  • 1,700
26 votes
2 answers
162k views

How to get the list of all users who can access a server via ssh?

How can I get the list of all the users who can ssh to a server via ssh [email protected] ? Please note that I'm aware of this question and that is not doing what I want! If it helps the server ...
yukashima huksay's user avatar
12 votes
2 answers
41k views

How can I add a user and set the password for them at the same time?

How do I add a user and set their password at the same time? I tried: useradd user1 -p user@123 Where user1 is their username and user@123 is their password.
Bindass Amarjeet's user avatar
4 votes
2 answers
10k views

Can't delete user account

In a terminal: /home$ ls abuabdullah alzaabi hussain u942 Then I tried to delete account u942 by using command line: /home$ deluser u942 /usr/sbin/deluser: Only root may remove a user or group ...
hussain alzaabi's user avatar
4 votes
1 answer
7k views

Apache - Allow access to user home directories

I've been stuck with this problem for a week now, browsing through various websites, I just can't seem to make this work. I have Apache2 installed and a Wordpress website, located in a user's folder ...
Skrypt's user avatar
  • 81
5 votes
3 answers
1k 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 ...
user252617's user avatar
3 votes
1 answer
3k views

How to check if a new username is a system user?

I want to create a script that change a username. I want to check if the user is not a system user. My idea is to check /etc/passwd and pick only users with an ID between 1000 and 60000 and users that ...
danaso's user avatar
  • 147
1 vote
2 answers
6k views

Remove a domain user account from local workstation, not from AD Domain

I have an AD Domain run by Samba4 and have successfully joined Ubuntu workstations to that domain and able to add users and log into the workstation with domain accounts. Now, I am needing to remove ...
Scott Jones's user avatar
0 votes
3 answers
416 views

I'm new to Linux, Ubuntu, how do add family members to login?

I'm new to linux/ubuntu with limited knowledge of computers, my windows system was infected, unable to use had Ubuntu installed. How do I set up alternate user names for family members? How do i ...
Remey's user avatar
  • 1
3 votes
2 answers
2k views

Only Guest User login is Available in my new Dell Vostro Laptop

I bought a New Dell Vostro 3558 Laptop today. Ubuntu was pre-installed in that. However, i am facing the below 2 issues in it. Only Guest user login is available. Linux Terminal is not working in ...
Parth's user avatar
  • 41
1 vote
1 answer
777 views

What are the default groups for a new standad user in Kubuntu?

I'd like to know which groups are simple (non-admin) users member of by default. Then I will script user group member ship like this : for group in $simpleUserGroups do groups $userName | grep -q ...
SebMa's user avatar
  • 2,271

15 30 50 per page