VirtualBox: Win7 64 bit is host, 12.04 is guest. Trying to follow instructions at: http://www.liberiangeek.net/2012/05/...guest-machine/ Here's what I get in Terminal: advait@advait-VirtualBox:~$ sudo adduser vboxsf bash: Advait: No such file or directory advait@advait-VirtualBox:~$ sudo adduser Advait vboxsf [sudo] password for advait: adduser: The user `Advait' does not exist.
I'm trying to create user without password like this:
sudo adduser \
--system \
--shell /bin/bash \
--gecos ‘User for managing of git version control’ \
--group \
--disabled-password \
--home /home/git \
git
It's created fine.
To enter Root Terminal in Ubuntu, use Applications -> Accessories -> Terminal. Then type ’sudo -s’ and hit return. Type in your administrator password, hit [Enter] and you’re done.
When I enter sudo adduser git
i get sudo: useradd: command not found
when I enter whereis adduser
I get /usr/sbin/adduser but I can't switch to it
root@431901-web1 [/usr/sbin]$ cd adduser
bash: cd: adduser: Not a directory
when I do a ls I see it has an @ after it
adduser@
what does the @ mean? is there any workaround? I have root access, but I'm not a pro unix guy...
If you are using Samba Server on your network, you will want to create users that have access to use it. There’s a very simple command structure on how to do so.
I’m assuming that you’ve already installed Samba Server at this point.
I've added myself into the sudoers users list by using the command
root@debian:/home/oshirowanen#adduser oshirowanen sudo
If I try to run that command again,
root@debian:/home/oshirowanen# adduser oshirowanen sudo
The user `oshirowanen' is already a member of `sudo'.
root@debian:/home/oshirowanen#
All looks good so far.
When I then exit the root user and try to install/remove/search somet
Thanks for the reply, jjacky. Yes, as the topic name and my text states, I am using adduser. I know it is a shell script, and on the Debian systems I've worked on, adduser creates a group with the same name as the username, just like useradd does. I assumed that adduser populated its defaults from the login.defs file, but that seems not to be the case.
This is a new install and I have only set the root passwords for localhost, 127.0.0.1 and .
I know the password is correct as I can log in with root@localhost to the mysql server and can also create users. However, when I try to grant privileges to the newly created user I get the dreaded "Access denied for user root@localhost (using password: YES)" error message.
GRANT ALL PRIVILEGES ON .