1. Install Sambasudo apt-get install Samba-common smbclient Samba2. Configuring Sambasudo vim/etc/samba/smb.conf[Brian]Path =/home/brianAvailable = yesbrowseable = yeswritable = yesValid users = Brian ===> Set user3. Set the passwordsmbpasswa-a [user name] For example: Smbpasswa-a BrianNew password:[Set your password] new password:123456: Re-enter again: 1234564. Restart effectiveService SMB RestartThis article is from the "Rye Watch" blog, please be
Banshee is a playback software developed for source code. It is developed by Novell and uses GStreamer encoding and decoding. The latest version is Banshee 2.9.1, the latest version of GStreamer, and a bunch of bug fixes. For more information about this release, see release notes.
This tutorial uses the PPA source to install Ubuntu 14.04 Trusty Tahr and Linux Mint 17 Qiana.
Open the terminal and enter the following command:
Sudo add-apt-repositor
1. Add Wireshark user Groupsudo groupadd wireshark2. Change Dumpcap to Wireshark user groupsudo chgrp wireshark/usr/bin/dumpcap3, let Wireshark user group have root permission to use Dumpcapsudo chmod 4755/usr/bin/dumpcap(Note: If set to 4754 Wireshark will still prompt for no permissions)4, will need to use the ordinary user
Command:
View the network connection status (whether vsftp is enabled): sudo netstat-tulnp
Stop the vsftpd service: sudo service vsftpd stopStart vsftpd service: sudo service vsftpd start
Today, I encountered a problem. It took a long time to find the cause. It turned out that the file name contains multiple spaces and can be found only when tab is completed under the command line. Alas. I would like to write it down and keep it as a warning.
Note that no blank lines or spaces are allowed in
1. Open the Terminal tool in the following manner, or use the shortcut key of the Terminal tool Ctrl + ALT +t to open the terminal
2, the Terminal tool is opened as shown in the following figure, our operation is in this window
3, the way to switch root user one
Execute command sudo su
The above command will require us to enter our current password.
4, enter the password and then switch to the root
This problem took about one afternoon.
Previously, a uliweb application was executed using a user identity. At that time, the uliweb debugging server was used for laziness and then managed using the supervisor. However, it was found that the uliweb debugging server could not be suspended using the supervisor.
Later I remembered that wsgidaemonprocess (mod_wsgi's Apache Directive) had the user group paramet
In the previous chapter to crack root permissions, the individual is not recommended to use the root user, after all, the greater the responsibility of the greater the more. But some friends still need it, let's talk about it.Crack root privileges:1) sudo passwd root//Set password for root user2) put the/etc/ssh/sshd_config file under thePermitrootlogin Without-password modified to Permitrootlogin Yes//This is allowed to log in as root user3) Rebootin
Tags: mysql root ubuntuDo some privilege related operation, root user suddenly can't find the system database, lost root user's permission, looked for a long time to solve:
Close the databaseSudo/etc/init.d/mysql stop
Start the Safe Mode databaseMysqld_safe--skip-grant-tables
Log in to the database, which is now the root user, view the root userMysql> Use MySQL;> select
Ubuntu9.10 just installed MySQL
Sudo apt-Get install mysql-Server
The installation is successful, and the password and OK are required at the end of the installation.
Mysql-u root-P
Enter the password.
An error occurred!Error 1045 (28000): Access denied for user 'root' @ 'localhost' (using password: yse)
Leave the password Blank
Error 1045 (28000): Access denied for user 'root' @ 'localhost' (using p
1. The hand has changed the current user's permission group, causes the sudo command to be unable to use, and the root user's password has not been modified, cannot login the root user.2. Switch to Recoverymode and log in with the root user3. Execute mount-o Rw,remount/command can modify file system to read and write4. Then use the passwd command to change the root user password and restart5.SU-command swit
Creating a normal user with the AddUser user1 command, with sudo permissions (adding the new user User1 to the sudo or root user group, or modifying the/etc/sudoer file), but still unable to execute the sudo instruction, will report the following error:sudo:/usr/lib/sudo/sudoers.so must be owned by UID 0You will need to follow the instructions below:1. First swit
1. Add User group Hadoop
AddGroup Hadoop
2. Create a user and add it to the Hadoop group that you just created
$ adduser--ingroup Hadoop Hadoop
3. Editor/etc/sudoers
## This file must is edited with the ' Visudo ' command as root.## Please consider adding the local content in/etc/sudoers.d/instead of# directly modifying this file.## to the ' man ' page for details ' and ' to write a sudoers file.#Defau
Mysql-u Root-p Press ENTER, after entering the password, you are prompted for access denied......ues password yes/no error.The first step:Then you need to go into the/etc/mysql directory, then sudo vim/vi debian.cnf to view the username and password inside, then use the username and password in this file to enter MySQL, If the user name in DEBIAN.CNF is Debian-sys-maint, then:Mysql-u Debian-sys-maint-p Press ENTER, you need to enter the password, copy
1. Create usermysql> use MySQL;mysql> INSERT INTO User (Host,user,password) VALUES ("localhost", "Wangzh", Password ("123456″");Refresh System Permissions TableMysql>flush privileges;To create a database:Mysql> CREATE DATABASE Hockor default character set UTF8;2. Assigning permissions to users using the databaseMysql>grant all privileges in hockor.* to [e-mail protected] identified by ' 123456″;Mysql>flush
1, create the dev group with the root permission to execute the groupadd command. sudo groupadd dev2, create bpuser user with adduser command,--ingroup specify user to join the dev group. sudo adduser bpuser--ingroup dev3, using Userdel to remove the user sudo userdel-r bpuser4,ubuntu default has sudo group, users adde
Lin @ lenovo :~ $ Su-root Password: Command 'mesg' isavailablein '/usr/bin/mesg' Thecommandcouldnotbelocatedbecause'/usr/bin' failed.-su: mesg: Command root @ lenov not found
Lin @ lenovo :~ $ Su-rootPassword:Command 'mesg' is available in '/usr/bin/mesg'The command cocould not be located because '/usr/bin' is not supported ded in the PATH environment variable.-Su: mesg: Command not foundRoot @ lenovo :~ # Gedit/etc/profileCommand 'gedit 'is available in'/usr/bin/gedit'The command cocould not be
1: Set the password for the root usersudo passwd root2: Modify/etc/lightdm/lightdm.conf[Seatdefaults]Autologin-guest=falseAutologin-user=rootAutologin-user-timeout=0Autologin-session=lightdm-autologinGreeter-show-manual-login=trueAllow-guest=false3: Modify Sshd_configPermitrootlogin YesRestart SSHD Services: Service sshd restart4: Modify/root/.profileTty-s mesg N5: Edit ChromeVi/opt/google/chrome/google-ch
You go into/etc/mysql. Then there will be a debian.cnf file in the directory, with the sudo cat debian.cnf to see what's inside.If the user name is Debian-sys-maintUse the Mysql-u debian-sys-maint-p command and enter the password in the debian.cnf file above and then log in to MySQL.mysql> use MySQL;Database changedmysql> Update user Set Password=password (' New password ') where
/tk8.4.16/Unix/../generic/tk3d. C: 1301: Error: 'tkdisplay' has no member named 'bordertable'/Root/tk8.4.16/Unix/../generic/tk3d. C: 1301: Error: 'tkdisplay' has no member named 'bordertable'/Root/tk8.4.16/Unix/../generic/tk3d. C: 1306: Error: 'tkborder' has no member named 'nextptr'......In the terminal, enter: sudo apt-Get install libx11-dev
Then run again
./Configure -- prefix =/opt/sourcenav(Recommended parameters for the install file)MakeMake install
4) Start snavigatorEnter/opt/sourcenav/b
1. Back up sudo filessudo CP /etc/sudoers.2. Add the current user to the Sudo groupNote that this file can only be edited with VITry using Visudo to edit/vi//sudoers firstsudo visudoIf the above instruction fails, use VI to open the editsudo VI /etc/sudoersFind root all= (all:all)All, add a similar line belowKube all= (All:all) all3. Set the current user-free passwordUse Visudo to open sudoers and editsudo
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.