[SM-Discuss] bash_profile and bashrc . . .

Seth Alan Woolley seth at positivism.org
Sat Mar 19 11:07:07 EST 2005


They should for the sake of duplication, but the 'x' there pretty much 
means there's no way to authenticate to it unless you have the power to 
su without a password (as root or a setuid root program has).

Seth

On Sat, Mar 19, 2005 at 11:07:28AM +0100, Eric Schabell wrote:
> > /etc/profile.d shouldn't be picked up automatically by the root account, 
> > though, that is a good point.  I prefer my root account prompt to be 
> > totally different than user accounts, too, for example (more than just 
> > $/#).
> > 
> What about /etc/passwd:
> 
> daemon:x:1:1:daemon:/usr/sbin:/bin/sh
> bin:x:2:2:bin:/bin:/bin/sh
> sys:x:3:3:sys:/dev:/bin/sh
> games:x:5:100:games:/usr/games:/bin/sh
> man:x:6:100:man:/var/cache/man:/bin/sh
> lp:x:7:7:lp:/var/spool/lpd:/bin/sh
> mail:x:8:8:mail:/var/spool/mail:/bin/sh
> news:x:9:9:news:/var/spool/news:/bin/sh
> uucp:x:10:10:uucp:/var/spool/uucp:/bin/sh
> proxy:x:13:13:proxy:/bin:/bin/sh
> majordom:x:30:31:Majordomo:/usr/lib/majordomo:/bin/sh
> www-data:x:33:33:www-data:/var/www:/bin/sh
> backup:x:34:34:backup:/var/backups:/bin/sh
> operator:x:37:37:Operator:/var:/bin/sh
> list:x:38:38:SmartList:/var/list:/bin/sh
> irc:x:39:39:ircd:/var:/bin/sh
> gnats:x:41:41:Gnats Bug-Reporting System (admin):/var/lib/gnats/gnats-db:/bin/sh
> 
> Shouldn't most of these by /bin/false as login?
> 
> erics



> _______________________________________________
> SM-Discuss mailing list
> SM-Discuss at lists.ibiblio.org
> http://lists.ibiblio.org/mailman/listinfo/sm-discuss


-- 
Seth Alan Woolley [seth at positivism.org], SPAM/UCE is unauthorized
Key id 00BA3AF3 = 8BE0 A72E A47E A92A 0737  F2FF 7A3F 6D3C 00BA 3AF3
http://smgl.positivism.org:11371/pks/lookup?op=get&search=0x00BA3AF3
Security Team Leader Source Mage GNU/Linux http://www.sourcemage.org
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
Url : http://lists.ibiblio.org/pipermail/sm-discuss/attachments/20050319/480198ac/attachment.bin 


More information about the SM-Discuss mailing list