Seagate ST150176LC Instrukcja Użytkownika Strona 12

  • Pobierz
  • Dodaj do moich podręczników
  • Drukuj
  • Strona
    / 19
  • Spis treści
  • BOOKMARKI
  • Oceniono. / 5. Na podstawie oceny klientów
Przeglądanie stron 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
Przeglądanie stron 11
1 2 ... 7 8 9 10 11 12 13 14 15 16 17 18 19

Komentarze do niniejszej Instrukcji

Brak uwag