Linux Ask!

Linux Ask! is a Q & A web site specific for Linux related questions. Questions are collected, answered and audited by experienced Linux users.

Sep 162010
 

Add a user to group in Linux

Answer:

To add a user to a group (supplementary), you can use the command below:

e.g.

# useradd -G admin john

If you want to change the user's primary group, you can use

e.g.

# useradd -g admin john

Sep 122010
 

mount: unknown filesystem type 'nfs'

Answer:

If you attempt to mount a NFS share, using the mount command, e.g.

# sudo mount -t nfs 192.168.1.2:/data/share /mnt/share

And it gives:

mount: unknown filesystem type 'nfs'

You would need to install the nfs clients to solve it:

# sudo apt-get install nfs-common