OX Plus root精灵

求助,ox10.11不知道怎么关闭root账户【威锋网吧】_百度贴吧
&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&签到排名:今日本吧第个签到,本吧因你更精彩,明天继续来努力!
本吧签到人数:0成为超级会员,使用一键签到本月漏签0次!成为超级会员,赠送8张补签卡连续签到:天&&累计签到:天超级会员单次开通12个月以上,赠送连续签到卡3张
关注:7,463贴子:
求助,ox10.11不知道怎么关闭root账户收藏
昨天修改了一下账户名,然后重启时黑屏了,在网上搜了一下说是在黑屏状态输入账号和密码,最后没反应重启了,结果多了一个system administrator账户,最重要的是垃圾桶了所有东西也没了,里面有误删的我要用文件,网上说是root账户,关闭就行,但我顺着教程关闭时10.11的和网上的不一样,进入登录选项-----网络账户服务器加入-----打开目录使用工具-----点击编辑,可是这个没编辑啊,该怎么办,很着急。急用文件
请各位大神帮帮忙
登录百度帐号Own this Business Name!
The most successful businesses have easily
recognizable names that customers can connect with.
This great name is available for purchase!
This premium business name is available for purchase and ready for you to use! We specialize in providing the best, available business names. Get this one before someone else does!
Qualities & Appeal
Capable and successful persona
Meaningful and thought-provoking
Pithy and powerfully succinct
Easily remembered
sports, apparel, fitness, sport, training, fast, strong, coaching, go, fashion, retail, shoes, clothes, clothing brand, energy, nutrition, fit, gym, unique, one, modern, startup, zest, energetic, power, burst, ox, animal, robust, sturdy, stable, workout, oxuno
The following scores are based on relevant data pulled from this particular name. We offer only the best, most memorable and brand-worthy names. You can be rest assured that this name will start your business off with success.
Memorability
Uniqueness
Simplicity
Brandability
Memorability
Uniqueness
Simplicity
Brandability
With your business name purchase you will get full ownership of the unique .com domain name and the associated logo.
Own this domain
You will have full ownership and rights to
Oxuno.com. One of our professional Brandroot representatives will contact you and walk you through the entire transfer process.
Logo artwork included
Finding a great logo that truly stands out is no easy task. With your purchase you will also receive the unique logo, designed by our team of professional designers!
Transparent pricing
Our prices are clear and reasonable, making it as easy as possible for you to buy now and be on your way. No hidden fees, added costs, or &make an offer& nonsense.
Rest easy while one of our professional Brandroot representatives walks you through the entire purchase process.
1. Secure checkout
Your purchase is guaranteed safe and secure. Once we receive your purchase you will be contacted within 12 hours. Your logo will be immediately sent to you.
2. Domain transfer
We will walk you through the entire domain name transfer process and help get you setup with an account at the necessary registrar so you can receive your domain.
3. Confirm delivery
We will be with you the entire way to ensure everything is properly delivered to you in a timely manner. Every purchase is guaranteed and is expected to be in your procession within 24 hours.
Brandroot continues to support aspiring entrepreneurs and business owners by providing an unmatched marketplace of successful brandable business names.
These are some of our most recent clients who found their business name at Brandroot and who were generous enough to share there experiences with you and us.
Bran Droot
Roberta Palmer
El-Hachemi
Christopher H.
Geronimo P
Arnoldo V.
Send Message
Great! Your message has been sent. We will be in touch as soon as possible. Thank you.Useful tips and guides about system administration, security, programming and more.
August 21st, 2014&&Posted at &&,
Recently I had the need to create a Windows application (EXE) from a Python script, in order to distribute it to some Windows boxes without Python installed. The script implemented a GUI using
the Tkinter libraries and I even created a cool logo for the app, so I could replace the default Tkinter logo.
The problem was that I would had to distribute the .exe and the logo (.gif) and it seemed kind of weird. So I thought… why not embed the logo in the script? I could use that to create real self-contained GUI apps in a single Python script!
I’ll share in this post how I achieved this. It’s quite easy.
For this example I’ve created a very simple logo (64×64 pixels) online using
and I exported it in
format because it’s the appropriated one for this method. Here it is ‘mgx.gif’:
We have to insert the bytes of the logo file into a Python variable in the script. The best way to do this is to use a byte encoding that outputs printable ASCII characters, so let’s use . You could use many tools to achieve this, I will do it with the
command from Linux.
base64 mgx.gif
The command will output the bytes of the .gif encoded.
Now we have to assign the Base64 string to a Python variable. We will use the power of
to make our life easier. Suppose our variable will be called ‘logo’.
base64 mgx.gif | sed “s/^/logo += ‘/g;s/$/’/g”
To get our logo variable set in our Python script we just have to initialize it and then append the previous output.
logo +='R0lGODlhQABAAOf/AAABAAABBQUCBwAEHgQFEQowIHFwIFLQcGGwMFMgwHIQoFRAgHOg0KDwwI'
logo +='KwkKJgoHTA0KNg0LMRIMKQ8JXBQHYxIJVg4NPxcxENRBAOUhUSHxEKfBASMREMdRUPTRUKhBEO'
logo +='bhESWRUUOhkUNR4JlyMIoBgVQRkUbRcPqR0WVRYRwOsgcVuxsUlR4YaiIPvSEZZh8dTxoZhx8X'
logo +='jhUXxiIbgywSySEeeykcfh8Y0RocuSomOygiai8CAcwy4ZvB4grDYV1i8ifiomZioa3ikc1i8g'
logo +='qSsmhy4g0SklsjAjui0nni8pizYjtDUe6zQg4yQkojvi0przUpmjIlzDYj3TAwdjsh7y8sqSkp'
Perfect. Once we have our variable set, the idea is to write those encoded bytes to a file in run time, and tell Tkinter to read that file as the main icon for our GUI. We can create the file in the same directory but I don’t like this approach because you don’t always have permission to do that. Besides, in my opinion, it’s weird to see that a logo appears in the script’s folder during execution.
I prefer to write it in a temporary file using the cross-platform library . Here is the code I used for the example.
iconfile = tempfile.NamedTemporaryFile(mode='w+b', delete=False)
iconfile.write(base64.b64decode(self.logo))
iconfile.close()
In the first line we use the method
to obtain a temporary file with a name so we can read it later. We also set the delete option to False because otherwise the file is deleted as soon it is closed. Then, as you can see, we write the bytes we obtain after decoding our logo variable. Finally we close the file.
Just a couple of things before you see the final code. To obtain the real path generated for the temporary file we have to use the name attribute.
if os.path.isfile(iconfile.name):
icon = PhotoImage(file=iconfile.name)
Finally it’s a good practice to tell the OS that we don’t need the file anymore when we close our application.
os.unlink(iconfile.name)
You can view the whole example here –& [download id=+ format=+]
Here are some screenshots of the script in different operating systems.
Windows XP
Kali Linux
May 10th, 2014&&Posted at &&,
There are two things that bother me a little when using Kali with Gnome Desktop. There is no Trash icon on the Desktop and the need of pressing ctrl+del to send a file or directory to the Trash. If you feel the same way read the following lines to solve it.
– Showing Trash and Home icons on desktop –
From a terminal type the following:
dconf-editor
The “Configurator Editor” pops up. From the left panel select the following schema:
org && gnome && nautilus && desktop
In the right panel you will see some interesting properties like “computer-icon-visible“, “home-icon-visible” and “trash-icon-visible“. You have to check them in order to show those icons on the Desktop. If they are already checked and you don’t see the icon, uncheck them and check them again.
– Deleting using the “Delete” key –
This was a little more painful but I finally found a solution. There is a way by activating the “can-change-accels” property using the dconf-editor utility shown previously, but the problem is that we lose our changes when nautilus is restarted.
So here is the method that worked for me using the console:
Create the folder /root/.gnome2/accels:
mkdir /root/.gnome2/accels
Create the file /root/.gnome2/accels/nautilus and write the following line:
(gtk_accel_path “/DirViewActions/Trash” “Delete”)
Save the file. Now restart nautilus:
nautilus -q
That’s all.
November 17th, 2013&&Posted at &&,
I have an old 15 inch VGA monitor optimized for a 8 resolution which I have not used for a while. I thought it would be great to use it with my Raspi because it is quite small size, old and it creates that “retro” atmosphere that I love. But the thing
is not as easy as it may seem. In this post I will explain how I achieved this.
The first thing you need is an adapter to transform from HDMI signal (Raspi output) to VGA signal (Monitor input). The signal must suffer a transformation because HDMI is a digital signal while VGA is an analog one. Be careful with those cheap wires that have just a VGA port in one end and an HDMI port in the other one. They are useless for our purpose. The adapter you need may look like this (please excuse the cat…):
You can find one of this in many sites, Amazon or eBay for example. I
bought this one for around 12 EUR. This model is great because it has also a jack port to get the sound that may come from the HDMI signal. So this is my Raspi connected to the old monitor using the adapter I got:
Now when you turn on your Raspi three different things could happen:
1) You see everything perfectly in your VGA monitor. You are a very lucky person and you are probably wondering why I am writing this post.
2) You see a resolution that is not good for your monitor or that you do not want and you cannot change it.
3) You do not see anything in your monitor.
If your case is not the first one there is work to do yet. By the way, in my case it was the second one using Raspbian and the third one using Berryboot. I will be using the Raspbian example. When I turned on my Raspi I got a message from my monitor saying that it had to use a 0 “failsafe mode” resolution which did not look very good:
I lost like a third of the screen using this resolution and the image and text quality was very poor. There was no way to change this resolution dynamically.
So now is the time to introduce the Raspberry’s config.txt file. This file performs a basic configuration
when you turn on your Raspi and change its parameters would be like tuning the BIOS in a normal PC. So this file is the key to get our monitor working properly.
The config file is located at /boot/config.txt but if your case is the third one, and you cannot see anything on the screen, you can read the SD card in other PC and you will find the file at /.
You can find all the details, parameters and configurations for this file at:
The problem is that setting the right parameter values depe your monitor, your hdmi-vga adapter and even your wire! You can spend much time tuning this file but here is the trick that worked for me:
There is one parameter called hdmi_safe that when enabled (hdmi_safe=1), it sets the proper parameters to maximize compatibility for HDMI. Reading from the RPIconfig site above:
hdmi_safe Use “safe mode” settings to try to boot with maximum hdmi compatibility. This is the same as the combination of: hdmi_force_hotplug=1, hdmi_ignore_edid=0xa5000080, config_hdmi_boost=4, hdmi_group=2, hdmi_mode=4, disable_overscan=0, overscan_left=24, overscan_right=24, overscan_top=24, overscan_bottom=24
If you type (or uncomment in some config.txt files) hdmi_safe=1, save and reboot you should boot using a 640×480 resolution:
Ok. That is a low resolution but it looks much better. So this “hdmi_safe” parameter did a good job. Now, to be sure of which parameters have been set, let’s use a couple of commands again from the RPiconfig site:
vcgencmd get_config int – lists all the integer config options that are set (non-zero)
vcgencmd get_config str – lists all the string config options that are set (non-null)
In my case “vcgencmd get_config int” returned the following:
hdmi_safe=1
hdmi_mode=4
hdmi_group=2
hdmi_force_hotplug=1
disable_overscan=1
overscan_left=24
overscan_right=24
overscan_top=16
overscan_bottom=16
program_serial_random=1
config_hdmi_boost=4
hdmi_ignore_edid=0xa5000080
temp_limit=85
force_pwm_open=1
And “vcgencmd get_config str” did not return anything.
Therefore the group of parameters enabled do not match the ones RPiconfig indicates when hdmi_safe is activated. That’s why I recommend to use vcegencmd command, to be sure of which parameters are really set. Now the only thing left to do is to change the 640×480 resolution to 8 and remove the “padding” you can see in the image above.
The resolution has to be with the “hdmi_mode” parameter, and you can see its possible values in the RPiConfig site. I will show some of them:
hdmi_mode=1 640×350 85Hz
hdmi_mode=2 640×400 85Hz
hdmi_mode=3 720×400 85Hz
hdmi_mode=4 640×480 60Hz
hdmi_mode=5 640×480 72Hz
hdmi_mode=6 640×480 75Hz
hdmi_mode=7 640×480 85Hz
hdmi_mode=8 800×600 56Hz
hdmi_mode=9 800×600 60Hz
hdmi_mode=10 800×600 72Hz
hdmi_mode=11 800×600 75Hz
hdmi_mode=12 800×600 85Hz
hdmi_mode=13 800×600 120Hz
hdmi_mode=14 848×480 60Hz
hdmi_mode=15 8 43Hz DO NOT USE
hdmi_mode=16 8 60Hz
hdmi_mode=17 8 70Hz
hdmi_mode=18 8 75Hz
hdmi_mode=19 8 85Hz
hdmi_mode=20 8 120Hz
hdmi_mode=21 4 75Hz
hdmi_mode=22 8 reduced blanking
…(truncated)
As you can see the hdmi_safe configuration used hdmi_mode=4 which corresponds to a 640×480 60Hz resolution. I will change this value to 16 that corresponds to 8 60Hz which is perfect for my monitor. As you can imagine, the “padding” thing has to be with the “overscan_left”, “overscan_right”, “overscan_top” and “overscan_bottom” parameters. If you see my config, it is curious that
the “disable_overscan” is set and the overscan is working. I will set the four parameters I mentioned to 0 because I do not need any padding. My final configuration will be the following (remember that now we have to disable the hdmi_safe parameter):
hdmi_safe=0
hdmi_mode=16
hdmi_group=2
hdmi_force_hotplug=1
disable_overscan=1
overscan_left=0
overscan_right=0
overscan_top=0
overscan_bottom=0
program_serial_random=1
config_hdmi_boost=4
hdmi_ignore_edid=0xa5000080
temp_limit=85
force_pwm_open=1
Now I am ready to set or copy this parameters to the config.txt file and reboot. Everything looks great and now my monitor starts a new life working with my Raspi.
I hope this post can help you out.
August 26th, 2013&&Posted at &&, , , ,
Few weeks ago, during cleaning up, I found an old access point/router. I wanted to attach it to my network and do some tests, but I did not remember the password for configuring it through its web access page. I knew it had to be some default user/password but I did not succeed in my tries. I thought it was the right time to prepare a small dictionary attack. There are many powerful tools for this task but I used “Burp Suite” because I love it and I try to use it whenever I can. Furthermore is a perfect tool for understanding what happen behind the scenes during these kind of attacks.
I made the following video trying to explain this process. I hope you find it helpful.
If you want you can download the ‘combinator’ script used in the video -& [download id=+ format=+].
August 16th, 2013&&Posted at &&, ,
When I bought my Raspberry Pi I also ordered this tiny usb wifi adapter (TP-LINK TL-WN725N) in order to play with my raspi everywhere. I got this adapter because
I read it worked out of the box, it was cheaper than others and it supported WiFi-N. As you may guess I am writing this post because the first advantage, the out of the box one, did not work for me.
I read some forums and it seemed that I had purchased a newer version of this adapter, the TL-WN725N v2. It needs a different driver, the Realtek 8188eu, which is not included by default in the Raspbian distributed by the official web site of Raspberry Pi. So, to sum up, I was able to find the driver source code and now I have a wireless raspi. If you have the same problem with this adapter, read the following lines to obtain directly the .ko object and you will be done. If you want you can download the driver source code (link at the end), compile and install it on your own.
To make it work just download the kernel object (.ko) file which is the compiled module driver for the kernel. I will be updating this section for different kernel versions.
For raspbian image: -wheezy-raspbian.img
[download id=+
format=+] (Working in kernel Linux raspberrypi 3.6.11+ #474 PREEMPT)
For raspbian image: -wheezy-raspbian.img
[download id=+ format=+] (Working in kernel Linux raspberrypi 3.6.11+ #538 PREEMPT)
For raspbian image: -wheezy-raspbian.img & -wheezy-raspbian.img
[download id=+ format=+] (Working in kernel Linux raspberrypi 3.10.24+ #614 PREEMPT & 3.10.25+ #622 PREEMPT)
For raspbian image: -wheezy-raspbian.img
[download id=+ format=+] (Working in kernel Linux raspberrypi 3.12.22+ #691 PREEMPT)
For raspbian image: -wheezy-raspbian.img
[download id=+ format=+] (Working in kernel Linux raspberrypi 3.12.28+ #709 PREEMPT)
For raspbian image: -wheezy-raspbian.img
[download id=+ format=+] (Working in kernel Linux raspberrypi 3.12.35+ #730 PREEMPT)
Place the .ko object in the following path:
/lib/modules/(your-kernel-version)/kernel/drivers/net/wireless
In my case it is the following path:
/lib/modules/3.6.11+/kernel/drivers/net/wireless
Last version of the rtl8188eu driver includes a firmware file called rtl8188eufw.bin you have to place this file under:
/lib/firmware/rtlwifi/
Now execute the following commands
modprobe 8188eu
We are done. You should see now the new interface (wlan0 normally) when the device is connected.
Driver source code:
September 2nd, 2012&&Posted at &&, ,
As Mildwild CM-5.0 is one of the best roms I’ve ever used and the one I’m using right now, there is one customization that I’m accustomed to and it’s not available, the transparent status bar. Searching on the net I finally found a guide (link at the end) which explains how to do it on Cyanogenmod 7.0.3 and because this version of Mildwild is based on Cyanogenmod 7.2 we can get it to work with a few changes. I’ll explain in the following lines how I applied this customization on my HTC Desire GSM. The method is not dangerous but, if you are not sure about what you’re doing,
backup every file you change.
The first thing is to install a launcher that supports this option. I like “Go Launcher” but you can use others (e.g. ADWLauncher). In “Go Launcher” you can find this option inside “Preferences” – “Advanced settings”:
Now, as the warning says, we have to “make sure that our system has the transparent status bar!”.
We have to copy the file /system/app/SystemUI.apk to our computer. Use the method of your choice, sdcard-usb-computer, email, dropbox …
Open it with a compression/decompression tool like winzip, rar, 7zip.. I’ll use winRAR.
Extract the file /res/drawable-hdpi/statusbar_background.9.png (pay attention to the name because there are others very similar) and open it with an image manipulation tool like Photoshop or GIMP. Apply transparency to the image. You can make it 100% transparent if you want. I applied 20% of opacity (80% transparent).
Ok, that was easy. Next step.
Extract the file /classes.dex from SystemUI.apk. This is a compiled file for android. We have to decompile it, edit it and compile it again. For this purpose we need the tools baksmali and smali. You can download them from the following links:
[download id=+ format=+]
[download id=+ format=+]
Put these tools in the same folder as the classes.dex file and open a command line terminal.
Run this command:
java -jar baksmali-1.3.3.jar -o classout/ classes.dex
The folder classout has been created, open it. Edit the file com/android/systemui/statusbar/StatusBarService.smali with a text editor. Find the text “new-instance v0, Landroid/view/WindowManager$LayoutP“. I can find it in line 2210. Eight lines after this text we can find “const/4 v5, 0x2“. We have to change 0x2 to -0x3. So the line will be:
const/4 v5, -0×3
We’re done with the edition, save and close the file.
Now run this command to compile the file again:
java -jar smali-1.3.3.jar classout -o classes.dex
Ok, done. So far we have modified two files: statusbar_background.9.png and classes.dex. Now we have to put these files in the place they were inside SystemUI.apk, replacing the original ones. Use again the compression/decompression tool to perform this task.
The next step is to move our modified SystemUI.apk file to the sdcard. Again use usb, email, dropbox… etc. Place it for example in the root of the sdcard.
The last step is to replace the SystemUI.apk that is running on your phone by the one we’ve modified. As we have to write in /system partition, which is mounted with read-only permissions, we need to remount it with writting permissions. For this task we need to use a Terminal on the Android device. If you don’t have one, get it from the market.
On the Terminal, run these commands:
* I’ll suppose that you’ve copied the modified SystemUI.apk in the root of the sdcard, if you haven’t, change the path appropriately in the following command:
cd /sdcard/
mount -o remount,rw /system/
cp -f SystemUI.apk /system/app/
With this last command, the launcher usually crashes someway. In my case my status bar dissapear. You need to restart the phone.
After reboot you should have the status bar with the rate of transparency you’ve chosen:
I’m sure the previous steps (maybe with some modifications) can get transparent status bar working on other devices and versions. Just play a litte.
Original source:
July 1st, 2012&&Posted at &&
If you’re using Blackbuntu nowadays you might have found the following error lines when you execute apt-get update:
W: Failed to fetch http://deb.torproject.org/torproject.org/dists/maverick/main/source/Sources.gz 404 Not Found
W: Failed to fetch http://deb.torproject.org/torproject.org/dists/experimental-maverick/main/binary-i386/Packages.gz 404 Not Found
The thing is that maverick is not longer supported in the tor’s repositories and it’s been replaced by lucid. So we have to do the same in order to fix it:
nano /etc/apt/sources.list
Now go to the TOR repositories section and replace the following lines:
# Tor Project
deb-src http://deb.torproject.org/torproject.org maverick main
deb http://deb.torproject.org/torproject.org experimental-maverick main
with these lines:
# Tor Project
deb-src http://deb.torproject.org/torproject.org lucid main
deb http://deb.torproject.org/torproject.org experimental-lucid main
Now finally execute:
apt-get update
apt-get upgrade
March 26th, 2012&&Posted at &&,
By default sshd is not enabled in Backtrack 5 but of course is installed.
Just run this command:
sshd-generate
And now we can start the service, choose one of the following ways:
service ssh start
/etc/init.d/ssh start
Done. Service is listening on port 22. You can access using root/toor.
You can change the configuration by editing /etc/ssh/sshd_config.
February 11th, 2012&&Posted at &&,
JTables are very useful for develop desktop applications but when it comes to customize properties at cell level it can be a little tricky. The key concept here is that we have to deal with Cell Renderers for each column. TableCellRenderer is an interface that forces to implement the following method:
Component getTableCellRendererComponent(JTable table, Object value,
boolean isSelected, boolean hasFocus, int row, int column)
The most common way to customize Cell Rendering is to create a class that extends a Component and implements TableCellRenderer. Most people use a simple JLabel. For example,
the following class will allow us to change the background of a single cell:
public class JLabelCellRenderer extends JLabel implements TableCellRenderer
public Component getTableCellRendererComponent(JTable table,Object value,
boolean isSelected,boolean hasFocus, int row,int col)
JLabel label = (JLabel) value;
setBackground(label.getBackground());
setOpaque(true); /* Important to see the background color */
return this;
Now lets create our table and use our custom cell renderer:
JTable table = new JTable();
String[] columnNames = {&Red&,&Blue&}; /* Two columns */
JLabel[][] data = new JLabel[1][2]; /* One row, two columns */
data[0][0] = new JLabel(&&);
data[0][0].setBackground(Color.red);
data[0][1] = new JLabel(&&);
data[0][1].setBackground(Color.blue);
table.setModel(new DefaultTableModel(data, columnNames));
/* Now we use our new class for rendering cells */
table.getColumnModel().getColumn(0).setCellRenderer(new JLabelCellRenderer());
table.getColumnModel().getColumn(1).setCellRenderer(new JLabelCellRenderer());
Now we put it in a JFrame and the result is the following:
So it worked! Now you can improve the cell renderer and get more properties from the JLabel such as Font, Foreground, Border… etc.
I’ve developed a more complex but funnier example in which I’ve used most common methods and properties to customize the aspect of a JTable. A couple of screenshots are shown below so you can get the idea.
You can get the source code -& [download id=+ format=+]
and the executable jar file -& [download id=+ format=+]
February 9th, 2012&&Posted at &&,
The other day I was trying to compile and run some swing example code using the command line and when I tried to execute I got the following error:
Exception in thread “main” java.lang.UnsupportedClassVersionError: Main : Unsupported major.minor version 51.0
I found on the Internet that version 51.0 corresponds to java 1.7 and then I realised that I have jdk 1.7 installed while my jre is 1.6.
I usually don’t care about this compatibilty issues because NetBeans takes care of this.
So the solution is to tell javac to compile it for 1.6:
javac -source 1.6 -target 1.6 MyClass.java
And then it worked like a charm.
This kind of error is due to version differences between the binaries and the virtual machine and can be solved like I wrote above. Having said that remember that if you have some incompatible source code between versions javac compiler will complain.
Recent Posts
Categories
Top 5 Posts
(Thanks Vivek for this gift)
Email Subscription
Email Address

我要回帖

更多关于 360root 的文章

 

随机推荐