Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
portage account has a password?
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Networking & Security
View previous topic :: View next topic  
Author Message
moonbase
n00b
n00b


Joined: 24 Jul 2011
Posts: 5

PostPosted: Sun Aug 11, 2013 1:20 am    Post subject: portage account has a password? Reply with quote

I noticed today that the portage account is listed as having a usable password:

Code:

# passwd -a -S
...
portage P 04/10/2013 0 99999 7 -1
...
# passwd -l portage


If it is a default, does anyone know what it is? :twisted:

In actuality the account does not have a usable password, but this scared me for a minute. The /etc/shadow file field has an "x" rather than a "!" or a "*", but just for this account. I am assuming this is why it is listed with a usable password.

Since I have never edited the shadow file by hand and have checked this on several systems, I am assuming this is a default. Maybe just for auditing sake we could change this?

If anyone knows better, please let me know. I may open a bug for this otherwise.
_________________
Not a shred of evidence exists in favor of the idea that life is serious.
Back to top
View user's profile Send private message
666threesixes666
Veteran
Veteran


Joined: 31 May 2011
Posts: 1248
Location: 42.68n 85.41w

PostPosted: Sun Aug 11, 2013 3:23 am    Post subject: Reply with quote

Code:

mkultra@mksrv [ ~ ]$ sudo passwd -a -S | grep port
portage P
mkultra@mksrv [ ~ ]$ sudo cat /etc/shadow | grep port
mkultra@mksrv [ ~ ]$ sudo su portage
su: Authentication service cannot retrieve authentication info
(Ignored)
mkultra@mksrv [ ~ ]$


its not like that on my system. if you can login to portage with root $ su portage, id file bug reports & change its shell to /sbin/nologin
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Networking & Security 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