home bbs files messages ]

Forums before death by AOL, social media and spammers... "We can't have nice things"

   comp.os.linux.misc      Linux-specific topics not covered by oth      135,536 messages   

[   << oldest   |   < older   |   list   |   newer >   |   newest >>   ]

   Message 135,065 of 135,536   
   Bobbie Sellers to rbowman   
   =?UTF-8?Q?Re=3A_=E2=80=9CWhat_a_Linux_ro   
   22 Jan 26 12:30:39   
   
   From: bliss-sf4ever@dslextreme.com   
      
   On 1/22/26 12:13, rbowman wrote:   
   > On Thu, 22 Jan 2026 14:45:34 +0100, Ralf Fassel wrote:   
   >   
   >> * rbowman    
   >> | [...] 'sudo su' required my password and I become root.   
   >>   
   >> I thought that was what "sudo -i" was for, but there might be subtle   
   >> differences w/ regards to which login-specific files are read.   
   >>   
   >> R'   
   >   
   > Force of habit? -i works.  I very seldom use the option and didn't know   
   > about -i.   
   >   
   > I don't remember the timeline but when I first started using Linux you   
   > would set a root password.  'su' would ask for that password and you would   
   > become root.  It's been a long time but iirc there was a flag so you could   
   > retain your user environment which was handy if you had a lot of aliases.   
   >   
   > Then when the root account was locked and didn't have a password 'su'   
   > wouldn't work but 'sudo su' seemed logical and it works.  One twist is   
   > 'sudo su' leaves you in the same directory where 'sudo -i' puts you in /   
   > root.   
   >   
      
   	I am fine with root and with user passwords and even machine passwords.   
      
   	Well here is a little article written some time ago.   
   		Why PCLinuxOS Shuns sudo Use   
   < https://pclosmag.com/html/Issues/201205/page11.html>   
      
   	The way the 'buntus and some others use it is insanely   
   insecure. On PCLOS we "use su -" and yes that is a space before   
   the hyphen/dash whatever you want to call that short horizontal   
   line. Then you will enter your root passworkd end up in "/" and   
   I suggest that your call from the terminal would be to "mc" unless   
   you are a skillful typist with all the Linux commands at your fingertips.   
   	Leaving the space and dash out may destroy your access to   
   your /home/user files.   
   	Then you would need to learn "chown".   
      
   bliss- Dell Precision 7730- PCLOS 2026- Linux 6.12.66 pclos1- KDE Plasma   
   6.5.5   
      
   --- SoupGate-Win32 v1.05   
    * Origin: you cannot sedate... all the things you hate (1:229/2)   

[   << oldest   |   < older   |   list   |   newer >   |   newest >>   ]


(c) 1994,  bbs@darkrealms.ca