Rm will happily remove files for you, though it should be used sparingly, since a bad rm command could wipe your entire hd, though it would take some serious coincidence to make it happen by accident. mv will move files, cp will copy them, and (on osx at least) pushd and popd will save restore directories in case you need to go somewhere else first to do something, and you're 6 levels deep in the file system, and really don't feel like typing that all out again to get back where you were. A simple pushd ./ will save the folder for you, cd where ever you like, then a popd will get you back where you were. One of the more useful navigation commands imo.
hth.
On Sep 22, 2014, at 5:41 AM, Gordon Smith wrote:

Hi Travis

OK, yes, I did know about the sudo command. But the developer of an app requires SSH root access to one of our systems. That’s why I requested root access.

On one of our machines I can actually log in as root, but that machine is where this server is running and I need to do some serious work on that myself which will undoubtedly break that access level.

I’ll try using sudo first though on the other system.
What’s the Unix equivalent for the Windows Del command? I need to delete a group of files from a root-only access folder.

Many thanks.

On 21 Sep 2014, at 20:59, Travis Siegel <tsie...@softcon.com> wrote:

You can get root access by using the sudo command. Normally, you'd simply run a single command using sudo and it would run as root, however, a command like
sudo /bin/bash
will get you a root shell, and you need only use your own password to make it happen (assuming you're an admin on the machine of course). You're of course welcome to use any shell you like, assuming you have others installed, but bash is the default, and it's unlikely you'll need another one anyhow. once you use the sudo command, you will have a root shell, and you can perform any function required. Typing exit at a shell prompt will get you back to your normal user-level shell, and typing exit again will exit the shell, and end your terminal session altogether.

As far as logging in as root from the terminal screen, if it's possible, I've never figured out how to do so. Others have managed it, but I have not, though it doesn't really matter, because a sudo root shell provides exactly the same access as logging in directly as root.
hth.
On Sep 20, 2014, at 6:48 AM, Gordon Smith wrote:

Hi all

As part of the fix process for our mail system, I need to log into our machine as “root” I always thought that once at the log-in screen, you could simply use “Root” as the user ID, and “root” as the password. Apparently, this isn’t the case any longer; although our old Snow Leopard machine does let me in that way.

How, then, does one enable root access? This is something I need to do urgently, so a rapid response, possibly, off list, would be very much appreciated.

I’m clearly a little ring-rusty when it comes to my Unix/Linux skills, something I’n really going to have to brush up on.

Thanks.

Kind regards

Gordon


<--- Mac Access At Mac Access Dot Net --->

To reply to this post, please address your message to mac-access@mac-access.net

You can find an archive of all messages posted to the Mac-Access forum at the list's public Mail Archive:
<http://www.mail-archive.com/mac-access@mac-access.net/>.
Subscribe to the list's RSS feed from:
<http://www.mail-archive.com/mac-access@mac-access.net/maillist.xml>

As the Mac Access Dot Net administrators, we always strive to ensure that the Mac-Access E-Mal list remains malware, spyware, Trojan, virus and worm-free. However, this should in no way replace your own security strategy. We assume neither liability nor responsibility should something unpredictable happen.

Please remember to update your membership preferences periodically by visiting the list website at:
<http://mail.tft-bbs.co.uk/mailman/listinfo/mac-access/options/>

<--- Mac Access At Mac Access Dot Net --->

To reply to this post, please address your message to mac-access@mac-access.net

You can find an archive of all messages posted to the Mac-Access forum at the list's public Mail Archive:
<http://www.mail-archive.com/mac-access@mac-access.net/>.
Subscribe to the list's RSS feed from:
<http://www.mail-archive.com/mac-access@mac-access.net/maillist.xml>

As the Mac Access Dot Net administrators, we always strive to ensure that the Mac-Access E-Mal list remains malware, spyware, Trojan, virus and worm-free. However, this should in no way replace your own security strategy. We assume neither liability nor responsibility should something unpredictable happen.

Please remember to update your membership preferences periodically by visiting the list website at:
<http://mail.tft-bbs.co.uk/mailman/listinfo/mac-access/options/>

<--- Mac Access At Mac Access Dot Net --->

To reply to this post, please address your message to mac-access@mac-access.net

You can find an archive of all messages posted to the Mac-Access forum at the list's public Mail Archive:
<http://www.mail-archive.com/mac-access@mac-access.net/>.
Subscribe to the list's RSS feed from:
<http://www.mail-archive.com/mac-access@mac-access.net/maillist.xml>

As the Mac Access Dot Net administrators, we always strive to ensure that the Mac-Access E-Mal list remains malware, spyware, Trojan, virus and worm-free. However, this should in no way replace your own security strategy. We assume neither liability nor responsibility should something unpredictable happen.

Please remember to update your membership preferences periodically by visiting the list website at:
<http://mail.tft-bbs.co.uk/mailman/listinfo/mac-access/options/>

<--- Mac Access At Mac Access Dot Net --->

To reply to this post, please address your message to mac-access@mac-access.net

You can find an archive of all messages posted    to the Mac-Access forum at 
the list's public Mail Archive:
<http://www.mail-archive.com/mac-access@mac-access.net/>.
Subscribe to the list's RSS feed from:
<http://www.mail-archive.com/mac-access@mac-access.net/maillist.xml>

As the Mac Access Dot Net administrators, we always strive to ensure that the 
Mac-Access E-Mal list remains malware, spyware, Trojan, virus and worm-free.  
However, this should in no way replace your own security strategy.  We assume 
neither liability nor responsibility should something unpredictable happen.

Please remember to update your membership preferences periodically by visiting 
the list website at:
<http://mail.tft-bbs.co.uk/mailman/listinfo/mac-access/options/>

Reply via email to