/[cvs]/nfo/bash/sue
ViewVC logotype

Contents of /nfo/bash/sue

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.1 - (show annotations)
Sun Nov 7 03:22:06 2004 UTC (20 years, 1 month ago) by joko
Branch: MAIN
CVS Tags: HEAD
+ initial commit

1 #!/bin/sh
2
3 user=$1
4
5 if test -z $user; then
6 exit;
7 fi
8
9 tty=`tty`
10
11 # change ownership of tty-device
12 chown $user $tty
13
14 # do normal user switch
15 su $user
16

MailToCvsAdmin">MailToCvsAdmin
ViewVC Help
Powered by ViewVC 1.1.26 RSS 2.0 feed