'sudo su -' vs 'sudo -i' vs 'sudo /bin/bash' - when does it matter which is used, or does it matter at all?

1

Linux System is much secured than any of its counterpart. One of the way to implement security in Linux is the user management policy and user permission. normal users are not authorized to perform any system operations.

If a normal user needs to perform any system wide changes he needs to use either ‘su‘ or ‘sudo‘ command.

Linux: su v/s sudo

NOTE – This article is more applicable to Ubuntu based distributions, but also applicable to most of the popular Linux distributions.

‘su’ Vs ‘sudo’

‘su‘ forces you to share your root password to other users whereas ‘sudo‘ makes it possible to execute system commands without root password. ‘sudo‘ lets you use your own password to execute system commands i.e., delegates system responsibility without root password.

What is ‘sudo’?

‘sudo‘ is a root binary setuid, which executes root commands on behalf of authorized users and the users need to enter their own password to execute system command...

0 0
2

OK. We're not supposed to use sudo when launching a GUI application that needs root access. We're supposed to use gksudo (or possibly pkexec -- I haven't researched that yet). I found a thread that talked about finding any files we might have messed up by using sudo instead of gksudo. It said to use:

Code: Select all

find $HOME -not -user $USER -exec ls -lad {} \;

which, as far as I can see, lists all files and directories in my home directory where I'm not the owner. In my case, the result is:

Code: Select all

find $HOME -not -user $USER -exec ls -lad {} \;
drwx------ 2 root root 4096 Jul 25 14:03 /home/dave/.cache/dconf
find: `/home/dave/.cache/dconf': Permission denied
drwx------ 2 root root 4096 Jul 25 14:04 /home/dave/.config/leafpad
find: `/home/dave/.config/leafpad': Permission denied
-rw-r--r-- 1 root root 66 Jul 25 15:07 /home/dave/.selected_editor

To the best of my knowledge, I've never done anything with...

0 0
3

lmgrd is a system daemon. The way to manage daemons and other system services in Fedora is using systemd service files. Create something like this in the file /etc/systemd/system/lmgrd.service :

[Unit] Description=License Manager Daemon After=network.target Wants=something-else.service [Service] Type=simple ExecStart=/opt/flexnetserver/lmgrd -z -c lic.dat [Install] WantedBy=multi-user.target

Now, you can start, stop, and restart the service:

# systemctl start lmgrd # systemctl stop lmgrd # systemctl restart lmgrd

Or, enable it so it starts automatically on boot:

#systemctl enable lmgrd

You can adjust this file to reflect relationships on other services. To guide you,...

0 0
4
...
0 0
5

In Progress

* [D*] moderator tool - (Patch under review)

* Update FAQ - (New FAQ under review)

* "Fix" for hashed filenames - (Implementation options under discussion)

* Overchan fork - (Rebranding in progress)

9/12/2016

* Fixed a templating bug that caused some boards to not update properly

9/11/2016

* Fixed a bug in Pepe green [option]

9/10/2016

* Added [option] for Pepe green quote color

* Fixed public ban list

* "Fix" for file save as, but only works for some people

9/9/2016

* Increased file upload limit to 10mb

8/28/2016

* Various velocious tweaks

* Fixed hover for media

* New screencap system is live

* Fixed missing webm thumbnails

* [Show all] in catalog.html to show all hidden threads

* [-] in every thread on catalog.html, it has tooltip and it does hide a thread

* removed the arrow on [Create...

0 0
6

What is CocoaPods

CocoaPods manages library dependencies for your Xcode projects.

The dependencies for your projects are specified in a single text file called a Podfile. CocoaPods will resolve dependencies between libraries, fetch the resulting source code, then link it together in an Xcode workspace to build your project.

Ultimately the goal is to improve discoverability of, and engagement in, third party open-source libraries by creating a more centralised ecosystem.

CocoaPods is built with Ruby and it will be installable with the default Ruby available on macOS. You can use a Ruby Version manager, however we recommend that you use the standard Ruby available on macOS unless you know what you're doing.

Using the default Ruby install will require you to use sudo when installing gems. (This is only an issue for the duration of the gem installation,...

0 0
7

CRYSTAL-CLEAR SOUND

Digital audio signal transmitted from the DVB-T tuner broadcasted by TV stations, as well as films combined with the E-AC-3 integrated system, make an impression of spatial sound coming from the integrated speakers. The TV-set also receives sound in B/G,D/K,I,L/L,M/N systems.

MODERN TECHNOLOGY

Full HD 1920 x 1080 resolution, wide viewing angles, brightness at the level of 250cd/m2, contrast 4000:1, full noise reduction and fast response time encourage to watch favourite programs and films at even better quality.

MANY POSSIBILITIES

Thanks to numerous ports, including digital Component, 3xHDMI, and SCART, the TV may be connected to a DVD or Blu-ray player, a multimedia box, as well as popular video gaming consoles, both the latest generation and those older ones. Tablets can be also connected, using a special cable. VGA port allows displaying image even from older-type of PCs and laptops, and a special audio port will allow...

0 0