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

Annotation of /nfo/bash/sue

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.1 - (hide annotations)
Sun Nov 7 03:22:06 2004 UTC (19 years, 5 months ago) by joko
Branch: MAIN
CVS Tags: HEAD
+ initial commit

1 joko 1.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