Tagged Questions
2
votes
1answer
35 views
Adding a user to a group by default
I have a group that all users on the system share. The group name is common and it is to allow for a universal fileshare for everyone on the machine. How would I make it so that all new users are ...
0
votes
2answers
68 views
Add new user with permissions same as existing user
How to create a new user with permission exactly same as an existing user in linux.
2
votes
4answers
272 views
How can I assign an initial/default password to a user in Linux?
I found a guide that explains how to set a user's password. I'm trying to automate it and send an e-mail to the user like:
userid created with password XYZ.
request to change the initial password.
...
3
votes
2answers
1k views
How do I set the password of a new user after the account has already been created?
I used the 'useradd' command to create a new account, but I did so without specifying the password. Now, when the user tries to log in, it asks him for a password. If I didn't set it up initially, ...
0
votes
2answers
2k views
No home directory, logging in with HOME=/
Created a new user in Ubuntu 11.04 using
useradd -d /home/dummy -m dummy
Now, after this I set its password using passwd dummy
But, when i login to that user using su - dummy
I get to see No home ...
4
votes
2answers
2k views
How to set umask for a system-user?
Is it possible to set the umask for a system-user (created with useradd --system username)?
2
votes
5answers
911 views
Create new linux account as a user without root access
Is it possible to create a non-root Linux user account without being logged in as a root user and without using sudo?
5
votes
2answers
2k views
What are the allowed group names for groupadd?
I followed these instructions to build Shadow, which provides the groupadd command. I am now getting an error when trying this:
$ groupadd automake1.10
groupadd: 'automake1.10' is not a valid group ...
