The Security Council decided to set up a new sanctions committee to monitor the implementation of the new UN actions against Libya, the resolution said.
The resolution was adopted after the Security Council met early Saturday in an emergency session to consider actions against Libya before the vote late Saturday on a draft resolution, co-sponsored by Bosnia, Britain, Colombia, France, Gabon, Germany, Lebanon, Nigeria, Portugal, South Africa and the United States.
The adoption came one day after UN Secretary-General Ban Ki-moon called for early "concrete action" by the 15-nation Security Council.
In the resolution, the council voiced "concern for the safety of foreign nationals in Libya," and called on the Libyan authorities to "ensure the safety of all foreign nationals and facilitate the departure of those wishing to leave the country."
It called on the Libyan authorities to "act with restraint, respect human rights and international humanitarian law, and allow immediate access for international human rights monitors."
The council also urged the Libyan authorities to "ensure the safe passage of humanitarian and medical supplies, and humanitarian agencies and workers, into the country," the resolution said.
The council took the move hours after Gaddafi's son Saif al-Islam warned of a possible civil war in his country and foreign intervention in the internal affairs of Libya.
"What the Libyan nation is going through has opened the door to all options, and now the signs of civil war and foreign interference have started," al-Salam told Al Arabiya TV in an interview.