Monday, January 2, 2012

Linux user configurations

Newtork Configuration
# system-config-network
# /etc/init.d/network restart


Start samba ...
$system-config-samba

Status samba
#/sbin/service smb status

Restart Samba
#/sbin/service smb restart

Add user (auto)
#/usr/sbin/useradd auto

Check user info of and user
#id auto

Add group
#/usr/sbin/groupadd auto

Add user to a group
#/usr/sbin/usermod -G groupname username

Give permition of directories
#chown -R username.groupname directory

No comments:

Post a Comment