Tagged Questions
0
votes
1answer
41 views
Should I use useradd or adduser?
I am trying to add a new user to the system. I am confused though which command to run: useradd or adduser?
2
votes
1answer
34 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 ...
1
vote
1answer
179 views
Why useradd shows Permission denied error
I am working on CentOS 5.5.
When I run the useradd command as root, then its working.
But when I run the same command from one of the user, then it shows
-bash: /usr/sbin/useradd: Permission ...
1
vote
2answers
292 views
Can't SSH/FTP into new user account in Ubuntu?
Created new user from shell script using following command:
sudo useradd $1 -p $2 --home /var/www/$1
I'm not able to login to FTP or SSH as that user, do i need to add the user to some group for ...
2
votes
1answer
1k views
How to create a user with given password on SuSE from command line?
I need to create bunch of new users with given password. What I want is a script that I would pass the user name of new user and it will create/add the user and set its password. (the password is the ...
0
votes
1answer
163 views
Incompatible group permissions in Linux - Is it a bug? [duplicate]
Possible Duplicate:
How to apply changes of newly added user groups without needing to reboot?
I am on Ubuntu 11.04. I am creating another user and placing an existing user in the group of ...
2
votes
2answers
235 views
Bash is not fully functional for a new user
I just created a new user on my system using useradd -d /home/users/john -m john (Using Ubuntu 11.04). This worked fine, but when I changed to john, my bash is not fully functional. That is, it has no ...
6
votes
2answers
2k views
Why is sudo telling me my password is wrong?
I recently installed OpenBSD 4.9 in my computer, so I could learn a little bit about Unix-like operating systems. I added a new user to the system called bruno. Ok. When I use the 'sudo' command, it ...
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 ...