Linux Format forums Forum Index Linux Format forums
Help, discussion, magazine feedback and more
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

[ANSWERED] If I ''sudo login'' should I get root?

 
Post new topic   Reply to topic    Linux Format forums Forum Index -> Discussion
View previous topic :: View next topic  

If I ''sudo login'' should I get root?
YES!
50%
 50%  [ 1 ]
NO.
50%
 50%  [ 1 ]
Don't Know.
0%
 0%  [ 0 ]
Donut Care.
0%
 0%  [ 0 ]
AN Otter. Please specify below.
0%
 0%  [ 0 ]
Total Votes : 2

Author Message
Alex01UK
LXF regular


Joined: Thu Jun 14, 2012 5:31 pm
Posts: 221
Location: Scarborough, North Yorkshire, United Kingdom

PostPosted: Wed Jul 09, 2014 12:07 pm    Post subject: [ANSWERED] If I ''sudo login'' should I get root? Reply with quote

Not will I get root, should I get root?
tia aha, from: Alex.xx
_________________
Acer Aspire 5551: AMD Athlon P320 (2.1 GHz), 3GB RAM, ATI HD 425o Graphics.
64bit Windows 7 Home Premium, 64bit Ubuntu Studio 14.o4, 32bit Lubuntu 14.o4

''I am what I am, because we are what we are.''
Back to top
View user's profile Send private message Send e-mail AIM Address Yahoo Messenger MSN Messenger
Alex01UK
LXF regular


Joined: Thu Jun 14, 2012 5:31 pm
Posts: 221
Location: Scarborough, North Yorkshire, United Kingdom

PostPosted: Wed Jul 09, 2014 12:43 pm    Post subject: Re: If I ''sudo login'' should I get root? Reply with quote

Alex01UK wrote:
Not will I get root, should I get root?
tia aha, from: Alex.xx


'buntu 14.o4 logs in with normal user access priviledges for the user you logged in as. Is this the same for all distributions? Pleese post your results here for me.

ie

CTRL F2
login
sudo login
startx
_________________
Acer Aspire 5551: AMD Athlon P320 (2.1 GHz), 3GB RAM, ATI HD 425o Graphics.
64bit Windows 7 Home Premium, 64bit Ubuntu Studio 14.o4, 32bit Lubuntu 14.o4

''I am what I am, because we are what we are.''
Back to top
View user's profile Send private message Send e-mail AIM Address Yahoo Messenger MSN Messenger
nelz
Site admin


Joined: Mon Apr 04, 2005 12:52 pm
Posts: 8450
Location: Warrington, UK

PostPosted: Wed Jul 09, 2014 1:56 pm    Post subject: Reply with quote

Of course you should, if that's what the system administrator has decided you should be able to do. He/she decides what you can and can't do with sudo.
_________________
"Insanity: doing the same thing over and over again and expecting different results." (Albert Einstein)
Back to top
View user's profile Send private message
lok1950
LXF regular


Joined: Tue May 31, 2005 6:31 am
Posts: 1024
Location: Ottawa

PostPosted: Wed Jul 09, 2014 5:50 pm    Post subject: Reply with quote

Fedora uses policy kit to disable login to a graphical desktop for root and has for about six years now,there is no documented way of doing it.

Enjoy the Choice Smile
Back to top
View user's profile Send private message
nelz
Site admin


Joined: Mon Apr 04, 2005 12:52 pm
Posts: 8450
Location: Warrington, UK

PostPosted: Wed Jul 09, 2014 8:46 pm    Post subject: Reply with quote

Are you sure they use PolicyKit for that? Fedora uses systemd now. Anyway, it's a good policy, there is no need to run a desktop as root, it is just adding insecurity for no benefit.
_________________
"Insanity: doing the same thing over and over again and expecting different results." (Albert Einstein)
Back to top
View user's profile Send private message
lok1950
LXF regular


Joined: Tue May 31, 2005 6:31 am
Posts: 1024
Location: Ottawa

PostPosted: Wed Jul 09, 2014 10:14 pm    Post subject: Reply with quote

They may well use systemd but when they first implemented it only policy kit was around IIRC but I have a feeling that it is now integrated into GDM as the no root GUI was a Gnome.org idea part of there enterprise friendly policy,as you stated desktop root is a real security headache in a corporate enviroment.

Enjoy the Choice Smile
Back to top
View user's profile Send private message
nelz
Site admin


Joined: Mon Apr 04, 2005 12:52 pm
Posts: 8450
Location: Warrington, UK

PostPosted: Wed Jul 09, 2014 11:26 pm    Post subject: Reply with quote

They also disabled Ctrl-Alt-Backspace so you couldn't log in as root in a VC and run startx.

Moved to Discussion, this is not for Help.
_________________
"Insanity: doing the same thing over and over again and expecting different results." (Albert Einstein)
Back to top
View user's profile Send private message
View previous topic :: View next topic  
Display posts from previous:   
Post new topic   Reply to topic    Linux Format forums Forum Index -> Discussion All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
Linux Format forums topic RSS feed 


Powered by phpBB © 2001, 2005 phpBB Group


Copyright 2011 Future Publishing, all rights reserved.


Web hosting by UKFast