The tag has no wiki summary.

learn more… | top users | synonyms

1
vote
5answers
77 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
74 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
37 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
54 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 ...
0
votes
0answers
39 views

How to enable useradd to create local home directories when machine is using NIS?

If a machines is NIS enabled, the /home directory is on NFS and you cannot create directories there. Running a useradd --create-home john will fail because it will try to create /home/john instead of ...
1
vote
0answers
26 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. ...
-1
votes
2answers
101 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
36 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 ...
0
votes
1answer
1k 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
72 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
179 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
2answers
1k 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
78 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
263 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
70 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 ...
115
votes
4answers
99k views

What is the difference between adduser and useradd?

What is the difference between the commands adduser and useradd?
0
votes
1answer
169 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 ...
0
votes
1answer
599 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 ...
0
votes
1answer
3k 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
73 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 ...
7
votes
3answers
15k 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
23k 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 ...