On Thu, 1 Aug 2002, Mujeeb Rahman wrote:

> What is the use of operator:x:11:0:operator:/root:/bin/bash
> I seened somebody accessing my server using this account.
> Operator is also under root group. What can I do. If delete this user any 
> problem ?

operator would normally be a pseudo user (is that the right word?).  
someone who can own files and processes, but not someone who logs in.  
It is similar to the user nobody (or apache).  When a daemon starts, it 
would setuid to one of these alternate users to run in a safer 
environment.

> Can I change /etc/passwd file contents to
> 
> bin:x:1:1:bin:/bin: > bin:x:1:1:bin:/bin: /bin/nologin
> daemon:x:2:2:daemon:/sbin: > daemon:x:2:2:daemon:/sbin: /bin/nologin
> adm:x:3:4:adm:/var/adm: > adm:x:3:4:adm:/var/adm: /bin/nologin
> lp:x:4:7:lp:/var/spool/lpd: > lp:x:4:7:lp:/var/spool/lpd: /bin/nologin
> mail:x:8:12:mail:/var/spool/mail: > mail:x:8:12:mail:/var/spool/mail: 
> /bin/nologin

what's the point?

these people can't login anyway because their logins are disabled 
through /etc/shadow (* in the password field).

the only way to become such a user is to su from root.  if you set the 
shell to /bin/nologin, even that won't be possible.

> if adding /bin/nologin what is the advantage. ?
> I think hacker cannot login using this account ? Right ?

do you have an account called hacker?  this person (Mr. Hacker?) would 
presumably login with his own login name (hacker) and password (whatever 
he set it to).  Or whatever else account you gave to him.

Philip

-- 
Witch!  Witch!  They'll burn ya!
                -- Hag, "Tomorrow is Yesterday", stardate unknown




-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf
_______________________________________________
linux-india-help mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/linux-india-help

Reply via email to