D&C GLug - Home Page

[ Date Index ] [ Thread Index ] [ <= Previous by date / thread ] [ Next by date / thread => ]

Re: [LUG] Security Thoughts

 

On 30/03/17 13:10, Brad Rogers via list wrote:
On Thu, 30 Mar 2017 12:24:20 +0100
Neil via list <list@xxxxxxxxxxxxx> wrote:

Hello Neil,

possible/easy to set one password to log on and another one to use with
sudo? And secondly, if so, is it a good idea?

Not with one user.  Martin suggests a method that works, but you need to
change user to perform any admin;  Switch to admin user, then perform
admin tasks.  That requires logging into a second account, then issuing
an "sudo....blah, blah".  Multi-staging like that gets old pretty
quickly.  Kind of negates the whole point of sudo, which is to give
users limited, short-term, access to privileged commands.



Yes, I see that. Obviously I have been using the one user plus sudo system for years. I suppose if I change the root password it will automatically change the log on password too.

Neil

--
The Mailing List for the Devon & Cornwall LUG
https://mailman.dclug.org.uk/listinfo/list
FAQ: http://www.dcglug.org.uk/listfaq