That's correct. By default, Ubuntu installs recommended but not suggested packages. With --no-install-recommends, only the main dependencies (packages in the Depends field) are installed.
the classical way to mount filelsystems automatically is to use fstab there is another method which is based on systemd [root@svn ~]# cat /etc/fstab # # /etc/fstab # Created by anaconda on Wed Apr 26 17:25:59 2017 # # Accessible filesystems, by reference, are maintained under '/dev/disk' # See man pages fstab(5), findfs(8), mount(8) and/or blkid(8) for more info # /dev/mapper/cl-root / xfs defaults 0 0 UUID=6e3708b2-09ea-43f3-b0f0-9b43a157b3b1 /boot xfs defaults 0 0 /dev/mapper/cl-swap swap swap defaults 0 0 [root@svn ~]# #description /boot - where you want to mount filesystem xfs - filesystem defaults ...
You can use the following commands to run as another user or as root user. #1: runuser command The runuser command run a shell with substitute user and group IDs. This command is useful only when run as the root user : Only session PAM hooks are run, and there is no password prompt. If run as a non-root user without privilege to set user ID, the command will fail as the binary is not setuid. As runuser doesn’t run auth and account PAM hooks, it runs with lower overhead than su. The syntax is: runuser -l userNameHere -c 'command' runuser -l userNameHere -c '/path/to/command arg1 arg2' For example, as a root user you may want to check shell resource limits for oracle user, enter: # runuser -l oracle -c 'ulimit -SHa' OR check nginx or lighttpd web server limitations: # runuser -l nginx -c 'ulimit -SHa' OR # runuser -l lighttpd -c 'ulimit -SHa' Sometime, a root user can not browse NFS mounted share due to permission (secur...
Comments
Post a Comment