Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
How to Delete User "portage" from login screen ?
View unanswered posts
View posts from last 24 hours

 
This topic is locked: you cannot edit posts or make replies.    Gentoo Forums Forum Index Gentoo for Mac OS X (Portage for Mac OS X)
View previous topic :: View next topic  
Author Message
stellit
n00b
n00b


Joined: 18 Jun 2005
Posts: 44

PostPosted: Fri Feb 24, 2006 4:37 pm    Post subject: How to Delete User "portage" from login screen ? Reply with quote

Because I've install gentoo on my External hardware, so I uninstall gentoo Portage for MacOSX.
But after I uninstall gentoo portage, the User named Portage always on my MacOSX login screen.
Is there anyway can let me delete this user ? I really dislike this inexistent user on my login screen ~
Thank you ! :oops: :oops:
Back to top
View user's profile Send private message
SinoTech
Advocate
Advocate


Joined: 20 Mar 2004
Posts: 2579
Location: Neunkirchen / Saarland / Germany

PostPosted: Sat Feb 25, 2006 10:41 am    Post subject: Reply with quote

Since you've uninstalled portage, you should be able to simply remove this user from "/etc/passwd" as well its group "/etc/group".
Each user (each group respectively) gots a separate line in "/etc/passwd" ("/etc/group" respectively), so you've just to remove these line and the user (group) no longer exist on your system.
Regards,

Sino
Back to top
View user's profile Send private message
stellit
n00b
n00b


Joined: 18 Jun 2005
Posts: 44

PostPosted: Sat Feb 25, 2006 11:27 am    Post subject: Reply with quote

I‘ve already check /etc/passwd and /etc/group, both of them have no user named portage,
Code:
cat group

Code:
nobody:*:-2:
nogroup:*:-1:
wheel:*:0:root
daemon:*:1:root
kmem:*:2:root
sys:*:3:root
tty:*:4:root
operator:*:5:root
mail:*:6:
bin:*:7:
staff:*:20:root
lp:*:26:
postfix:*:27:
postdrop:*:28:
certusers:*:29:root,jabber,postfix,cyrusimap
utmp:*:45:
uucp:*:66:
dialer:*:68:
network:*:69:
www:*:70:
mysql:*:74:
sshd:*:75:
qtss:*:76:
mailman:*:78:
appserverusr:*:79:
admin:*:80:root
appserveradm:*:81:
clamav:*:82:
amavisd:*:83:
jabber:*:84:
xgridcontroller:*:85:
xgridagent:*:86:
appowner:*:87:
windowserver:*:88:
accessibility:*:90:
tokend:*:91:
securityagent:*:92:
unknown:*:99:

Code:
cat passwd

Code:
nobody:*:-2:-2:Unprivileged User:/:/usr/bin/false
root:*:0:0:System Administrator:/var/root:/bin/sh
daemon:*:1:1:System Services:/var/root:/usr/bin/false
lp:*:26:26:Printing Services:/var/spool/cups:/usr/bin/false
postfix:*:27:27:Postfix User:/var/spool/postfix:/usr/bin/false
www:*:70:70:World Wide Web Server:/Library/WebServer:/usr/bin/false
eppc:*:71:71:Apple Events User:/var/empty:/usr/bin/false
mysql:*:74:74:MySQL Server:/var/empty:/usr/bin/false
sshd:*:75:75:sshd Privilege separation:/var/empty:/usr/bin/false
qtss:*:76:76:QuickTime Streaming Server:/var/empty:/usr/bin/false
cyrusimap:*:77:6:Cyrus IMAP User:/var/imap:/usr/bin/false
mailman:*:78:78:Mailman user:/var/empty:/usr/bin/false
appserver:*:79:79:Application Server:/var/empty:/usr/bin/false
clamav:*:82:82:Clamav User:/var/virusmails:/bin/tcsh
amavisd:*:83:83:Amavisd User:/var/virusmails:/bin/tcsh
jabber:*:84:84:Jabber User:/var/empty:/usr/bin/false
xgridcontroller:*:85:85:Xgrid Controller:/var/xgrid/controller:/usr/bin/false
xgridagent:*:86:86:Xgrid Agent:/var/xgrid/agent:/usr/bin/false
appowner:*:87:87:Application Owner:/var/empty:/usr/bin/false
windowserver:*:88:88:WindowServer:/var/empty:/usr/bin/false
tokend:*:91:91:Token Daemon:/var/empty:/usr/bin/false
securityagent:*:92:92:SecurityAgent:/var/empty:/usr/bin/false
unknown:*:99:99:Unknown User:/var/empty:/usr/bin/false

Are there have some other place to edit the login user list ?
Back to top
View user's profile Send private message
SinoTech
Advocate
Advocate


Joined: 20 Mar 2004
Posts: 2579
Location: Neunkirchen / Saarland / Germany

PostPosted: Sat Feb 25, 2006 11:31 am    Post subject: Reply with quote

Sorry, but don't know other places to edit :(.
Regards,

Sino
Back to top
View user's profile Send private message
stellit
n00b
n00b


Joined: 18 Jun 2005
Posts: 44

PostPosted: Sat Feb 25, 2006 11:42 am    Post subject: Reply with quote

hmm... thanks anyway~
a little question~
how to search file contents under command line ? Maybe we can use this way to find the portage. :oops: :oops:
Back to top
View user's profile Send private message
SinoTech
Advocate
Advocate


Joined: 20 Mar 2004
Posts: 2579
Location: Neunkirchen / Saarland / Germany

PostPosted: Sat Feb 25, 2006 12:51 pm    Post subject: Reply with quote

stellit wrote:
hmm... thanks anyway~
a little question~
how to search file contents under command line ? Maybe we can use this way to find the portage. :oops: :oops:

"find" and "grep" are nice tools you can use for such purpose:
Code:

$ find / -type f -exec grep -H portage {} \;

find - Tool to search files, ...
"/" - Tells the find commando to start its search at the root directory
-type f - Tells find to only search for regular files (Directories, block devices (under "/dev"), ... are omitted)
-exec grep ... - Tells find to execute "grep" on each found file.

Regards,

Sino
Back to top
View user's profile Send private message
stellit
n00b
n00b


Joined: 18 Jun 2005
Posts: 44

PostPosted: Sun Feb 26, 2006 4:00 pm    Post subject: Reply with quote

:cry: still have no result, any developer knows how to solve this ?
Back to top
View user's profile Send private message
fik
n00b
n00b


Joined: 27 Feb 2006
Posts: 13

PostPosted: Mon Feb 27, 2006 2:20 pm    Post subject: How to Delete User "portage" from login screen ? Reply with quote

You should run NetInfo Manager, which is in Applications/Utilities folder and from there remove group portage and user portage.
Back to top
View user's profile Send private message
Display posts from previous:   
This topic is locked: you cannot edit posts or make replies.    Gentoo Forums Forum Index Gentoo for Mac OS X (Portage for Mac OS X) 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