LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 11-01-2012, 04:29 PM   #1
leeyaa
LQ Newbie
 
Registered: Nov 2012
Posts: 4

Rep: Reputation: Disabled
htop output


Hello

I get some outout in htop that I dont quiet understand. Maybe someone could explain me more since I could not find anything on google.

https://fbcdn-sphotos-b-a.akamaihd.n...75415383_n.jpg

Hibernate is another user on my box who has sftp access, -s /bin/false with group sftponly.

Thanks

Last edited by leeyaa; 11-01-2012 at 04:30 PM.
 
Old 11-01-2012, 05:27 PM   #2
mmheera
Member
 
Registered: Oct 2012
Location: Germany
Distribution: Ubuntu, Debian, Fedora,Windows 7
Posts: 107

Rep: Reputation: 11
You can find the details here:

http://manpages.ubuntu.com/manpages/...n1/htop.1.html
 
Old 11-01-2012, 08:01 PM   #3
leeyaa
LQ Newbie
 
Registered: Nov 2012
Posts: 4

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by mmheera View Post
Yep, I know. Nothing on the privileged thing tho. I would like to understand it better. For example why it is under user root?
 
Old 11-01-2012, 10:02 PM   #4
unSpawn
Moderator
 
Registered: May 2001
Posts: 29,331
Blog Entries: 55

Rep: Reputation: 3529Reputation: 3529Reputation: 3529Reputation: 3529Reputation: 3529Reputation: 3529Reputation: 3529Reputation: 3529Reputation: 3529Reputation: 3529Reputation: 3529
Quote:
Originally Posted by leeyaa View Post
Nothing on the privileged thing tho.
...because he pointed you to the wrong manual page.


Quote:
Originally Posted by leeyaa View Post
I would like to understand it better. For example why it is under user root?
What you're looking for is called "separation of privilege" and is detailed in /usr/share/doc/openssh-%{version}/README.privsep
 
Old 11-02-2012, 07:09 AM   #5
leeyaa
LQ Newbie
 
Registered: Nov 2012
Posts: 4

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by unSpawn View Post
...because he pointed you to the wrong manual page.



What you're looking for is called "separation of privilege" and is detailed in /usr/share/doc/openssh-%{version}/README.privsep
From this I understand it is normal and has to do with default configuration. So nothing wrong in session being owned by the root account.

I was getting lots of break in attempts even after I changed the port a few times to above 50000 and got a bit worried.

Just one more thing, unSpawn, should I do that pre-setup for ssh mentioned in the readme regarding /var/empty?

Thanks a lot.
 
Old 11-02-2012, 07:54 AM   #6
unSpawn
Moderator
 
Registered: May 2001
Posts: 29,331
Blog Entries: 55

Rep: Reputation: 3529Reputation: 3529Reputation: 3529Reputation: 3529Reputation: 3529Reputation: 3529Reputation: 3529Reputation: 3529Reputation: 3529Reputation: 3529Reputation: 3529
Quote:
Originally Posted by leeyaa View Post
From this I understand it is normal and has to do with default configuration. So nothing wrong in session being owned by the root account.
Unless you log in over SSH as root (which you shouldn't) it isn't a "session" owned by root but the child of the SSH daemon that requires root privileges to provide proper separation. The actual child of that child runs as the user logging in, spawns a shell too.


Quote:
Originally Posted by leeyaa View Post
I was getting lots of break in attempts even after I changed the port a few times to above 50000 and got a bit worried.
Moving the port is nice but not the most important thing to do. Please see this sticky thread: http://www.linuxquestions.org/questi...tempts-340366/


Quote:
Originally Posted by leeyaa View Post
Just one more thing, unSpawn, should I do that pre-setup for ssh mentioned in the readme regarding /var/empty?
Creation of required local accounts and privsep directory is handled by your package manager or as part of running 'make install'. I suggest you check existence first.
 
Old 11-02-2012, 08:12 AM   #7
leeyaa
LQ Newbie
 
Registered: Nov 2012
Posts: 4

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by unSpawn View Post
Creation of required local accounts and privsep directory is handled by your package manager or as part of running 'make install'. I suggest you check existence first.
Yes, actually portage has handled that pretty well, just checked. (using Gentoo).

Thanks again, unSpawn, very usefull info.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
error while try to install htop-0.8 Elnegro8 Linux - Software 5 08-26-2013 03:36 PM
Assigning a button for top or htop. indiajoe Linux - General 3 03-11-2012 07:00 AM
Output of htop in a file humla Linux - General 4 04-14-2011 04:48 PM
[SOLVED] HTOP and PID's helptonewbie Linux - Newbie 7 12-30-2010 02:42 AM
htop execute and exit... chamila1986 Linux - Newbie 2 01-16-2010 04:21 PM


All times are GMT -5. The time now is 10:37 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration