The tag has no usage guidance.

learn more… | top users | synonyms

2
votes
2answers
34 views

Why do I not have any directory except 'home' with new user? [duplicate]

I created a new non-root user and did the following: useradd -m newusername passwd newusername usermod -a -G sudo newusername chsh -s /bin/bash newusername I need to install software as a non-...
1
vote
1answer
73 views

User add and shell script with password

I know how to use the useradd comand but would like to make a shell script to automate the process so how would I put the users input to the password part which is a dialog presented after I have ...
-1
votes
1answer
72 views

Encrypting of /etc/shadow file

When I add a user by -useradd command, if I go to /etc/shadow the password isn't encrypted, and therefore I cannot login to that user. How can I encrypt that password in shadow file?
0
votes
3answers
129 views

How do I encrypt a new user's password using the useradd command?

I would like to create an encrypted login password for a new user while using the useradd command in the CLI. I know that using option -p will allow me to create a password, but using this option does ...
0
votes
1answer
51 views

How to create new user with Public key authentication?

I have Ubuntu Server 14.04 LTS. I have Public key authentication enabled by default. I used the following command to create new user: sudo useradd -m -c "John T." john -s /bin/bash The command ...
0
votes
1answer
3k views

what is the default password when you create new user in ubuntu?

I have created a new user by using useradd command e.g.: sudo useradd acreddy Then new user is created but it is asking for a password what is the password?
0
votes
1answer
288 views

useradd command in linux not working as expected?

I tried to change default shell in Ubuntu 14.04 using the following command user@MyUbuntu:~$ sudo useradd -D -s /bin/tcsh user@MyUbuntu:~$ sudo useradd -D GROUP=101 HOME=/home INACTIVE=-1 EXPIRE= ...
0
votes
2answers
288 views

password does not work with useradd -p

I am running ubuntu 14.04 LTS. I ran the following command to create a user $sudo useradd -m -p password1 guest_user and then tried to switch to the user with $su guest_user But i could not ...
1
vote
0answers
198 views

create multiple users from csv file and communicate them the password

I have to create multiple users in an Ubuntu environment from a csv file that lists their names and password. I am using the following tutorial Import users from CSV file But I am not been able to ...
6
votes
5answers
17k views

Ubuntu 14.04: New user created from command line has missing features

I am trying to create a new user in Ubuntu 14.04 LTS from the bash command line. I use the following commands: sudo useradd -c "Samwise the Brave" sam sudo passwd sam Enter new UNIX password: ...
1
vote
3answers
1k views

How to login with new user and fix error : “: No such file or directory”?

I created a user with root access useradd -ou 0 -g 0 myuser -p [12345] when I try to su to the new user, I get: : No such file or directory when I want to connect as that user via ssh, I get: ...
1
vote
2answers
115 views

I'm unable to add password to newly created user

I just created a new account with Administrator privileges but cannot set up the password to activate account. I don't know how to set-up the account password via terminal.
0
votes
1answer
473 views

Unable to create and delete an user account in the PC

When I try to create a new user account with command sudo adduser test-ser, I receive this error: sudo adduser test-user Adding user test-user ... Adding new group test-user (1069) ... Adding ...
1
vote
0answers
42 views

Complete walk through on creating a new user +Key if nessecary

I am very new to all of this. I use PuTTY to access my WHM Minecraft server without any issue as root. I want to make a new account, I have googled for 2 days and nothing is working. Specifically....
-1
votes
2answers
262 views

When to use adduser or useradd [duplicate]

The Question consist of three parts What are the differences between them When to use adduser or useradd and why there is more than one command for the same purpose
1
vote
1answer
385 views

How to add user from guest user?

I've installed ubuntu using wubi from windows. I remembered I provided an username and password. But now I can log in only as guest user from where I can't privileges to install or run program. Can ...
2
votes
1answer
4k views

How to add user from apache user group in linux

The question is simple. How we can add user without root privileges (because www-data is very important for security)? For example adding user with root user: sudo adduser user group Without root ...
0
votes
3answers
176 views

Useradd command input

If you add a user using useradd you get asked to supply some other information about the user (Full name, room number, work phone etc). Where exactly is this information being stored? How do you ...
-2
votes
1answer
349 views

useradd instead of adduser,

So I installed Ubuntu 13.04, set up sftp, that's all good. Setting up vsftpd for regular FTP users (we need those too, sadly. sftp isn't for good for all our purposes), i accidently used useradd to ...
0
votes
3answers
2k views

useradd: cannot lock /etc/subuid; try again later

So, while trying to upgrade to 14.04 I encountered this error: Could not calculate the upgrade An unresolvable problem occurred while calculating the upgrade. Please report this bug against the '...
2
votes
0answers
101 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 ...
0
votes
1answer
309 views

sudo useradd wont make home directory

I have an automatic script which works, only it just never makes a home directory. The data is extracted from a database. Heres the script: $SQL -s -e "SELECT uid, password FROM registrations WHERE ...
0
votes
1answer
105 views

How many users can I create with useradd without having a visible performace degradation

Assuming that I have a PC with 2GHz processor, 4GB RAM. How many users can I create with useradd without noticing a visible change in performance in server file operations like (copying files form ...
198
votes
6answers
183k views

What is the difference between adduser and useradd?

What is the difference between the commands adduser and useradd?
0
votes
1answer
213 views

Problem in creating all default directories while adding a new user account in Ubuntu 12.04?

I am facing a bizarre problem recently in Ubuntu 12.04 while adding a new user. User adding command such as useradd -d /home/username -s /bin/bash -m username in the terminal only creates a example-...
1
vote
1answer
788 views

On Ubuntu 12.04 is /etc/skel/ the correct place to put extra files for new users?

On Ubuntu 12.04 is /etc/skel/ the correct place to put extra files for new users? In the Linux Administration Handbook it mentions files from /usr/local/lib/skel which doesn't seem like an Ubuntu-...
0
votes
1answer
4k views

Ubuntu command 'adduser' is not creating directory 'usertes' in '/home'

I have been creating a user with command adduser, but it did not create directory /home/usertes, # adduser usertes And this happens if I delete the user with command userdel: # userdel usertes ...
1
vote
1answer
80 views

switching to new user limits console capabilities

I'm creating a new user: groupadd sybase useradd -g sybase -d /opt/sybase sybase passwd sybase chown sybase:sybase /opt/sybase chown sybase:sybase /var/sybase then switch to this user: su - sybase ...
10
votes
3answers
25k views

Cannot login to newly created user account

Trying to switch accounts to my newly created account I get a black screen and then it takes me back to the main login screen after entering the correct password. Upon logging into my previously ...
4
votes
1answer
26k views

useradd: cannot lock /etc/passwd; try again later

Trying to add a user: useradd -c "test" -d /home/bbbbbbbb -e "01-jan-2013" -f 10 -g admin -p secretfgjdhdgd -s /bin/bash -u 123456 blobblob but getting: useradd: cannot lock /etc/passwd; try ...