INCLUDE_DATA

Renaming a NIC on SUSE and openSUSE

Posted on August 27th, 2008 by id_provoke.
Categories: Linux, Orat-oret.

Problem:

Say you have installed two NICs in your system e.g. eth0 and eth1 and sometime later you removed one of the nics from your machine, say, eth0.

Now you want to access the remaining nic, eth1, as eth0, or you want to simply name the existing nic (i.e. eth1) as eth0.

Solution:

(more…)

1 comment.

Group Mapping MS Windows and UNIX

Posted on August 21st, 2008 by id_provoke.
Categories: Uncategorized.

As usual I’m allways visite my blog to read the manual from samba, because i had always got the problem from samba. So i wrote the documentation, I know I will have to come back here to find it hehehe :D

The following steps describe how to make Samba PDC users members of the Domain Admins group.

1. Create a UNIX group (usually in /etc/group); let’s call it domadm.
2. Add to this group the users that must be “Administrators”. For example, if you want joe, john, and mary to be administrators, your entry in /etc/group will look like this:

ntadmin:x:502:henry,flubber

3. Map this domadm group to the “Domain Admins” group by executing the command:

# net groupmap add ntgroup=”Domain Admins” unixgroup=ntadmin rid=512 type=d

The quotes around “Domain Admins” are necessary due to the space in the group name. Also make sure to leave no white space surrounding the equal character (=).

(more…)

no comments yet.