New answers tagged root
            2
            votes
        
            
                
                Accepted
            
    How do I enable root account = set root password in Synology DSM 7.2?
                So, I just went through most of the search results, most claiming it is no longer possible, however it is still possible in 7.2 and maybe in later versions of DSM.
Try this, just change the the ...
            
        
       
    
            0
            votes
        
    What script could allow regular users to use network namespaces?
                I use
user ALL=(root) NOPASSWD: /usr/bin/ip netns exec * sudo -u user *, !/usr/bin/ip netns exec * * sudo -u user *
In /etc/sudoers.d/netns
This allows user to run ip netns exec $NAMESPACE sudo -u $...
            
        
       
    
            0
            votes
        
    Cannot reset root password via grub
                The "authentication token manipulation error" you're encountering typically occurs when the root filesystem is mounted as read-only. This is a common issue when attempting to reset passwords ...
            
        
       
    
            1
            vote
        
    `sudo which` command not finding executable that exists in regular user PATH
                See the section Command Environment in man sudoers.
By default, env_reset is enabled and PATH is reset to a secure value - either secure_path value or a compiled-in value if the secure_path is not set....
            
        
       
    
            4
            votes
        
            
                
                Accepted
            
    `sudo which` command not finding executable that exists in regular user PATH
                As root, there are more things that should be in your path.  (like /sbin and /usr/sbin)
As root, there are things that should not be in your path.  (like .)
Therefore, the path is normally reset.
The ...
            
        
       
    
            0
            votes
        
    how does switch_root command make /sbin/init in the new filesystem pid 1 process?
                The execv() function (and every other function in the "exec" family) is defined as replacing the current process with the new one.  Roughly what happens when a program calls the function is:
...
            
        
       
    Top 50 recent answers are included
Related Tags
root × 1221sudo × 246
linux × 199
permissions × 183
debian × 106
security × 103
users × 93
password × 87
su × 76
ubuntu × 70
ssh × 66
bash × 61
centos × 60
shell × 57
non-root-user × 54
login × 49
privileges × 46
files × 35
shell-script × 34
mount × 26
filesystems × 23
cron × 23
fedora × 22
terminal × 22
partition × 22
 
        