Seagate ST150176LC Manual do Utilizador Página 12

  • Descarregar
  • Adicionar aos meus manuais
  • Imprimir
  • Página
    / 19
  • Índice
  • MARCADORES
  • Avaliado. / 5. Com base em avaliações de clientes
Vista de página 11
epic4 Configuration and Administration Guide
An alternative way of discovering a Starlink user’s UID and GID is to run this short Perl
program on any of the Starlink systems:
#!/usr/bin/perl
#
# Returns users' uid and gid numbers
# Liam, June 1999
($name,$passwd,$uid,$gid,$quota,$comment,$gcos,$dir,$shell) = getpwnam($ARGV[0]);
print "User $ARGV[0] ($comment):\n";
print "uid = $uid\n";
print "gid = $gid\n";
Save this as an executable called getuid and run with a username as an argument:
> getuid ljg
User ljg (Liam Gretton):
uid = 317
gid = 333
User login process
All users have tcsh as their login shell. When a user logs in, the contents of the following files
are executed in order:
/etc/csh.cshrc
/etc/csh.login
~/.cshrc
~/.login
Therefore, common environment variables and setup scripts are generally initialised in
/etc/csh.cshrc (the login files I haven’t altered from the standard install).
12
Vista de página 11
1 2 ... 7 8 9 10 11 12 13 14 15 16 17 18 19

Comentários a estes Manuais

Sem comentários