Sponsored Content
Full Discussion: Block any root Privilege
Operating Systems Linux Red Hat Block any root Privilege Post 303037913 by nimafire on Saturday 17th of August 2019 09:19:23 AM
Old 08-17-2019
Block any root Privilege

Hey
is there any method (base on kernel) to block adding any root Privilege?
only "root" account allow on system and no one can add new root Privilege, ?
 

10 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

Run non-root script as root with non-root environment

All, I want to run a non-root script as the root user with non-root environment variables with crontab. The non-root user would have environment variables for database access such as Oracle or Sybase. The root user does not have the Oracle or Sybase enviroment variables. I thought you could do... (2 Replies)
Discussion started by: bubba112557
2 Replies

2. Solaris

root privilege

Hello All, I need your help to know how i can give regular user ALL root privileges. If there is any way pleas help me :) Regards, Ahmad (7 Replies)
Discussion started by: ahmad_one
7 Replies

3. Solaris

Want to block ftp for root user

Hi Friends, I would like to block the root user for doing ftp. As I am aware that I need to put the entry for root in /etc/ftpusers.....am I right...??? But I am not able to edit the file & even more command is not working. #ls -l ftp* total 14 -rw-r--r-- 1 root sys 1249 Jun... (3 Replies)
Discussion started by: jumadhiya
3 Replies

4. Linux

shrinking root partition and using free space to create a block device

We are intending to protect a set of user specified files using LVM mirroring where the protected space on which the user files are stored is mirrored on an LV on a different disk. Our problem is that for a user with a custom layout has installed linux with 2 partitons for swap and / and there is... (0 Replies)
Discussion started by: kickdgrass
0 Replies

5. Solaris

Root privilege for user

Can anyone please tell how to give root privilege to a normal user in solaris 10? (5 Replies)
Discussion started by: nicktrix
5 Replies

6. Red Hat

How do I run my "SMTP" service as a root privilege ?

Friends , i want to run my smtp service as a root . let me know what r the changes i have to made to my machine . AVklinux (1 Reply)
Discussion started by: avklinux
1 Replies

7. UNIX for Dummies Questions & Answers

How to get the mouse wheel to work without root privilege

Hi, I use a nomachine terminal to access KDE desktop(redhat linux enterprise) on a server. Is there any way to get the mouse wheel to work without root privilege ? I have a usb mouse connected to a nomachine terminal,most likely the mouse wheel problem is not the problem of nomachine, but... (1 Reply)
Discussion started by: grossgermany
1 Replies

8. AIX

Block root user in system console - aix 5.3

How to block the root user login in system direct console. Users should login with non-root ids themselves and then use the su command to become root. Which configuration file i need to check and disable it. (5 Replies)
Discussion started by: kmvinay
5 Replies

9. UNIX for Advanced & Expert Users

For this process, do we need to block Root access???

Hi all, actually my scenario is we are running a webserver using apache-tomcat in that our client uploading resumes, so that particular space we are allowed to upload for that we are running java in root permission, so even we changed the particular folder permission also inside the Webapps but... (1 Reply)
Discussion started by: anishkumarv
1 Replies

10. Solaris

Migration of system having UFS root FS with zones root to ZFS root FS

Hi All After downloading ZFS documentation from oracle site, I am able to successfully migrate UFS root FS without zones to ZFS root FS. But in case of UFS root file system with zones , I am successfully able to migrate global zone to zfs root file system but zone are still in UFS root file... (2 Replies)
Discussion started by: sb200
2 Replies
Privilege(3PERL)					      Perl Library Functions						  Privilege(3PERL)

NAME
Privilege - Perl interface to Privileges SYNOPSIS
use Sun::Solaris::Privilege qw(:ALL); DESCRIPTION
This module provides wrappers for the Privilege-related system and library calls. Also provided are constants from the various Privilege- related headers and dynamically-generated constants for all the privileges and privilege sets. Constants PRIV_STR_SHORT, PRIV_STR_LIT, PRIV_STR_PORT, PRIV_ON, PRIV_OFF, PRIV_SET, PRIV_AWARE, and PRIV_DEBUG. Functions getppriv($which) This function returns the process privilege set specified by $which. setppriv($op, $which, $set) This function modified the privilege set specified by $which in the as specified by the $op and $set arguments. If $op is PRIV_ON, the privileges in $set are added to the set specified. If $op is PRIV_OFF, the privileges in $set are removed from the set specified. If $op is PRIV_SET, the specified set is made equal to $set. getpflags($flag) This function returns the value associated with process $flag or undef on error. Possible values for $flag are PRIV_AWARE and PRIV_DEBUG. setppflags($flag, $val) This function sets the process flag $flag to $val. priv_fillset() This function returns a new privilege set with all privileges set. priv_emptyset() This function returns a new empty privilege set. priv_isemptyset($set) This function returns whether or not $set is empty. priv_isfullset($set) This function returns whether or not $set is full. priv_isequalset($a, $b) This function returns whether sets $a and $b are equal. priv_issubset($a, $b) This function returns whether set $a is a subset of $b. priv_ismember($set, $priv) This function returns whether $priv is a member of $set. priv_ineffect($priv) This function returned whether $priv is in the process's effective set. priv_intersect($a, $b) This function returns a new privilege set which is the intersection of $a and $b. priv_union($a, $b) This function returns a new privilege set which is the union of $a and $b. priv_inverse($a) This function returns a new privilege set which is the inverse of $a. priv_addset($set, $priv) This functon adds the privilege $priv to $set. priv_copyset($a) This function returns a copy of the privilege set $a. priv_delset($set, $priv) This function remove the privilege $priv from $set. Class methods None. Object methods None. Exports By default nothing is exported from this module. The following tags can be used to selectively import constants and functions defined in this module: :SYSCALLS getppriv(), setppriv() :LIBCALLS priv_addset(), priv_copyset(), priv_delset(), priv_emptyset(), priv_fillset(), priv_intersect(), priv_inverse(), priv_isemp- tyset(), priv_isequalset(), priv_isfullset(), priv_ismember(), priv_issubset(), priv_gettext(), priv_union(), priv_set_to_str(), priv_str_to_set() :CONSTANTS PRIV_STR_SHORT, PRIV_STR_LIT, PRIV_STR_PORT, PRIV_ON, PRIV_OFF, PRIV_SET, PRIV_AWARE, PRIV_DEBUG, plus constants for all privileges and privilege sets. :VARIABLES %PRIVILEGES, %PRIVSETS :ALL :SYSCALLS, :LIBCALLS, :CONSTANTS, :VARIABLES ATTRIBUTES
See attributes(5) for descriptions of the following attributes: +-----------------------------+-----------------------------+ | ATTRIBUTE TYPE | ATTRIBUTE VALUE | +-----------------------------+-----------------------------+ |Availability |SUNWpl5u | +-----------------------------+-----------------------------+ |Interface Stability |Evolving | +-----------------------------+-----------------------------+ SEE ALSO
getpflags(2), getppriv(2), priv_addset(3C), priv_set(3C), priv_str_to_set(3C), attributes(5), privileges(5) SunOS 5.11 30 Jan 2004 Privilege(3PERL)
All times are GMT -4. The time now is 02:47 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy