Zone

download Zone

of 1

description

zone

Transcript of Zone

  • Max uid/gid = 2Billion how evertry not exceed 60,000

    Unix epoch was born Jan,1970 (passwd change)

    Always root gid is "0" it is default.

    how to view the current shell?

    grep unixcbt /etc/passwdunixcbt:x:100:1:/export/home/unixcbt:/bin/sh

    how to find the shell path?echo SHELL?

    how to find a particular name for particular user?groups "user name"

    what is default group name?other

    how to find user primaray and secondary groups?id - it says primary groupgroups - it says user primary and secondary groups.

    How to create new user and assign the user to the 'training' secondary groups?useradd -G training -s /user/sbin/bash unixcbt2