#!/bin/bash
case $1 in
( list-users )
reset
echo “Listing users…..
”
cat /etc/passwd |cut -d ‘:’ -f1
;;
( list-valid-users )
reset
echo “Listing valid users for god >:)”
cat test|grep -w “/bin/sh”$|cut -f1 -d’:’
cat test|grep -w “/bin/bash”$|cut -f1 -d’:’
;;
( get-user-home )
reset
echo “Listing the users home…and username”
echo “home directori for:” $2
cat /etc/passwd|grep $2|cut -f6 -d’:’
;;
( * )
reset
echo “Utilizati una din urmatoarele comenzi…”
echo “list-users | list-valid-users | get-user-home <nume utilizator>”
;;
esac
Berlo: hey
Vuko: scuze
Vuko: sal
Berlo: stii cumva dak softurile care iti monitorizeaza temperatura procesorului etc pot sa greseasca?
Vuko: da
Berlo: aha si cum imi dau seama in afara sa pun mana pe procesor ?:))
Vuko:
)
Vuko: pai la cate grade iti sta
Continue reading ‘Badea Ion taranul tehnologic’
Your script should be in /etc/init.d/ directory.
Then you have to make a symlink from your run-level directory.
I.e you’re in run-level 5 (multiuser with X)
chmod +x
cp /etc/init.d
ln -s /etc/init.d/ /etc/rc.d/rc5.d/S50
ln -s /etc/init.d/ /etc/rc.d/rc5.d/K50
hmmm trebuia sa instalez pe 23 de systeme windows/ubuntu
, sa instalez pe fiecare in parte nici nu intra in vorba puteam sa instalez pe un sistem si sa fac clona cu norton si sa arunc clona pe fiecare sistem in parte si era ok sau prin retea sa butez clona…..sau cum avem ubuntu server cu ldap si samba m-am hotarat sa fac prin network boot
http://wiki.koeln.ccc.de/index.php/Ubuntu_PXE_Install
Imi place
ce sa spun linux on mobile si mai ales ubuntu mobile
Assumed that “eth0″ is the interface for network card
IP Address 10.0.0.1
Range: 10.0.0.1 to 10.0.0.30
Subnet Mask: 255.255.255.224
DNS Servers: 193.226.98.1, 193.226.98.2
Domains:r2d2.dositei.ro
Gateway Address: 10.0.0.1
Continue reading ‘How to install DHCP on Ubuntu/Debian’
#
# deb cdrom:[Ubuntu-Server 7.10 _Gutsy Gibbon_ - Release i386 (20071016)]/ gutsy main restricted
#deb cdrom:[Ubuntu-Server 7.10 _Gutsy Gibbon_ - Release i386 (20071016)]/ gutsy main restricted
# See http://help.ubuntu.com/community/UpgradeNotes for how to upgrade to
# newer versions of the distribution.
Continue reading ‘nano /etc/apt/sources.list’